1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-C 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 2 %YAML 1.2 2 %YAML 1.2 3 --- 3 --- 4 $id: http://devicetree.org/schemas/iio/adc/ti, 4 $id: http://devicetree.org/schemas/iio/adc/ti,ads8688.yaml# 5 $schema: http://devicetree.org/meta-schemas/co 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 6 6 7 title: Texas Instruments' ADS8684 and ADS8688 7 title: Texas Instruments' ADS8684 and ADS8688 ADC chip 8 8 9 maintainers: 9 maintainers: 10 - Sean Nyekjaer <sean@geanix.com> 10 - Sean Nyekjaer <sean@geanix.com> 11 11 12 description: | 12 description: | 13 SPI 16bit ADCs with 4/8 channels. 13 SPI 16bit ADCs with 4/8 channels. 14 14 15 properties: 15 properties: 16 compatible: 16 compatible: 17 enum: 17 enum: 18 - ti,ads8684 18 - ti,ads8684 19 - ti,ads8688 19 - ti,ads8688 20 20 21 reg: 21 reg: 22 maxItems: 1 22 maxItems: 1 23 23 24 vref-supply: 24 vref-supply: 25 description: Optional external reference. 25 description: Optional external reference. If not supplied, assume 26 REFSEL input tied low to enable the inte 26 REFSEL input tied low to enable the internal reference. 27 27 28 required: 28 required: 29 - compatible 29 - compatible 30 - reg 30 - reg 31 31 32 allOf: 32 allOf: 33 - $ref: /schemas/spi/spi-peripheral-props.ya 33 - $ref: /schemas/spi/spi-peripheral-props.yaml# 34 34 35 unevaluatedProperties: false 35 unevaluatedProperties: false 36 36 37 examples: 37 examples: 38 - | 38 - | 39 spi { 39 spi { 40 #address-cells = <1>; 40 #address-cells = <1>; 41 #size-cells = <0>; 41 #size-cells = <0>; 42 42 43 adc@0 { 43 adc@0 { 44 compatible = "ti,ads8688"; 44 compatible = "ti,ads8688"; 45 reg = <0>; 45 reg = <0>; 46 vref-supply = <&vdd_supply>; 46 vref-supply = <&vdd_supply>; 47 spi-max-frequency = <1000000>; 47 spi-max-frequency = <1000000>; 48 }; 48 }; 49 }; 49 }; 50 ... 50 ...
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.