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,adc0832.yaml# 5 $schema: http://devicetree.org/meta-schemas/co 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 6 6 7 title: Texas Instruments ADC0832 and similar A 7 title: Texas Instruments ADC0832 and similar ADCs 8 8 9 maintainers: 9 maintainers: 10 - Akinobu Mita <akinobu.mita@gmail.com> 10 - Akinobu Mita <akinobu.mita@gmail.com> 11 11 12 description: | 12 description: | 13 8 bit ADCs with 1, 2, 4 or 8 inputs for sing 13 8 bit ADCs with 1, 2, 4 or 8 inputs for single ended or differential 14 conversion. 14 conversion. 15 15 16 properties: 16 properties: 17 compatible: 17 compatible: 18 enum: 18 enum: 19 - ti,adc0831 19 - ti,adc0831 20 - ti,adc0832 20 - ti,adc0832 21 - ti,adc0834 21 - ti,adc0834 22 - ti,adc0838 22 - ti,adc0838 23 23 24 reg: 24 reg: 25 maxItems: 1 25 maxItems: 1 26 26 27 vref-supply: 27 vref-supply: 28 description: External reference, needed to 28 description: External reference, needed to establish input scaling 29 29 30 "#io-channel-cells": 30 "#io-channel-cells": 31 const: 1 31 const: 1 32 32 33 required: 33 required: 34 - compatible 34 - compatible 35 - reg 35 - reg 36 - vref-supply 36 - vref-supply 37 37 38 allOf: 38 allOf: 39 - $ref: /schemas/spi/spi-peripheral-props.ya 39 - $ref: /schemas/spi/spi-peripheral-props.yaml# 40 40 41 unevaluatedProperties: false 41 unevaluatedProperties: false 42 42 43 examples: 43 examples: 44 - | 44 - | 45 spi { 45 spi { 46 #address-cells = <1>; 46 #address-cells = <1>; 47 #size-cells = <0>; 47 #size-cells = <0>; 48 48 49 adc@0 { 49 adc@0 { 50 compatible = "ti,adc0832"; 50 compatible = "ti,adc0832"; 51 reg = <0>; 51 reg = <0>; 52 vref-supply = <&vdd_supply>; 52 vref-supply = <&vdd_supply>; 53 spi-max-frequency = <200000>; 53 spi-max-frequency = <200000>; 54 #io-channel-cells = <1>; 54 #io-channel-cells = <1>; 55 }; 55 }; 56 }; 56 }; 57 ... 57 ...
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.