mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] ARM: tegra: tamonten: Add temperature sensor support
@ 2012-11-09 13:07 Thierry Reding
  2012-11-09 17:26 ` Stephen Warren
  0 siblings, 1 reply; 3+ messages in thread
From: Thierry Reding @ 2012-11-09 13:07 UTC (permalink / raw)
  To: Stephen Warren; +Cc: linux-tegra, linux-kernel

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.

Signed-off-by: Thierry Reding <thierry.reding@avionic-design.de>
---
 arch/arm/boot/dts/tegra20-tamonten.dtsi | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/arch/arm/boot/dts/tegra20-tamonten.dtsi b/arch/arm/boot/dts/tegra20-tamonten.dtsi
index c3540e0..4f63b76 100644
--- a/arch/arm/boot/dts/tegra20-tamonten.dtsi
+++ b/arch/arm/boot/dts/tegra20-tamonten.dtsi
@@ -440,6 +440,11 @@
 				};
 			};
 		};
+
+		nct1008@4c {
+			compatible = "onnn,nct1008";
+			reg = <0x4c>;
+		};
 	};
 
 	pmc {
-- 
1.8.0


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] ARM: tegra: tamonten: Add temperature sensor support
  2012-11-09 13:07 [PATCH] ARM: tegra: tamonten: Add temperature sensor support Thierry Reding
@ 2012-11-09 17:26 ` Stephen Warren
  2012-11-09 18:38   ` Thierry Reding
  0 siblings, 1 reply; 3+ messages in thread
From: Stephen Warren @ 2012-11-09 17:26 UTC (permalink / raw)
  To: Thierry Reding; +Cc: linux-tegra, linux-kernel

On 11/09/2012 06:07 AM, Thierry Reding wrote:
> 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.

> diff --git a/arch/arm/boot/dts/tegra20-tamonten.dtsi b/arch/arm/boot/dts/tegra20-tamonten.dtsi

> +		nct1008@4c {

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

		temperature-sensor@4c {

as it is on Seaboard?

> +			compatible = "onnn,nct1008";
> +			reg = <0x4c>;
> +		};
>  	};
>  
>  	pmc {
> 


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] ARM: tegra: tamonten: Add temperature sensor support
  2012-11-09 17:26 ` Stephen Warren
@ 2012-11-09 18:38   ` Thierry Reding
  0 siblings, 0 replies; 3+ messages in thread
From: Thierry Reding @ 2012-11-09 18:38 UTC (permalink / raw)
  To: Stephen Warren; +Cc: linux-tegra, linux-kernel

[-- Attachment #1: Type: text/plain, Size: 597 bytes --]

On Fri, Nov 09, 2012 at 10:26:40AM -0700, Stephen Warren wrote:
> On 11/09/2012 06:07 AM, Thierry Reding wrote:
> > 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.
> 
> > diff --git a/arch/arm/boot/dts/tegra20-tamonten.dtsi b/arch/arm/boot/dts/tegra20-tamonten.dtsi
> 
> > +		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

[-- Attachment #2: Type: application/pgp-signature, Size: 836 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-11-09 18:38 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-11-09 13:07 [PATCH] ARM: tegra: tamonten: Add temperature sensor support Thierry Reding
2012-11-09 17:26 ` Stephen Warren
2012-11-09 18:38   ` Thierry Reding

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome