xref: /freebsd/sys/contrib/device-tree/Bindings/iio/potentiostat/lmp91000.txt (revision c66ec88fed842fbaad62c30d510644ceb7bd2d71)
1*c66ec88fSEmmanuel Vadot* Texas Instruments LMP91000 series of potentiostats
2*c66ec88fSEmmanuel Vadot
3*c66ec88fSEmmanuel VadotLMP91000: https://www.ti.com/lit/ds/symlink/lmp91000.pdf
4*c66ec88fSEmmanuel VadotLMP91002: https://www.ti.com/lit/ds/symlink/lmp91002.pdf
5*c66ec88fSEmmanuel Vadot
6*c66ec88fSEmmanuel VadotRequired properties:
7*c66ec88fSEmmanuel Vadot
8*c66ec88fSEmmanuel Vadot  - compatible: should be one of the following:
9*c66ec88fSEmmanuel Vadot                 "ti,lmp91000"
10*c66ec88fSEmmanuel Vadot                 "ti,lmp91002"
11*c66ec88fSEmmanuel Vadot  - reg: the I2C address of the device
12*c66ec88fSEmmanuel Vadot  - io-channels: the phandle of the iio provider
13*c66ec88fSEmmanuel Vadot
14*c66ec88fSEmmanuel Vadot  - ti,external-tia-resistor: if the property ti,tia-gain-ohm is not defined this
15*c66ec88fSEmmanuel Vadot    needs to be set to signal that an external resistor value is being used.
16*c66ec88fSEmmanuel Vadot
17*c66ec88fSEmmanuel VadotOptional properties:
18*c66ec88fSEmmanuel Vadot
19*c66ec88fSEmmanuel Vadot  - ti,tia-gain-ohm: ohm value of the internal resistor for the transimpedance
20*c66ec88fSEmmanuel Vadot    amplifier. Must be 2750, 3500, 7000, 14000, 35000, 120000, or 350000 ohms.
21*c66ec88fSEmmanuel Vadot
22*c66ec88fSEmmanuel Vadot  - ti,rload-ohm: ohm value of the internal resistor load applied to the gas
23*c66ec88fSEmmanuel Vadot    sensor. Must be 10, 33, 50, or 100 (default) ohms.
24*c66ec88fSEmmanuel Vadot
25*c66ec88fSEmmanuel VadotExample:
26*c66ec88fSEmmanuel Vadot
27*c66ec88fSEmmanuel Vadotlmp91000@48 {
28*c66ec88fSEmmanuel Vadot	compatible = "ti,lmp91000";
29*c66ec88fSEmmanuel Vadot	reg = <0x48>;
30*c66ec88fSEmmanuel Vadot	ti,tia-gain-ohm = <7500>;
31*c66ec88fSEmmanuel Vadot	ti,rload = <100>;
32*c66ec88fSEmmanuel Vadot	io-channels = <&adc>;
33*c66ec88fSEmmanuel Vadot};
34