Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1310134 > unrolled thread
| Started by | Caesar Wang <wxt@rock-chips.com> |
|---|---|
| First post | 2016-01-15 15:00 +0100 |
| Last post | 2016-01-18 02:20 +0100 |
| Articles | 3 — 3 participants |
Back to article view | Back to linux.kernel
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
[PATCH v3 8/9] ARM: dts: rockchip: add reboot-mode node for rk3036 SoCs Caesar Wang <wxt@rock-chips.com> - 2016-01-15 15:00 +0100
Re: [PATCH v3 8/9] ARM: dts: rockchip: add reboot-mode node for rk3036 SoCs Heiko Stuebner <heiko@sntech.de> - 2016-01-17 20:20 +0100
Re: [PATCH v3 8/9] ARM: dts: rockchip: add reboot-mode node for rk3036 SoCs Andy Yan <andy.yan@rock-chips.com> - 2016-01-18 02:20 +0100
| From | Caesar Wang <wxt@rock-chips.com> |
|---|---|
| Date | 2016-01-15 15:00 +0100 |
| Subject | [PATCH v3 8/9] ARM: dts: rockchip: add reboot-mode node for rk3036 SoCs |
| Message-ID | <qRd50-6Sf-19@gated-at.bofh.it> |
Add reboot mode driver DT node for rk3036 platform.
This patch adds the needed reboot mode node for rk3036.
Signed-off-by: Caesar Wang <wxt@rock-chips.com>
---
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 <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/pinctrl/rockchip.h>
#include <dt-bindings/clock/rk3036-cru.h>
+#include <dt-bindings/soc/rockchip_boot-mode.h>
#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 = <BOOT_NORMAL>;
+ };
+
+ loader {
+ linux,mode = "loader";
+ loader,magic = <BOOT_LOADER>;
+ };
+
+ recovery {
+ linux,mode = "recovery";
+ loader,magic = <BOOT_RECOVERY>;
+ };
+
+ fastboot {
+ linux,mode = "fastboot";
+ loader,magic = <BOOT_FASTBOOT>;
+ };
+ };
};
acodec: acodec-ana@20030000 {
--
1.9.1
[toc] | [next] | [standalone]
| From | Heiko Stuebner <heiko@sntech.de> |
|---|---|
| Date | 2016-01-17 20:20 +0100 |
| Message-ID | <qS11M-6CX-13@gated-at.bofh.it> |
| In reply to | #1310134 |
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 <wxt@rock-chips.com>
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 <dt-bindings/interrupt-controller/arm-gic.h>
> #include <dt-bindings/pinctrl/rockchip.h>
> #include <dt-bindings/clock/rk3036-cru.h>
> +#include <dt-bindings/soc/rockchip_boot-mode.h>
> #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 = <BOOT_NORMAL>;
> + };
> +
> + loader {
> + linux,mode = "loader";
> + loader,magic = <BOOT_LOADER>;
> + };
> +
> + recovery {
> + linux,mode = "recovery";
> + loader,magic = <BOOT_RECOVERY>;
> + };
> +
> + fastboot {
> + linux,mode = "fastboot";
> + loader,magic = <BOOT_FASTBOOT>;
> + };
> + };
> };
>
> acodec: acodec-ana@20030000 {
[toc] | [prev] | [next] | [standalone]
| From | Andy Yan <andy.yan@rock-chips.com> |
|---|---|
| Date | 2016-01-18 02:20 +0100 |
| Subject | Re: [PATCH v3 8/9] ARM: dts: rockchip: add reboot-mode node for rk3036 SoCs |
| Message-ID | <qS6E9-1WW-1@gated-at.bofh.it> |
| In reply to | #1311176 |
Hi Heiko, Caesar:
On 2016年01月18日 03:18, Heiko Stuebner wrote:
> 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 <wxt@rock-chips.com>
> 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
>
Okay, I will add it in my next series.
>> ---
>>
>> 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 <dt-bindings/interrupt-controller/arm-gic.h>
>> #include <dt-bindings/pinctrl/rockchip.h>
>> #include <dt-bindings/clock/rk3036-cru.h>
>> +#include <dt-bindings/soc/rockchip_boot-mode.h>
>> #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 = <BOOT_NORMAL>;
>> + };
>> +
>> + loader {
>> + linux,mode = "loader";
>> + loader,magic = <BOOT_LOADER>;
>> + };
>> +
>> + recovery {
>> + linux,mode = "recovery";
>> + loader,magic = <BOOT_RECOVERY>;
>> + };
>> +
>> + fastboot {
>> + linux,mode = "fastboot";
>> + loader,magic = <BOOT_FASTBOOT>;
>> + };
>> + };
>> };
>>
>> acodec: acodec-ana@20030000 {
>
>
>
>
[toc] | [prev] | [standalone]
Back to top | Article view | linux.kernel
csiph-web