From: Wei Ni Date: Mon, 7 Oct 2013 09:28:29 +0000 (+0800) Subject: ARM: tegra: add vcc supply for nct1008 to Cardhu X-Git-Url: http://drtracing.org/?a=commitdiff_plain;h=7c7de6b03a2ad8a6f429e5a01c94cdf3289d47d1;p=deliverable%2Flinux.git 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 Signed-off-by: Stephen Warren --- 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 = ; };