arm: exynos5: dts: Add adc to device tree
authorDoug Anderson <dianders@chromium.org>
Wed, 1 Aug 2012 22:32:35 +0000 (15:32 -0700)
committerGerrit <chrome-bot@google.com>
Thu, 2 Aug 2012 18:40:03 +0000 (11:40 -0700)
Having the ADC in the device tree allows us to properly specify its
regulator among other benefits.

Note that this needs a followon CL to add the regulator to the device
trees of individual boards.

BUG=chrome-os-partner:11688
TEST=In next CL I add dts definition to board then I see in dmesg:
  [    0.863241] s3c-adc 12d10000.adc: attached adc driver

Change-Id: Id1f6e6687ce7f86e76124559a258a9f9c2792565
Signed-off-by: Doug Anderson <dianders@chromium.org>
Reviewed-on: https://gerrit.chromium.org/gerrit/28986
Reviewed-by: Olof Johansson <olofj@chromium.org>
arch/arm/boot/dts/exynos5250.dtsi

index 2beec0b..decaa99 100755 (executable)
                #size-cells = <0>;
        };
 
+       adc@12D10000 {
+               compatible = "samsung,exynos5-adc";
+               reg = <0x12D10000 0x100>;
+               interrupts = <0 106 0>;
+       };
+
        sysmmu_2: sysmmu@0x10A60000 {
                compatible = "samsung,s5p-sysmmu";
                reg = <0x10A60000 0x100>;