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,ads8344.yaml# 5 $schema: http://devicetree.org/meta-schemas/co 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 6 6 7 title: Texas Instruments ADS8344 ADC 7 title: Texas Instruments ADS8344 ADC 8 8 9 maintainers: 9 maintainers: 10 - Gregory Clement <gregory.clement@bootlin.co 10 - Gregory Clement <gregory.clement@bootlin.com> 11 11 12 description: | 12 description: | 13 16bit 8-channel ADC with single ended inputs 13 16bit 8-channel ADC with single ended inputs. 14 14 15 properties: 15 properties: 16 compatible: 16 compatible: 17 const: ti,ads8344 17 const: ti,ads8344 18 18 19 reg: 19 reg: 20 maxItems: 1 20 maxItems: 1 21 21 22 vref-supply: 22 vref-supply: 23 description: Supply the 2.5V or 5V referen 23 description: Supply the 2.5V or 5V reference voltage 24 24 25 "#io-channel-cells": 25 "#io-channel-cells": 26 const: 1 26 const: 1 27 27 28 required: 28 required: 29 - compatible 29 - compatible 30 - reg 30 - reg 31 - vref-supply 31 - vref-supply 32 32 33 allOf: 33 allOf: 34 - $ref: /schemas/spi/spi-peripheral-props.ya 34 - $ref: /schemas/spi/spi-peripheral-props.yaml# 35 35 36 unevaluatedProperties: false 36 unevaluatedProperties: false 37 37 38 examples: 38 examples: 39 - | 39 - | 40 spi { 40 spi { 41 #address-cells = <1>; 41 #address-cells = <1>; 42 #size-cells = <0>; 42 #size-cells = <0>; 43 43 44 adc@0 { 44 adc@0 { 45 compatible = "ti,ads8344"; 45 compatible = "ti,ads8344"; 46 reg = <0>; 46 reg = <0>; 47 vref-supply = <&refin_supply>; 47 vref-supply = <&refin_supply>; 48 spi-max-frequency = <10000000>; 48 spi-max-frequency = <10000000>; 49 #io-channel-cells = <1>; 49 #io-channel-cells = <1>; 50 }; 50 }; 51 }; 51 }; 52 ... 52 ...
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.