diff mbox

ARM: dts: Kirkwood: Fix QNAP TS219 power-off

Message ID 1447250584-10153-1-git-send-email-andrew@lunn.ch (mailing list archive)
State New, archived
Headers show

Commit Message

Andrew Lunn Nov. 11, 2015, 2:03 p.m. UTC
From: Helmut Klein <hgkr.klein@gmail.com>

The "reg" entry in the "poweroff" section of "kirkwood-ts219.dtsi"
addressed the wrong uart (0 = console). This patch changes the address
to select uart 1, which is the uart connected to the pic
microcontroller, which can switch the device off.

Signed-off-by: Helmut Klein <hgkr.klein@gmail.com>
Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Fixes: 4350a47bbac3 ("ARM: Kirkwood: Make use of the QNAP Power off driver.")
---

Hi Helmut

I made a few minor changes to your patch:

1) Made subject line consistent with other patches to kirkwood-ts219.dtsi
2) Added a Fixes: tag, so that it gets backported to stable
3) Put comments after the ---, so they don't land in the change log.

Hi Gregory

This is a fix, i guess too late for this merge window, so please could
you send it after -rc1 is out?
---
 arch/arm/boot/dts/kirkwood-ts219.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Gregory CLEMENT Nov. 19, 2015, 10:29 a.m. UTC | #1
Hi Andrew and Helmut,
 
 On mer., nov. 11 2015, Andrew Lunn <andrew@lunn.ch> wrote:

> From: Helmut Klein <hgkr.klein@gmail.com>
>
> The "reg" entry in the "poweroff" section of "kirkwood-ts219.dtsi"
> addressed the wrong uart (0 = console). This patch changes the address
> to select uart 1, which is the uart connected to the pic
> microcontroller, which can switch the device off.
>
> Signed-off-by: Helmut Klein <hgkr.klein@gmail.com>
> Signed-off-by: Andrew Lunn <andrew@lunn.ch>
> Fixes: 4350a47bbac3 ("ARM: Kirkwood: Make use of the QNAP Power off
> driver.")


Applied on mvebu/fixes

Thanks,

Gregory

> ---
>
> Hi Helmut
>
> I made a few minor changes to your patch:
>
> 1) Made subject line consistent with other patches to kirkwood-ts219.dtsi
> 2) Added a Fixes: tag, so that it gets backported to stable
> 3) Put comments after the ---, so they don't land in the change log.
>
> Hi Gregory
>
> This is a fix, i guess too late for this merge window, so please could
> you send it after -rc1 is out?
> ---
>  arch/arm/boot/dts/kirkwood-ts219.dtsi | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/arch/arm/boot/dts/kirkwood-ts219.dtsi b/arch/arm/boot/dts/kirkwood-ts219.dtsi
> index c56ab6bbfe3c..0e46560551f4 100644
> --- a/arch/arm/boot/dts/kirkwood-ts219.dtsi
> +++ b/arch/arm/boot/dts/kirkwood-ts219.dtsi
> @@ -40,7 +40,7 @@
>  		};
>  		poweroff@12100 {
>  			compatible = "qnap,power-off";
> -			reg = <0x12000 0x100>;
> +			reg = <0x12100 0x100>;
>  			clocks = <&gate_clk 7>;
>  		};
>  		spi@10600 {
> -- 
> 2.6.1
>
diff mbox

Patch

diff --git a/arch/arm/boot/dts/kirkwood-ts219.dtsi b/arch/arm/boot/dts/kirkwood-ts219.dtsi
index c56ab6bbfe3c..0e46560551f4 100644
--- a/arch/arm/boot/dts/kirkwood-ts219.dtsi
+++ b/arch/arm/boot/dts/kirkwood-ts219.dtsi
@@ -40,7 +40,7 @@ 
 		};
 		poweroff@12100 {
 			compatible = "qnap,power-off";
-			reg = <0x12000 0x100>;
+			reg = <0x12100 0x100>;
 			clocks = <&gate_clk 7>;
 		};
 		spi@10600 {