1 # SPDX-License-Identifier: GPL-2.0
4 $id: http://devicetree.org/schemas/iio/adc/samsung,exynos-adc.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Samsung Exynos Analog to Digital Converter (ADC)
10 - Krzysztof Kozlowski <krzk@kernel.org>
16 - samsung,exynos-adc-v1 # Exynos5250
17 - samsung,exynos-adc-v2
18 - samsung,exynos3250-adc
19 - samsung,exynos4212-adc # Exynos4212 and Exynos4412
29 - samsung,exynos5433-adc
30 - const: samsung,exynos7-adc
37 Phandle to ADC bus clock. For Exynos3250 additional clock is needed.
43 Must contain clock names (adc, sclk) matching phandles in clocks
50 ADC interrupt followed by optional touchscreen interrupt.
59 samsung,syscon-phandle:
60 $ref: /schemas/types.yaml#/definitions/phandle
62 Phandle to the PMU system controller node (to access the ADC_PHY
63 register on Exynos3250/4x12/5250/5420/5800).
67 If present, indicates that a touchscreen is connected and usable.
88 - samsung,exynos-adc-v1
89 - samsung,exynos-adc-v2
90 - samsung,exynos3250-adc
91 - samsung,exynos4212-adc
94 - samsung,syscon-phandle
101 - samsung,exynos3250-adc
132 compatible = "samsung,exynos-adc-v1";
133 reg = <0x12d10000 0x100>;
134 interrupts = <0 106 0>;
135 #io-channel-cells = <1>;
137 clocks = <&clock 303>;
140 vdd-supply = <&buck5_reg>;
141 samsung,syscon-phandle = <&pmu_system_controller>;
143 /* NTC thermistor is a hwmon device */
145 compatible = "murata,ncp15wb473";
146 pullup-uv = <1800000>;
147 pullup-ohm = <47000>;
149 io-channels = <&adc 4>;
154 #include <dt-bindings/clock/exynos3250.h>
157 compatible = "samsung,exynos3250-adc";
158 reg = <0x126c0000 0x100>;
159 interrupts = <0 137 0>;
160 #io-channel-cells = <1>;
162 clocks = <&cmu CLK_TSADC>,
163 <&cmu CLK_SCLK_TSADC>;
164 clock-names = "adc", "sclk";
166 vdd-supply = <&buck5_reg>;
167 samsung,syscon-phandle = <&pmu_system_controller>;