ADC: EXYNOS4412: Update DT and board configuration to enable ADC.
authorJonghwa Lee <jonghwa3.lee@samsung.com>
Thu, 31 Oct 2013 15:25:47 +0000 (00:25 +0900)
committerChanho Park <chanho61.park@samsung.com>
Tue, 18 Nov 2014 02:45:02 +0000 (11:45 +0900)
Signed-off-by: Jonghwa Lee <jonghwa3.lee@samsung.com>
arch/arm/boot/dts/exynos4412-slp_pq.dts
arch/arm/configs/tizen_defconfig

index 86c6e5f..5c3bedd 100644 (file)
                status = "okay";
                #phy-cells = <1>;
        };
+
+       adc: adc@126C0000 {
+               compatible = "samsung,exynos-adc-v1";
+               reg = <0x126C0000 0x20>, <0x10020718 0x4>;
+               interrupt-parent = <&combiner>;
+               interrupts = <10 3>;
+               #io-channel-cells = <1>;
+               clocks = <&clock 326>;
+               clock-names = "adc";
+               vdd-supply = <&ldo3_reg>;
+               status = "ok";
+       };
 };
 
 &pinctrl_1 {
index 1940a58..184e67c 100644 (file)
@@ -2873,7 +2873,7 @@ CONFIG_IIO_ST_ACCEL_SPI_3AXIS=y
 # CONFIG_AD7793 is not set
 # CONFIG_AD7476 is not set
 # CONFIG_AD7887 is not set
-# CONFIG_EXYNOS_ADC is not set
+CONFIG_EXYNOS_ADC=y
 # CONFIG_MAX1363 is not set
 # CONFIG_TI_ADC081C is not set