brintos

brintos / linux-shallow public Read only

0
0
Text · 1.6 KiB · e4b5d89 Raw
69 lines · yaml
1# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)2%YAML 1.23---4$id: http://devicetree.org/schemas/iio/potentiostat/ti,lmp91000.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: Texas Instruments LMP91000 series of potentiostats with I2C control8 9maintainers:10  - Matt Ranostay <matt.ranostay@konsulko.com>11 12description: |13  Typically used as a signal conditioner for chemical sensors.14  LMP91000: https://www.ti.com/lit/ds/symlink/lmp91000.pdf15  LMP91002: https://www.ti.com/lit/ds/symlink/lmp91002.pdf16 17properties:18  compatible:19    enum:20      - ti,lmp9100021      - ti,lmp9100222 23  reg:24    maxItems: 125 26  io-channels:27    maxItems: 128 29  ti,external-tia-resistor:30    $ref: /schemas/types.yaml#/definitions/flag31    description:32      If the property ti,tia-gain-ohm is not defined this needs to be set to33      signal that an external resistor value is being used.34 35  ti,tia-gain-ohm:36    $ref: /schemas/types.yaml#/definitions/uint3237    enum: [2750, 3500, 7000, 14000, 35000, 120000, 350000]38    description:39      Internal resistor for the transimpedance amplifier.40 41  ti,rload-ohm:42    $ref: /schemas/types.yaml#/definitions/uint3243    enum: [10, 33, 50, 100]44    description:45      Internal resistor load applied to the gas sensor.46      Default 100 Ohms.47 48required:49  - compatible50  - reg51  - io-channels52 53additionalProperties: false54 55examples:56  - |57    i2c {58        #address-cells = <1>;59        #size-cells = <0>;60        lmp91000@48 {61            compatible = "ti,lmp91000";62            reg = <0x48>;63            ti,tia-gain-ohm = <7000>;64            ti,rload-ohm = <100>;65            io-channels = <&adc>;66        };67    };68...69