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,tlc4541.yaml# 5 $schema: http://devicetree.org/meta-schemas/co 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 6 6 7 title: Texas Instruments TLC4541 and similar A 7 title: Texas Instruments TLC4541 and similar ADCs 8 8 9 maintainers: 9 maintainers: 10 - Phil Reid <preid@electromag.com.au> 10 - Phil Reid <preid@electromag.com.au> 11 11 12 description: | 12 description: | 13 14/16bit single channel ADC with SPI interfa 13 14/16bit single channel ADC with SPI interface. 14 14 15 properties: 15 properties: 16 compatible: 16 compatible: 17 enum: 17 enum: 18 - ti,tlc3541 18 - ti,tlc3541 19 - ti,tlc4541 19 - ti,tlc4541 20 20 21 reg: 21 reg: 22 maxItems: 1 22 maxItems: 1 23 23 24 vref-supply: true 24 vref-supply: true 25 25 26 "#io-channel-cells": 26 "#io-channel-cells": 27 const: 1 27 const: 1 28 28 29 required: 29 required: 30 - compatible 30 - compatible 31 - reg 31 - reg 32 - vref-supply 32 - vref-supply 33 33 34 allOf: 34 allOf: 35 - $ref: /schemas/spi/spi-peripheral-props.ya 35 - $ref: /schemas/spi/spi-peripheral-props.yaml# 36 36 37 unevaluatedProperties: false 37 unevaluatedProperties: false 38 38 39 examples: 39 examples: 40 - | 40 - | 41 spi { 41 spi { 42 #address-cells = <1>; 42 #address-cells = <1>; 43 #size-cells = <0>; 43 #size-cells = <0>; 44 44 45 adc@0 { 45 adc@0 { 46 compatible = "ti,tlc4541"; 46 compatible = "ti,tlc4541"; 47 reg = <0>; 47 reg = <0>; 48 vref-supply = <&vdd_supply>; 48 vref-supply = <&vdd_supply>; 49 spi-max-frequency = <200000>; 49 spi-max-frequency = <200000>; 50 #io-channel-cells = <1>; 50 #io-channel-cells = <1>; 51 }; 51 }; 52 }; 52 }; 53 ... 53 ...
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.