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.
52 io-channel-ranges: true
56 samsung,syscon-phandle:
57 $ref: '/schemas/types.yaml#/definitions/phandle'
59 Phandle to the PMU system controller node (to access the ADC_PHY
60 register on Exynos3250/4x12/5250/5420/5800).
64 If present, indicates that a touchscreen is connected and usable.
85 - samsung,exynos-adc-v1
86 - samsung,exynos-adc-v2
87 - samsung,exynos3250-adc
88 - samsung,exynos4212-adc
91 - samsung,syscon-phandle
98 - samsung,exynos3250-adc
129 compatible = "samsung,exynos-adc-v1";
130 reg = <0x12d10000 0x100>;
131 interrupts = <0 106 0>;
132 #io-channel-cells = <1>;
135 clocks = <&clock 303>;
138 vdd-supply = <&buck5_reg>;
139 samsung,syscon-phandle = <&pmu_system_controller>;
141 /* NTC thermistor is a hwmon device */
143 compatible = "murata,ncp15wb473";
144 pullup-uv = <1800000>;
145 pullup-ohm = <47000>;
147 io-channels = <&adc 4>;
152 #include <dt-bindings/clock/exynos3250.h>
155 compatible = "samsung,exynos3250-adc";
156 reg = <0x126C0000 0x100>;
157 interrupts = <0 137 0>;
158 #io-channel-cells = <1>;
161 clocks = <&cmu CLK_TSADC>,
162 <&cmu CLK_SCLK_TSADC>;
163 clock-names = "adc", "sclk";
165 vdd-supply = <&buck5_reg>;
166 samsung,syscon-phandle = <&pmu_system_controller>;