summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWei Ni <wni@nvidia.com>2013-10-07 11:28:29 +0200
committerStephen Warren <swarren@nvidia.com>2013-10-07 21:17:35 +0200
commit7c7de6b03a2ad8a6f429e5a01c94cdf3289d47d1 (patch)
tree06bc6064f9f851b6ab93bc958d75c5a0db3e468e
parentARM: tegra: add DT entry for nct1008 to Dalmore (diff)
downloadlinux-7c7de6b03a2ad8a6f429e5a01c94cdf3289d47d1.tar.xz
linux-7c7de6b03a2ad8a6f429e5a01c94cdf3289d47d1.zip
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>
-rw-r--r--arch/arm/boot/dts/tegra30-cardhu.dtsi3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/arm/boot/dts/tegra30-cardhu.dtsi b/arch/arm/boot/dts/tegra30-cardhu.dtsi
index e19dbf238e5c..5ea7dfa4d9fa 100644
--- a/arch/arm/boot/dts/tegra30-cardhu.dtsi
+++ b/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>;
};