xref: /freebsd/sys/contrib/device-tree/Bindings/iio/adc/ti,adc108s102.yaml (revision f126890ac5386406dadf7c4cfa9566cbb56537c5)
16be33864SEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
26be33864SEmmanuel Vadot%YAML 1.2
36be33864SEmmanuel Vadot---
46be33864SEmmanuel Vadot$id: http://devicetree.org/schemas/iio/adc/ti,adc108s102.yaml#
56be33864SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
66be33864SEmmanuel Vadot
76be33864SEmmanuel Vadottitle: Texas Instruments ADC108S102 and ADC128S102
86be33864SEmmanuel Vadot
96be33864SEmmanuel Vadotmaintainers:
10b97ee269SEmmanuel Vadot  - Jonathan Cameron <jic23@kernel.org>
116be33864SEmmanuel Vadot
126be33864SEmmanuel Vadotdescription: |
136be33864SEmmanuel Vadot  Family of 8 channel, 10/12 bit, SPI, single ended ADCs.
146be33864SEmmanuel Vadot
156be33864SEmmanuel Vadotproperties:
166be33864SEmmanuel Vadot  compatible:
176be33864SEmmanuel Vadot    const:
186be33864SEmmanuel Vadot      ti,adc108s102
196be33864SEmmanuel Vadot
206be33864SEmmanuel Vadot  reg: true
216be33864SEmmanuel Vadot  vref-supply: true
226be33864SEmmanuel Vadot  "#io-channel-cells":
236be33864SEmmanuel Vadot    const: 1
246be33864SEmmanuel Vadot
256be33864SEmmanuel Vadotrequired:
266be33864SEmmanuel Vadot  - compatible
276be33864SEmmanuel Vadot  - reg
286be33864SEmmanuel Vadot  - vref-supply
296be33864SEmmanuel Vadot
30*7ef62cebSEmmanuel VadotallOf:
31*7ef62cebSEmmanuel Vadot  - $ref: /schemas/spi/spi-peripheral-props.yaml#
32*7ef62cebSEmmanuel Vadot
33*7ef62cebSEmmanuel VadotunevaluatedProperties: false
346be33864SEmmanuel Vadot
356be33864SEmmanuel Vadotexamples:
366be33864SEmmanuel Vadot  - |
376be33864SEmmanuel Vadot    spi {
386be33864SEmmanuel Vadot        #address-cells = <1>;
396be33864SEmmanuel Vadot        #size-cells = <0>;
406be33864SEmmanuel Vadot
416be33864SEmmanuel Vadot        adc@0 {
426be33864SEmmanuel Vadot            compatible = "ti,adc108s102";
436be33864SEmmanuel Vadot            reg = <0>;
446be33864SEmmanuel Vadot            vref-supply = <&vdd_supply>;
456be33864SEmmanuel Vadot            spi-max-frequency = <1000000>;
466be33864SEmmanuel Vadot            #io-channel-cells = <1>;
476be33864SEmmanuel Vadot        };
486be33864SEmmanuel Vadot    };
496be33864SEmmanuel Vadot...
50