ARM: tegra: add vcc supply for nct1008 to Cardhu

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>
This commit is contained in:
Wei Ni 2013-10-07 17:28:29 +08:00 committed by Stephen Warren
parent 99bda7b901
commit 7c7de6b03a

View file

@ -294,9 +294,10 @@ ldo8_reg: ldo8 {
}; };
}; };
nct1008 { temperature-sensor@4c {
compatible = "onnn,nct1008"; compatible = "onnn,nct1008";
reg = <0x4c>; reg = <0x4c>;
vcc-supply = <&sys_3v3_reg>;
interrupt-parent = <&gpio>; interrupt-parent = <&gpio>;
interrupts = <TEGRA_GPIO(CC, 2) IRQ_TYPE_LEVEL_LOW>; interrupts = <TEGRA_GPIO(CC, 2) IRQ_TYPE_LEVEL_LOW>;
}; };