1 Samsung Exynos Analog to Digital Converter bindings
3 The devicetree bindings are for the new ADC driver written for
4 Exynos4 and upward SoCs from Samsung.
6 New driver handles the following
7 1. Supports ADC IF found on EXYNOS4412/EXYNOS5250
8 and future SoCs from Samsung
9 2. Add ADC driver under iio/adc framework
10 3. Also adds the Documentation for device tree bindings
13 - compatible: Must be "samsung,exynos-adc-v1"
14 for exynos4412/5250 controllers.
15 Must be "samsung,exynos-adc-v2" for
17 - reg: Contains ADC register address range (base address and
18 length) and the address of the phy enable register.
19 - interrupts: Contains the interrupt information for the timer. The
20 format is being dependent on which interrupt controller
21 the Samsung device uses.
22 - #io-channel-cells = <1>; As ADC has multiple outputs
23 - clocks From common clock binding: handle to adc clock.
24 - clock-names From common clock binding: Shall be "adc".
25 - vdd-supply VDD input supply.
27 Note: child nodes can be added for auto probing from device tree.
29 Example: adding device info in dtsi file
32 compatible = "samsung,exynos-adc-v1";
33 reg = <0x12D10000 0x100>, <0x10040718 0x4>;
34 interrupts = <0 106 0>;
35 #io-channel-cells = <1>;
38 clocks = <&clock 303>;
41 vdd-supply = <&buck5_reg>;
45 Example: Adding child nodes in dts file
49 /* NTC thermistor is a hwmon device */
51 compatible = "ntc,ncp15wb473";
52 pullup-uV = <1800000>;
55 io-channels = <&adc 4>;
59 Note: Does not apply to ADC driver under arch/arm/plat-samsung/
60 Note: The child node can be added under the adc node or separately.