Skip to contentSkip to conversation

ARM: tegra: tamonten: Add temperature sensor support

PATCH Superseded Thierry Reding 2 participants 3 messages Nov 9, 2012

Subsystems (2)

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ARM: tegra: tamonten: Add temperature sensor support

The Tamonten SOM has an ON Semiconductor NCT1008 connected to the DVC bus which is used to measure the ambient (local) temperature as well as the on-die (remote) temperature.

---
 arch/arm/boot/dts/tegra20-tamonten.dtsi | 5 +++++
 1 file changed, 5 insertions(+)
arch/arm/boot/dts/tegra20-tamonten.dtsi +5 -0
index c3540e0..4f63b76 100644
@@ -440,6 +440,11 @@
 				};
 			};
 		};
+
+		nct1008@4c {
+			compatible = "onnn,nct1008";
+			reg = <0x4c>;
+		};
 	};
 
 	pmc {
Signature · 1 line
1.8.0
#1 lore raw

arch/arm/boot/dts/tegra20-tamonten.dtsi

Quoted 7 lines · Thierry Reding

The Tamonten SOM has an ON Semiconductor NCT1008 connected to the DVC bus which is used to measure the ambient (local) temperature as well as the on-die (remote) temperature.

arch/arm/boot/dts/tegra20-tamonten.dtsi +1 -0
 
+		nct1008@4c {

Given nodes are typically named after object type, should that be:

		temperature-sensor@4c {

as it is on Seaboard?

Quoted 7 lines
arch/arm/boot/dts/tegra20-tamonten.dtsi +3 -0
+			compatible = "onnn,nct1008";
+			reg = <0x4c>;
+		};
 	};
 
 	pmc {
#2 lore raw
Quoted 7 lines · Stephen Warren
Quoted 5 lines · Thierry Reding

The Tamonten SOM has an ON Semiconductor NCT1008 connected to the DVC bus which is used to measure the ambient (local) temperature as well as the on-die (remote) temperature.

arch/arm/boot/dts/tegra20-tamonten.dtsi +0 -0
Quoted 7 lines

arch/arm/boot/dts/tegra20-tamonten.dtsi line 444

Quoted 1 line
arch/arm/boot/dts/tegra20-tamonten.dtsi +1 -0
+		nct1008@4c {

Given nodes are typically named after object type, should that be:

		temperature-sensor@4c {

as it is on Seaboard?

I'll do that.

Thierry