Thread (37 messages) 37 messages, 6 authors, 2013-08-09

[PATCH v2 2/3] ARM: dt: t114 dalmore: add dt entry for nct1008

From: Sergei Shtylyov <hidden>
Date: 2013-08-08 20:36:19
Also in: linux-tegra, lkml

Hello.

On 08/08/2013 10:56 AM, Wei Ni wrote:
Enable thermal sensor nct1008 for t114 dalmore.
Signed-off-by: Wei Ni <redacted>
---
  arch/arm/boot/dts/tegra114-dalmore.dts |   10 +++++++++-
  1 file changed, 9 insertions(+), 1 deletion(-)
quoted hunk ↗ jump to hunk
diff --git a/arch/arm/boot/dts/tegra114-dalmore.dts b/arch/arm/boot/dts/tegra114-dalmore.dts
index b5a42f0..9d4d2b2 100644
--- a/arch/arm/boot/dts/tegra114-dalmore.dts
+++ b/arch/arm/boot/dts/tegra114-dalmore.dts
@@ -738,6 +738,14 @@
  			realtek,ldo1-en-gpios =
  				<&gpio TEGRA_GPIO(V, 3) GPIO_ACTIVE_HIGH>;
  		};
+
+		nct1008 {
    ePAPR [1] says: "the name of a node should be somewhat generic, reflecting 
the function of the device and not its precise programming model". So I 
suggest "thermal"
+			compatible = "onnn,nct1008";
+			reg = <0x4c>;
+			vdd-supply = <&palmas_ldo6_reg>;
+			interrupt-parent = <&gpio>;
+			interrupts = <TEGRA_GPIO(O, 4) IRQ_TYPE_LEVEL_LOW>;
+		};
  	};
[1] http://www.power.org/resources/downloads/Power_ePAPR_APPROVED_v1.0.pdf

WBR, Sergei
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help