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,adc081c.yaml# 5 $schema: http://devicetree.org/meta-schemas/co 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 6 6 7 title: TI Single-channel I2C ADCs 7 title: TI Single-channel I2C ADCs 8 8 9 maintainers: 9 maintainers: 10 - Jonathan Cameron <jic23@kernel.org> 10 - Jonathan Cameron <jic23@kernel.org> 11 - Lars-Peter Clausen <lars@metafoo.de> 11 - Lars-Peter Clausen <lars@metafoo.de> 12 12 13 description: | 13 description: | 14 Single-channel ADC supporting 8, 10, or 12-b 14 Single-channel ADC supporting 8, 10, or 12-bit samples and high/low alerts. 15 15 16 properties: 16 properties: 17 compatible: 17 compatible: 18 enum: 18 enum: 19 - ti,adc081c 19 - ti,adc081c 20 - ti,adc101c 20 - ti,adc101c 21 - ti,adc121c 21 - ti,adc121c 22 22 23 reg: 23 reg: 24 maxItems: 1 24 maxItems: 1 25 25 26 interrupts: 26 interrupts: 27 maxItems: 1 27 maxItems: 1 28 28 29 vref-supply: 29 vref-supply: 30 description: 30 description: 31 Regulator for the combined power supply 31 Regulator for the combined power supply and voltage reference 32 32 33 "#io-channel-cells": 33 "#io-channel-cells": 34 const: 1 34 const: 1 35 35 36 required: 36 required: 37 - compatible 37 - compatible 38 - reg 38 - reg 39 - vref-supply 39 - vref-supply 40 40 41 additionalProperties: false 41 additionalProperties: false 42 42 43 examples: 43 examples: 44 - | 44 - | 45 i2c { 45 i2c { 46 #address-cells = <1>; 46 #address-cells = <1>; 47 #size-cells = <0>; 47 #size-cells = <0>; 48 48 49 adc@52 { 49 adc@52 { 50 compatible = "ti,adc081c"; 50 compatible = "ti,adc081c"; 51 reg = <0x52>; 51 reg = <0x52>; 52 vref-supply = <®_2p5v>; 52 vref-supply = <®_2p5v>; 53 }; 53 }; 54 }; 54 }; 55 ... 55 ...
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.