1# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 2%YAML 1.2 3--- 4 5$id: http://devicetree.org/schemas/hwmon/ti,ads7828.yaml# 6$schema: http://devicetree.org/meta-schemas/core.yaml# 7 8title: Texas Instruments ADS7828/ADS7830 Analog to Digital Converter (ADC) 9 10maintainers: 11 - Krzysztof Kozlowski <krzk@kernel.org> 12 13description: | 14 The ADS7828 is 12-Bit, 8-Channel Sampling Analog to Digital Converter (ADC) 15 with an I2C interface. 16 17 Datasheets: 18 https://www.ti.com/product/ADS7828 19 20properties: 21 compatible: 22 enum: 23 - ti,ads7828 24 - ti,ads7830 25 26 reg: 27 maxItems: 1 28 29 ti,differential-input: 30 description: 31 Set to use the device in differential mode. 32 type: boolean 33 34 vref-supply: 35 description: 36 The regulator to use as an external reference. If it does not exists the 37 internal reference will be used. 38 39required: 40 - compatible 41 - reg 42 43additionalProperties: false 44 45examples: 46 - | 47 i2c { 48 #address-cells = <1>; 49 #size-cells = <0>; 50 51 adc@48 { 52 compatible = "ti,ads7828"; 53 reg = <0x48>; 54 vref-supply = <&vref>; 55 ti,differential-input; 56 }; 57 }; 58