From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752397AbcAQTTX (ORCPT ); Sun, 17 Jan 2016 14:19:23 -0500 Received: from [95.129.55.99] ([95.129.55.99]:33940 "EHLO gloria.sntech.de" rhost-flags-FAIL-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1752036AbcAQTTW (ORCPT ); Sun, 17 Jan 2016 14:19:22 -0500 From: Heiko Stuebner To: Caesar Wang , Andy Yan Cc: linux-rockchip@lists.infradead.org, leozwang@google.com, Mark Brown , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, keescook@google.com Subject: Re: [PATCH v3 8/9] ARM: dts: rockchip: add reboot-mode node for rk3036 SoCs Date: Sun, 17 Jan 2016 20:18:46 +0100 Message-ID: <3866840.JFJvXxmQit@phil> User-Agent: KMail/4.14.10 (Linux/4.3.0-1-amd64; KDE/4.14.14; x86_64; ; ) In-Reply-To: <1452865796-23527-9-git-send-email-wxt@rock-chips.com> References: <1452865796-23527-1-git-send-email-wxt@rock-chips.com> <1452865796-23527-9-git-send-email-wxt@rock-chips.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Caesar, Andy, Am Freitag, 15. Januar 2016, 21:49:55 schrieb Caesar Wang: > Add reboot mode driver DT node for rk3036 platform. > This patch adds the needed reboot mode node for rk3036. > > Signed-off-by: Caesar Wang this obviously depends on Andy's reboot series. Andy, could you include this patch into further submissions of your series please? That way it won't keep floating unconnected on the lists :-) Thanks Heiko > --- > > Changes in v3: None > > arch/arm/boot/dts/rk3036.dtsi | 28 +++++++++++++++++++++++++++- > 1 file changed, 27 insertions(+), 1 deletion(-) > > diff --git a/arch/arm/boot/dts/rk3036.dtsi b/arch/arm/boot/dts/rk3036.dtsi > index cf0968c..f5ecfff 100644 > --- a/arch/arm/boot/dts/rk3036.dtsi > +++ b/arch/arm/boot/dts/rk3036.dtsi > @@ -43,6 +43,7 @@ > #include > #include > #include > +#include > #include "skeleton.dtsi" > > / { > @@ -297,8 +298,33 @@ > }; > > grf: syscon@20008000 { > - compatible = "rockchip,rk3036-grf", "syscon"; > + compatible = "rockchip,rk3036-grf", "syscon", "simple-mfd"; > reg = <0x20008000 0x1000>; > + > + reboot-mode { > + compatible = "syscon-reboot-mode"; > + offset = <0x1d8>; > + > + normal { > + linux,mode = "normal"; > + loader,magic = ; > + }; > + > + loader { > + linux,mode = "loader"; > + loader,magic = ; > + }; > + > + recovery { > + linux,mode = "recovery"; > + loader,magic = ; > + }; > + > + fastboot { > + linux,mode = "fastboot"; > + loader,magic = ; > + }; > + }; > }; > > acodec: acodec-ana@20030000 {