ARM: tegra: add vcc supply for nct1008 to Cardhu
authorWei Ni <wni@nvidia.com>
Mon, 7 Oct 2013 09:28:29 +0000 (17:28 +0800)
committerStephen Warren <swarren@nvidia.com>
Mon, 7 Oct 2013 19:17:35 +0000 (13:17 -0600)
Add vcc-supply property in the nct1008 node, and set it
as sys_3v3_reg.
change the name of this node to temp-sensor.

Signed-off-by: Wei Ni <wni@nvidia.com>
Signed-off-by: Stephen Warren <swarren@nvidia.com>
arch/arm/boot/dts/tegra30-cardhu.dtsi

index e19dbf238e5c8498878dc56492018585190830ce..5ea7dfa4d9fa5de680ead80110b9c9ad31737490 100644 (file)
                        };
                };
 
-               nct1008 {
+               temperature-sensor@4c {
                        compatible = "onnn,nct1008";
                        reg = <0x4c>;
+                       vcc-supply = <&sys_3v3_reg>;
                        interrupt-parent = <&gpio>;
                        interrupts = <TEGRA_GPIO(CC, 2) IRQ_TYPE_LEVEL_LOW>;
                };