Lines Matching +full:diff +full:- +full:channels
1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - João Paulo Gonçalves <jpaulo.silvagoncalves@gmail.com>
13 The TI ADS1119 is a precision 16-bit ADC over I2C that offers single-ended and
28 reset-gpios:
31 avdd-supply: true
32 dvdd-supply: true
34 vref-supply:
38 "#address-cells":
41 "#size-cells":
44 "#io-channel-cells":
48 - compatible
49 - reg
50 - "#address-cells"
51 - "#size-cells"
52 - avdd-supply
53 - dvdd-supply
56 "^channel@([0-6])$":
64 diff-channels:
66 Differential input channels AIN0-AIN1, AIN2-AIN3 and AIN1-AIN2.
68 - items:
69 - const: 0
70 - const: 1
71 - items:
72 - const: 2
73 - const: 3
74 - items:
75 - const: 1
76 - const: 2
78 single-channel:
80 Single-ended input channels AIN0, AIN1, AIN2 and AIN3.
85 - required:
86 - diff-channels
87 - required:
88 - single-channel
91 - reg
98 - |
100 #include <dt-bindings/gpio/gpio.h>
101 #include <dt-bindings/interrupt-controller/irq.h>
104 #address-cells = <1>;
105 #size-cells = <0>;
110 interrupt-parent = <&gpio1>;
112 reset-gpios = <&gpio1 10 GPIO_ACTIVE_LOW>;
113 avdd-supply = <®_avdd_ads1119>;
114 dvdd-supply = <®_dvdd_ads1119>;
115 vref-supply = <®_vref_ads1119>;
116 #address-cells = <1>;
117 #size-cells = <0>;
118 #io-channel-cells = <1>;
122 single-channel = <0>;
127 diff-channels = <0 1>;
132 single-channel = <3>;
137 single-channel = <1>;
142 single-channel = <2>;
147 diff-channels = <1 2>;
152 diff-channels = <2 3>;