Lines Matching +full:gpio0 +full:- +full:adc +full:- +full:pin

1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/iio/adc/adi,ad7625.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Michael Hennerich <[email protected]>
11 - Nuno Sá <[email protected]>
24 - adi,ad7625
25 - adi,ad7626
26 - adi,ad7960
27 - adi,ad7961
29 vdd1-supply: true
30 vdd2-supply: true
31 vio-supply: true
33 ref-supply:
37 refin-supply:
48 - description: PWM connected to the CNV input on the ADC.
49 - description: PWM that gates the clock connected to the ADC's CLK input.
51 pwm-names:
53 - const: cnv
54 - const: clk_gate
56 io-backends:
58 The AXI ADC IP block connected to the D+/- and DCO+/- lines of the
59 ADC. An example backend can be found at
63 adi,no-dco:
66 Indicates the wiring of the DCO+/- lines. If true, then they are
67 grounded and the device is in self-clocked mode. If this is not
70 adi,en0-always-on:
73 Indicates if EN0 is hard-wired to the high state. If neither this
74 nor en0-gpios are present, then EN0 is hard-wired low.
76 adi,en1-always-on:
79 Indicates if EN1 is hard-wired to the high state. If neither this
80 nor en1-gpios are present, then EN1 is hard-wired low.
82 adi,en2-always-on:
85 Indicates if EN2 is hard-wired to the high state. If neither this
86 nor en2-gpios are present, then EN2 is hard-wired low.
88 adi,en3-always-on:
91 Indicates if EN3 is hard-wired to the high state. If neither this
92 nor en3-gpios are present, then EN3 is hard-wired low.
94 en0-gpios:
96 Configurable EN0 pin.
98 en1-gpios:
100 Configurable EN1 pin.
102 en2-gpios:
104 Configurable EN2 pin.
106 en3-gpios:
108 Configurable EN3 pin.
111 - compatible
112 - vdd1-supply
113 - vdd2-supply
114 - vio-supply
115 - clocks
116 - pwms
117 - pwm-names
118 - io-backends
121 - if:
123 - ref-supply
126 refin-supply: false
127 - if:
129 - refin-supply
132 ref-supply: false
133 - if:
138 - adi,ad7625
139 - adi,ad7626
142 en2-gpios: false
143 en3-gpios: false
144 adi,en2-always-on: false
145 adi,en3-always-on: false
147 - if:
152 - adi,ad7960
153 - adi,ad7961
157 - required: [ref-supply]
158 - required: [refin-supply]
163 - |
164 #include <dt-bindings/gpio/gpio.h>
165 adc {
167 vdd1-supply = <&supply_5V>;
168 vdd2-supply = <&supply_2_5V>;
169 vio-supply = <&supply_2_5V>;
170 io-backends = <&axi_adc>;
173 pwm-names = "cnv", "clk_gate";
174 en0-gpios = <&gpio0 86 GPIO_ACTIVE_HIGH>;
175 en1-gpios = <&gpio0 87 GPIO_ACTIVE_HIGH>;