ARM: DT: tegra: Add stm8t143 proximity sensor
Sri Krishna chowdary [Mon, 23 Sep 2013 17:14:56 +0000 (22:14 +0530)]
stm8t143 proximity sensor is used on ardbeg.
Hence, add its registration through DT.

Bug 1362876

Change-Id: I154f9c1ef3fa8aa29c7053a0f84cc867c3fe3bfc
Signed-off-by: Sri Krishna chowdary <schowdary@nvidia.com>
Reviewed-on: http://git-master/r/277919
Reviewed-by: Sachin Nikam <snikam@nvidia.com>
(cherry picked from commit d844b16cd285739f0756050a9268b3c84977ab66)
Signed-off-by: Ajay Nandakumar <anandakumarm@nvidia.com>

arch/arm/boot/dts/tegra124-ardbeg.dts

index 840a448..8ed179d 100644 (file)
                nvidia,core-power-req-active-high;
                nvidia,sys-clock-req-active-high;
        };
+
+       stm8t143 {
+               compatible = "stm,stm8t143";
+               pout-gpio = <&gpio 190 0>;
+               tout-gpio = <&gpio 112 0>;
+       };
 };