The Linux Kernel Mailing List
 help / color / mirror / Atom feed
* [PATCH] ARM: tegra: harmony: Add ADT7641 temperature sensor
@ 2012-11-09 12:56 Thierry Reding
  2012-11-09 13:22 ` Thierry Reding
  0 siblings, 1 reply; 6+ messages in thread
From: Thierry Reding @ 2012-11-09 12:56 UTC (permalink / raw)
  To: Stephen Warren; +Cc: linux-tegra, linux-kernel

The Harmony board has an Analog Devices ADT7461 temperature sensor
connected to the DVC bus. It can be used to monitor the ambient (local)
and on-die (remote) temperatures.

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

diff --git a/arch/arm/boot/dts/tegra20-harmony.dts b/arch/arm/boot/dts/tegra20-harmony.dts
index 3ab0f44..ed55d50 100644
--- a/arch/arm/boot/dts/tegra20-harmony.dts
+++ b/arch/arm/boot/dts/tegra20-harmony.dts
@@ -396,6 +396,11 @@
 				};
 			};
 		};
+
+		adt7461@4c {
+			compatible = "adi,adt7461";
+			reg = <0x4c>;
+		};
 	};
 
 	pmc {
-- 
1.8.0


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

* Re: [PATCH] ARM: tegra: harmony: Add ADT7641 temperature sensor
  2012-11-09 12:56 [PATCH] ARM: tegra: harmony: Add ADT7641 temperature sensor Thierry Reding
@ 2012-11-09 13:22 ` Thierry Reding
  2012-11-09 17:36   ` Stephen Warren
  2012-11-09 21:33   ` Stephen Warren
  0 siblings, 2 replies; 6+ messages in thread
From: Thierry Reding @ 2012-11-09 13:22 UTC (permalink / raw)
  To: Stephen Warren; +Cc: linux-tegra, linux-kernel

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

On Fri, Nov 09, 2012 at 01:56:55PM +0100, Thierry Reding wrote:
> The Harmony board has an Analog Devices ADT7461 temperature sensor
> connected to the DVC bus. It can be used to monitor the ambient (local)
> and on-die (remote) temperatures.

Note that I haven't actually tested this, as I no longer have access to
Harmony hardware. Testing can easily be done either by reading the files
from sysfs directly or by running the sensors utility from the
lm-sensors package.

Thierry

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

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

* Re: [PATCH] ARM: tegra: harmony: Add ADT7641 temperature sensor
  2012-11-09 13:22 ` Thierry Reding
@ 2012-11-09 17:36   ` Stephen Warren
  2012-11-09 18:44     ` Thierry Reding
  2012-11-09 21:33   ` Stephen Warren
  1 sibling, 1 reply; 6+ messages in thread
From: Stephen Warren @ 2012-11-09 17:36 UTC (permalink / raw)
  To: Thierry Reding; +Cc: linux-tegra, linux-kernel

On 11/09/2012 06:22 AM, Thierry Reding wrote:
> On Fri, Nov 09, 2012 at 01:56:55PM +0100, Thierry Reding wrote:
>> The Harmony board has an Analog Devices ADT7461 temperature
>> sensor connected to the DVC bus. It can be used to monitor the
>> ambient (local) and on-die (remote) temperatures.
> 
> Note that I haven't actually tested this, as I no longer have
> access to Harmony hardware. Testing can easily be done either by
> reading the files from sysfs directly or by running the sensors
> utility from the lm-sensors package.

OK, I can test this. The same comment about the DT node name that I
made for the other patch applies here too.

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

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

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

On Fri, Nov 09, 2012 at 10:36:13AM -0700, Stephen Warren wrote:
> On 11/09/2012 06:22 AM, Thierry Reding wrote:
> > On Fri, Nov 09, 2012 at 01:56:55PM +0100, Thierry Reding wrote:
> >> The Harmony board has an Analog Devices ADT7461 temperature
> >> sensor connected to the DVC bus. It can be used to monitor the
> >> ambient (local) and on-die (remote) temperatures.
> > 
> > Note that I haven't actually tested this, as I no longer have
> > access to Harmony hardware. Testing can easily be done either by
> > reading the files from sysfs directly or by running the sensors
> > utility from the lm-sensors package.
> 
> OK, I can test this. The same comment about the DT node name that I
> made for the other patch applies here too.

Alright, I'll rename the node.

Thierry

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

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

* Re: [PATCH] ARM: tegra: harmony: Add ADT7641 temperature sensor
  2012-11-09 13:22 ` Thierry Reding
  2012-11-09 17:36   ` Stephen Warren
@ 2012-11-09 21:33   ` Stephen Warren
  2012-11-09 21:43     ` Thierry Reding
  1 sibling, 1 reply; 6+ messages in thread
From: Stephen Warren @ 2012-11-09 21:33 UTC (permalink / raw)
  To: Thierry Reding; +Cc: linux-tegra, linux-kernel

On 11/09/2012 06:22 AM, Thierry Reding wrote:
> On Fri, Nov 09, 2012 at 01:56:55PM +0100, Thierry Reding wrote:
>> The Harmony board has an Analog Devices ADT7461 temperature
>> sensor connected to the DVC bus. It can be used to monitor the
>> ambient (local) and on-die (remote) temperatures.
> 
> Note that I haven't actually tested this, as I no longer have
> access to Harmony hardware. Testing can easily be done either by
> reading the files from sysfs directly or by running the sensors
> utility from the lm-sensors package.

Tested-by: Stephen Warren <swarren@nvidia.com>

Ventana also has the same sensor and due to git am applying your patch
to the wrong file (I've renamed all my .dts files), I ended up testing
that too, so you may as well send a second patch for Ventana. Ventana
has an nct1008 though.

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

* Re: [PATCH] ARM: tegra: harmony: Add ADT7641 temperature sensor
  2012-11-09 21:33   ` Stephen Warren
@ 2012-11-09 21:43     ` Thierry Reding
  0 siblings, 0 replies; 6+ messages in thread
From: Thierry Reding @ 2012-11-09 21:43 UTC (permalink / raw)
  To: Stephen Warren; +Cc: linux-tegra, linux-kernel

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

On Fri, Nov 09, 2012 at 02:33:51PM -0700, Stephen Warren wrote:
> On 11/09/2012 06:22 AM, Thierry Reding wrote:
> > On Fri, Nov 09, 2012 at 01:56:55PM +0100, Thierry Reding wrote:
> >> The Harmony board has an Analog Devices ADT7461 temperature
> >> sensor connected to the DVC bus. It can be used to monitor the
> >> ambient (local) and on-die (remote) temperatures.
> > 
> > Note that I haven't actually tested this, as I no longer have
> > access to Harmony hardware. Testing can easily be done either by
> > reading the files from sysfs directly or by running the sensors
> > utility from the lm-sensors package.
> 
> Tested-by: Stephen Warren <swarren@nvidia.com>
> 
> Ventana also has the same sensor and due to git am applying your patch
> to the wrong file (I've renamed all my .dts files), I ended up testing
> that too, so you may as well send a second patch for Ventana. Ventana
> has an nct1008 though.

Okay, will do. Thanks for testing.

Thierry

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

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

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

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-11-09 12:56 [PATCH] ARM: tegra: harmony: Add ADT7641 temperature sensor Thierry Reding
2012-11-09 13:22 ` Thierry Reding
2012-11-09 17:36   ` Stephen Warren
2012-11-09 18:44     ` Thierry Reding
2012-11-09 21:33   ` Stephen Warren
2012-11-09 21:43     ` Thierry Reding

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