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

2013-07-10 Thread Thierry Reding
On Wed, Jul 10, 2013 at 07:29:58PM +0800, Wei Ni wrote:
> Enable thermal sensor nct1008 for t114 dalmore.

Nit: "Tegra114 Dalmore"

> diff --git a/arch/arm/boot/dts/tegra114-dalmore.dts 
> b/arch/arm/boot/dts/tegra114-dalmore.dts
[...]
> + nct1008: nct1008 {
> + compatible = "onnn,nct1008";
> + reg = <0x4c>;
> + interrupt-parent = <>;
> + interrupts = ;
> + };

The "nct1008:" label isn't needed here either.

Thierry


signature.asc
Description: Digital signature


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

2013-07-10 Thread Wei Ni
Enable thermal sensor nct1008 for t114 dalmore.

Signed-off-by: Wei Ni 
---
 arch/arm/boot/dts/tegra114-dalmore.dts |7 +++
 1 file changed, 7 insertions(+)

diff --git a/arch/arm/boot/dts/tegra114-dalmore.dts 
b/arch/arm/boot/dts/tegra114-dalmore.dts
index cb640eb..95c5079 100644
--- a/arch/arm/boot/dts/tegra114-dalmore.dts
+++ b/arch/arm/boot/dts/tegra114-dalmore.dts
@@ -738,6 +738,13 @@
realtek,ldo1-en-gpios =
< TEGRA_GPIO(V, 3) GPIO_ACTIVE_HIGH>;
};
+
+   nct1008: nct1008 {
+   compatible = "onnn,nct1008";
+   reg = <0x4c>;
+   interrupt-parent = <>;
+   interrupts = ;
+   };
};
 
i2c@7000d000 {
-- 
1.7.9.5

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


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

2013-07-10 Thread Wei Ni
Enable thermal sensor nct1008 for t114 dalmore.

Signed-off-by: Wei Ni w...@nvidia.com
---
 arch/arm/boot/dts/tegra114-dalmore.dts |7 +++
 1 file changed, 7 insertions(+)

diff --git a/arch/arm/boot/dts/tegra114-dalmore.dts 
b/arch/arm/boot/dts/tegra114-dalmore.dts
index cb640eb..95c5079 100644
--- a/arch/arm/boot/dts/tegra114-dalmore.dts
+++ b/arch/arm/boot/dts/tegra114-dalmore.dts
@@ -738,6 +738,13 @@
realtek,ldo1-en-gpios =
gpio TEGRA_GPIO(V, 3) GPIO_ACTIVE_HIGH;
};
+
+   nct1008: nct1008 {
+   compatible = onnn,nct1008;
+   reg = 0x4c;
+   interrupt-parent = gpio;
+   interrupts = TEGRA_GPIO(O, 4) IRQ_TYPE_LEVEL_LOW;
+   };
};
 
i2c@7000d000 {
-- 
1.7.9.5

--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


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

2013-07-10 Thread Thierry Reding
On Wed, Jul 10, 2013 at 07:29:58PM +0800, Wei Ni wrote:
 Enable thermal sensor nct1008 for t114 dalmore.

Nit: Tegra114 Dalmore

 diff --git a/arch/arm/boot/dts/tegra114-dalmore.dts 
 b/arch/arm/boot/dts/tegra114-dalmore.dts
[...]
 + nct1008: nct1008 {
 + compatible = onnn,nct1008;
 + reg = 0x4c;
 + interrupt-parent = gpio;
 + interrupts = TEGRA_GPIO(O, 4) IRQ_TYPE_LEVEL_LOW;
 + };

The nct1008: label isn't needed here either.

Thierry


signature.asc
Description: Digital signature