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
51 samsung,syscon-phandle:
52 $ref: '/schemas/types.yaml#/definitions/phandle'
54 Phandle to the PMU system controller node (to access the ADC_PHY
55 register on Exynos3250/4x12/5250/5420/5800).
59 If present, indicates that a touchscreen is connected and usable.
77 - samsung,exynos-adc-v1
78 - samsung,exynos-adc-v2
79 - samsung,exynos3250-adc
80 - samsung,exynos4212-adc
84 - samsung,syscon-phandle
91 - samsung,exynos3250-adc
113 compatible = "samsung,exynos-adc-v1";
114 reg = <0x12d10000 0x100>;
115 interrupts = <0 106 0>;
116 #io-channel-cells = <1>;
119 clocks = <&clock 303>;
122 vdd-supply = <&buck5_reg>;
123 samsung,syscon-phandle = <&pmu_system_controller>;
125 /* NTC thermistor is a hwmon device */
127 compatible = "murata,ncp15wb473";
128 pullup-uv = <1800000>;
129 pullup-ohm = <47000>;
131 io-channels = <&adc 4>;
136 #include <dt-bindings/clock/exynos3250.h>
139 compatible = "samsung,exynos3250-adc";
140 reg = <0x126C0000 0x100>;
141 interrupts = <0 137 0>;
142 #io-channel-cells = <1>;
145 clocks = <&cmu CLK_TSADC>,
146 <&cmu CLK_SCLK_TSADC>;
147 clock-names = "adc", "sclk";
149 vdd-supply = <&buck5_reg>;
150 samsung,syscon-phandle = <&pmu_system_controller>;