15def4c47SEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 25def4c47SEmmanuel Vadot%YAML 1.2 35def4c47SEmmanuel Vadot--- 45def4c47SEmmanuel Vadot 55def4c47SEmmanuel Vadot$id: http://devicetree.org/schemas/hwmon/ti,ads7828.yaml# 65def4c47SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml# 75def4c47SEmmanuel Vadot 85def4c47SEmmanuel Vadottitle: Texas Instruments ADS7828/ADS7830 Analog to Digital Converter (ADC) 95def4c47SEmmanuel Vadot 105def4c47SEmmanuel Vadotmaintainers: 115def4c47SEmmanuel Vadot - Krzysztof Kozlowski <krzk@kernel.org> 125def4c47SEmmanuel Vadot 135def4c47SEmmanuel Vadotdescription: | 145def4c47SEmmanuel Vadot The ADS7828 is 12-Bit, 8-Channel Sampling Analog to Digital Converter (ADC) 155def4c47SEmmanuel Vadot with an I2C interface. 165def4c47SEmmanuel Vadot 175def4c47SEmmanuel Vadot Datasheets: 185def4c47SEmmanuel Vadot https://www.ti.com/product/ADS7828 195def4c47SEmmanuel Vadot 205def4c47SEmmanuel Vadotproperties: 215def4c47SEmmanuel Vadot compatible: 225def4c47SEmmanuel Vadot enum: 235def4c47SEmmanuel Vadot - ti,ads7828 245def4c47SEmmanuel Vadot - ti,ads7830 255def4c47SEmmanuel Vadot 265def4c47SEmmanuel Vadot reg: 275def4c47SEmmanuel Vadot maxItems: 1 285def4c47SEmmanuel Vadot 295def4c47SEmmanuel Vadot ti,differential-input: 305def4c47SEmmanuel Vadot description: 315def4c47SEmmanuel Vadot Set to use the device in differential mode. 325def4c47SEmmanuel Vadot type: boolean 335def4c47SEmmanuel Vadot 345def4c47SEmmanuel Vadot vref-supply: 355def4c47SEmmanuel Vadot description: 365def4c47SEmmanuel Vadot The regulator to use as an external reference. If it does not exists the 375def4c47SEmmanuel Vadot internal reference will be used. 385def4c47SEmmanuel Vadot 395def4c47SEmmanuel Vadotrequired: 405def4c47SEmmanuel Vadot - compatible 415def4c47SEmmanuel Vadot - reg 425def4c47SEmmanuel Vadot 435def4c47SEmmanuel VadotadditionalProperties: false 445def4c47SEmmanuel Vadot 455def4c47SEmmanuel Vadotexamples: 465def4c47SEmmanuel Vadot - | 475def4c47SEmmanuel Vadot i2c { 485def4c47SEmmanuel Vadot #address-cells = <1>; 495def4c47SEmmanuel Vadot #size-cells = <0>; 505def4c47SEmmanuel Vadot 515def4c47SEmmanuel Vadot adc@48 { 52*2eb4d8dcSEmmanuel Vadot compatible = "ti,ads7828"; 535def4c47SEmmanuel Vadot reg = <0x48>; 545def4c47SEmmanuel Vadot vref-supply = <&vref>; 555def4c47SEmmanuel Vadot ti,differential-input; 565def4c47SEmmanuel Vadot }; 575def4c47SEmmanuel Vadot }; 58