]> git.karo-electronics.de Git - linux-beck.git/commitdiff
ARM: dts: Add ADC's dt data to read raw data for exynos4x12
authorChanwoo Choi <cw00.choi@samsung.com>
Mon, 17 Mar 2014 21:25:58 +0000 (06:25 +0900)
committerKukjin Kim <kgene.kim@samsung.com>
Mon, 17 Mar 2014 21:25:58 +0000 (06:25 +0900)
This patch add ADC(Analog to Digital Converter)'s dt data to get raw data
with IIO subsystem. Usually, ADC is used to check temperature, jack type
and so on.

Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Reviewed-by: Tomasz Figa <t.figa@samsung.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
arch/arm/boot/dts/exynos4x12.dtsi

index e0eb6bb64c34dbf649136ceaa07e4ce5593c726c..eec1e304435ecca1edc817bbab27aacd18cb8d66 100644 (file)
                };
        };
 
+       adc: adc@126C0000 {
+               compatible = "samsung,exynos-adc-v1";
+               reg = <0x126C0000 0x100>, <0x10020718 0x4>;
+               interrupt-parent = <&combiner>;
+               interrupts = <10 3>;
+               clocks = <&clock CLK_TSADC>;
+               clock-names = "adc";
+               #io-channel-cells = <1>;
+               io-channel-ranges;
+               status = "disabled";
+       };
+
        pinctrl_2: pinctrl@03860000 {
                compatible = "samsung,exynos4x12-pinctrl";
                reg = <0x03860000 0x1000>;