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>
15 - samsung,exynos-adc-v1 # Exynos5250
16 - samsung,exynos-adc-v2
17 - samsung,exynos3250-adc
18 - samsung,exynos4212-adc # Exynos4212 and Exynos4412
32 Phandle to ADC bus clock. For Exynos3250 additional clock is needed.
38 Must contain clock names (adc, sclk) matching phandles in clocks
45 ADC interrupt followed by optional touchscreen interrupt.
54 samsung,syscon-phandle:
55 $ref: '/schemas/types.yaml#/definitions/phandle'
57 Phandle to the PMU system controller node (to access the ADC_PHY
58 register on Exynos3250/4x12/5250/5420/5800).
62 If present, indicates that a touchscreen is connected and usable.
83 - samsung,exynos-adc-v1
84 - samsung,exynos-adc-v2
85 - samsung,exynos3250-adc
86 - samsung,exynos4212-adc
89 - samsung,syscon-phandle
96 - samsung,exynos3250-adc
127 compatible = "samsung,exynos-adc-v1";
128 reg = <0x12d10000 0x100>;
129 interrupts = <0 106 0>;
130 #io-channel-cells = <1>;
132 clocks = <&clock 303>;
135 vdd-supply = <&buck5_reg>;
136 samsung,syscon-phandle = <&pmu_system_controller>;
138 /* NTC thermistor is a hwmon device */
140 compatible = "murata,ncp15wb473";
141 pullup-uv = <1800000>;
142 pullup-ohm = <47000>;
144 io-channels = <&adc 4>;
149 #include <dt-bindings/clock/exynos3250.h>
152 compatible = "samsung,exynos3250-adc";
153 reg = <0x126C0000 0x100>;
154 interrupts = <0 137 0>;
155 #io-channel-cells = <1>;
157 clocks = <&cmu CLK_TSADC>,
158 <&cmu CLK_SCLK_TSADC>;
159 clock-names = "adc", "sclk";
161 vdd-supply = <&buck5_reg>;
162 samsung,syscon-phandle = <&pmu_system_controller>;