Message ID | 1352466474-27581-1-git-send-email-thierry.reding@avionic-design.de |
---|---|
State | Superseded, archived |
Headers | show |
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 { > -- To unsubscribe from this list: send the line "unsubscribe linux-tegra" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
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
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 {
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(+)