diff mbox

[15/16] ARM: mvebu: Add thermal support to Armada 370 device tree

Message ID 1363818997-23137-16-git-send-email-ezequiel.garcia@free-electrons.com (mailing list archive)
State New, archived
Headers show

Commit Message

Ezequiel Garcia March 20, 2013, 10:36 p.m. UTC
This patch depends on the patch to add Armada 370 support
in the mvebu_thermal driver:
'thermal: mvebu: Add support for Armada 370 thermal sensor'

Signed-off-by: Ezequiel Garcia <ezequiel.garcia@free-electrons.com>
---
 arch/arm/boot/dts/armada-370.dtsi |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

Comments

Sergei Shtylyov March 21, 2013, 2:03 p.m. UTC | #1
Hello.

On 21-03-2013 2:36, Ezequiel Garcia wrote:

> This patch depends on the patch to add Armada 370 support
> in the mvebu_thermal driver:
> 'thermal: mvebu: Add support for Armada 370 thermal sensor'

   Sch comments should follow the --- tear line, not precede it.

> Signed-off-by: Ezequiel Garcia <ezequiel.garcia@free-electrons.com>
> ---
>   arch/arm/boot/dts/armada-370.dtsi |    6 ++++++
>   1 files changed, 6 insertions(+), 0 deletions(-)

WBR, Sergei
Ezequiel Garcia March 21, 2013, 3:18 p.m. UTC | #2
Hi Sergei,

On Thu, Mar 21, 2013 at 06:03:31PM +0400, Sergei Shtylyov wrote:
> On 21-03-2013 2:36, Ezequiel Garcia wrote:
> 
> > This patch depends on the patch to add Armada 370 support
> > in the mvebu_thermal driver:
> > 'thermal: mvebu: Add support for Armada 370 thermal sensor'
> 
>    Sch comments should follow the --- tear line, not precede it.
> 

Ouch. Yes, that was the original intention!

Thanks,
diff mbox

Patch

diff --git a/arch/arm/boot/dts/armada-370.dtsi b/arch/arm/boot/dts/armada-370.dtsi
index 8188d13..5831994 100644
--- a/arch/arm/boot/dts/armada-370.dtsi
+++ b/arch/arm/boot/dts/armada-370.dtsi
@@ -153,5 +153,11 @@ 
 			clocks = <&coreclk 0>;
 		};
 
+		thermal@d0018300 {
+			compatible = "marvell,armada370-thermal";
+			reg = <0xd0018300 0x4
+			       0xd0018304 0x4>;
+			status = "okay";
+		};
 	};
 };