Browse Source

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>
Wei Ni 11 years ago
parent
commit
7c7de6b03a
1 changed files with 2 additions and 1 deletions
  1. 2 1
      arch/arm/boot/dts/tegra30-cardhu.dtsi

+ 2 - 1
arch/arm/boot/dts/tegra30-cardhu.dtsi

@@ -294,9 +294,10 @@
 			};
 		};
 
-		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>;
 		};