2020-03-20 13:00:30

by Arnaud POULIQUEN

[permalink] [raw]
Subject: [PATCH] ARM: dts: stm32: add cortex-M4 pdds management in Cortex-M4 node

Add declarations related to the syscon pdds for deep sleep management.

Signed-off-by: Arnaud Pouliquen <[email protected]>
---
arch/arm/boot/dts/stm32mp151.dtsi | 6 ++++++
1 file changed, 6 insertions(+)

diff --git a/arch/arm/boot/dts/stm32mp151.dtsi b/arch/arm/boot/dts/stm32mp151.dtsi
index 7b93eb4b8f49..46ea1024340e 100644
--- a/arch/arm/boot/dts/stm32mp151.dtsi
+++ b/arch/arm/boot/dts/stm32mp151.dtsi
@@ -1115,6 +1115,11 @@
};
};

+ pwr_mcu: pwr_mcu@50001014 {
+ compatible = "syscon";
+ reg = <0x50001014 0x4>;
+ };
+
exti: interrupt-controller@5000d000 {
compatible = "st,stm32mp1-exti", "syscon";
interrupt-controller;
@@ -1693,6 +1698,7 @@
st,syscfg-tz = <&rcc 0x000 0x1>;
st,syscfg-rsc-tbl = <&tamp 0x144 0xFFFFFFFF>;
st,syscfg-copro-state = <&tamp 0x148 0xFFFFFFFF>;
+ st,syscfg-pdds = <&pwr_mcu 0x0 0x1>;
status = "disabled";
};
};
--
2.17.1


2020-04-01 08:22:18

by Alexandre Torgue

[permalink] [raw]
Subject: Re: [PATCH] ARM: dts: stm32: add cortex-M4 pdds management in Cortex-M4 node

Hi Arnaud

On 3/20/20 1:58 PM, Arnaud Pouliquen wrote:
> Add declarations related to the syscon pdds for deep sleep management.
>
> Signed-off-by: Arnaud Pouliquen <[email protected]>
> ---

Can you please rebase it on top of stm32-next ?

> arch/arm/boot/dts/stm32mp151.dtsi | 6 ++++++
> 1 file changed, 6 insertions(+)
>
> diff --git a/arch/arm/boot/dts/stm32mp151.dtsi b/arch/arm/boot/dts/stm32mp151.dtsi
> index 7b93eb4b8f49..46ea1024340e 100644
> --- a/arch/arm/boot/dts/stm32mp151.dtsi
> +++ b/arch/arm/boot/dts/stm32mp151.dtsi
> @@ -1115,6 +1115,11 @@
> };
> };
>
> + pwr_mcu: pwr_mcu@50001014 {
> + compatible = "syscon";
> + reg = <0x50001014 0x4>;
> + };
> +
> exti: interrupt-controller@5000d000 {
> compatible = "st,stm32mp1-exti", "syscon";
> interrupt-controller;
> @@ -1693,6 +1698,7 @@
> st,syscfg-tz = <&rcc 0x000 0x1>;
> st,syscfg-rsc-tbl = <&tamp 0x144 0xFFFFFFFF>;
> st,syscfg-copro-state = <&tamp 0x148 0xFFFFFFFF>;
> + st,syscfg-pdds = <&pwr_mcu 0x0 0x1>;
> status = "disabled";
> };
> };
>