58 lines · yaml
1# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)2%YAML 1.23---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/ADS782819 20properties:21 compatible:22 enum:23 - ti,ads782824 - ti,ads783025 26 reg:27 maxItems: 128 29 ti,differential-input:30 description:31 Set to use the device in differential mode.32 type: boolean33 34 vref-supply:35 description:36 The regulator to use as an external reference. If it does not exists the37 internal reference will be used.38 39required:40 - compatible41 - reg42 43additionalProperties: false44 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