xref: /freebsd/sys/contrib/device-tree/Bindings/iio/adc/ti,ads8344.yaml (revision 7ef62cebc2f965b0f640263e179276928885e33d)
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,ads8344.yaml#
56be33864SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
66be33864SEmmanuel Vadot
76be33864SEmmanuel Vadottitle: Texas Instruments ADS8344 ADC
86be33864SEmmanuel Vadot
96be33864SEmmanuel Vadotmaintainers:
106be33864SEmmanuel Vadot  - Gregory Clement <gregory.clement@bootlin.com>
116be33864SEmmanuel Vadot
126be33864SEmmanuel Vadotdescription: |
136be33864SEmmanuel Vadot  16bit 8-channel ADC with single ended inputs.
146be33864SEmmanuel Vadot
156be33864SEmmanuel Vadotproperties:
166be33864SEmmanuel Vadot  compatible:
176be33864SEmmanuel Vadot    const: ti,ads8344
186be33864SEmmanuel Vadot
196be33864SEmmanuel Vadot  reg:
206be33864SEmmanuel Vadot    maxItems: 1
216be33864SEmmanuel Vadot
226be33864SEmmanuel Vadot  vref-supply:
236be33864SEmmanuel Vadot    description: Supply the 2.5V or 5V reference voltage
246be33864SEmmanuel Vadot
256be33864SEmmanuel Vadot  "#io-channel-cells":
266be33864SEmmanuel Vadot    const: 1
276be33864SEmmanuel Vadot
286be33864SEmmanuel Vadotrequired:
296be33864SEmmanuel Vadot  - compatible
306be33864SEmmanuel Vadot  - reg
316be33864SEmmanuel Vadot  - vref-supply
326be33864SEmmanuel Vadot
33*7ef62cebSEmmanuel VadotallOf:
34*7ef62cebSEmmanuel Vadot  - $ref: /schemas/spi/spi-peripheral-props.yaml#
35*7ef62cebSEmmanuel Vadot
36*7ef62cebSEmmanuel VadotunevaluatedProperties: false
376be33864SEmmanuel Vadot
386be33864SEmmanuel Vadotexamples:
396be33864SEmmanuel Vadot  - |
406be33864SEmmanuel Vadot    spi {
416be33864SEmmanuel Vadot        #address-cells = <1>;
426be33864SEmmanuel Vadot        #size-cells = <0>;
436be33864SEmmanuel Vadot
446be33864SEmmanuel Vadot        adc@0 {
456be33864SEmmanuel Vadot            compatible = "ti,ads8344";
466be33864SEmmanuel Vadot            reg = <0>;
476be33864SEmmanuel Vadot            vref-supply = <&refin_supply>;
486be33864SEmmanuel Vadot            spi-max-frequency = <10000000>;
496be33864SEmmanuel Vadot            #io-channel-cells = <1>;
506be33864SEmmanuel Vadot        };
516be33864SEmmanuel Vadot    };
526be33864SEmmanuel Vadot...
53