devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] ARM: dts: stm32: update rtc st,syscfg
@ 2018-05-09 15:18 Amelie Delaunay
  2018-05-09 15:18 ` [PATCH 1/2] ARM: dts: stm32: update rtc st,syscfg property on stm32f429 Amelie Delaunay
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Amelie Delaunay @ 2018-05-09 15:18 UTC (permalink / raw)
  To: Maxime Coquelin, Alexandre Torgue, Rob Herring, Mark Rutland
  Cc: linux-arm-kernel, devicetree, linux-kernel, Amelie Delaunay

With the lastest STM32 RTC driver updates, it is mandatory to define
pwrcfg control register and DBP (Disable Backup Protection) bit through
st,syscfg property. This patchset updates RTC nodes on stm32f429 and
stm32f746 accordingly.

Amelie Delaunay (2):
  ARM: dts: stm32: update rtc st,syscfg property on stm32f429
  ARM: dts: stm32: update rtc st,syscfg property on stm32f746

 arch/arm/boot/dts/stm32f429.dtsi | 2 +-
 arch/arm/boot/dts/stm32f746.dtsi | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

-- 
2.7.4

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [PATCH 1/2] ARM: dts: stm32: update rtc st,syscfg property on stm32f429
  2018-05-09 15:18 [PATCH 0/2] ARM: dts: stm32: update rtc st,syscfg Amelie Delaunay
@ 2018-05-09 15:18 ` Amelie Delaunay
  2018-05-09 15:18 ` [PATCH 2/2] ARM: dts: stm32: update rtc st, syscfg property on stm32f746 Amelie Delaunay
  2018-06-25 10:12 ` [PATCH 0/2] ARM: dts: stm32: update rtc st,syscfg Alexandre Torgue
  2 siblings, 0 replies; 4+ messages in thread
From: Amelie Delaunay @ 2018-05-09 15:18 UTC (permalink / raw)
  To: Maxime Coquelin, Alexandre Torgue, Rob Herring, Mark Rutland
  Cc: linux-arm-kernel, devicetree, linux-kernel, Amelie Delaunay

To fit with latest rtc driver updates, rtc st,syscfg property must contain
the control register offset of pwrcfg and the mask corresponding to the
DBP (Disable Backup Protection) bit.

Signed-off-by: Amelie Delaunay <amelie.delaunay@st.com>
---
 arch/arm/boot/dts/stm32f429.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/boot/dts/stm32f429.dtsi b/arch/arm/boot/dts/stm32f429.dtsi
index ede77e0..309e7e3 100644
--- a/arch/arm/boot/dts/stm32f429.dtsi
+++ b/arch/arm/boot/dts/stm32f429.dtsi
@@ -302,7 +302,7 @@
 			interrupt-parent = <&exti>;
 			interrupts = <17 1>;
 			interrupt-names = "alarm";
-			st,syscfg = <&pwrcfg>;
+			st,syscfg = <&pwrcfg 0x00 0x100>;
 			status = "disabled";
 		};
 
-- 
2.7.4

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [PATCH 2/2] ARM: dts: stm32: update rtc st, syscfg property on stm32f746
  2018-05-09 15:18 [PATCH 0/2] ARM: dts: stm32: update rtc st,syscfg Amelie Delaunay
  2018-05-09 15:18 ` [PATCH 1/2] ARM: dts: stm32: update rtc st,syscfg property on stm32f429 Amelie Delaunay
@ 2018-05-09 15:18 ` Amelie Delaunay
  2018-06-25 10:12 ` [PATCH 0/2] ARM: dts: stm32: update rtc st,syscfg Alexandre Torgue
  2 siblings, 0 replies; 4+ messages in thread
From: Amelie Delaunay @ 2018-05-09 15:18 UTC (permalink / raw)
  To: Maxime Coquelin, Alexandre Torgue, Rob Herring, Mark Rutland
  Cc: devicetree, Amelie Delaunay, linux-kernel, linux-arm-kernel

To fit with latest rtc driver updates, rtc st,syscfg property must contain
the control register offset of pwrcfg and the mask corresponding to the
DBP (Disable Backup Protection) bit.

Signed-off-by: Amelie Delaunay <amelie.delaunay@st.com>
---
 arch/arm/boot/dts/stm32f746.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/boot/dts/stm32f746.dtsi b/arch/arm/boot/dts/stm32f746.dtsi
index 1479e3e..f48d06a 100644
--- a/arch/arm/boot/dts/stm32f746.dtsi
+++ b/arch/arm/boot/dts/stm32f746.dtsi
@@ -297,7 +297,7 @@
 			interrupt-parent = <&exti>;
 			interrupts = <17 1>;
 			interrupt-names = "alarm";
-			st,syscfg = <&pwrcfg>;
+			st,syscfg = <&pwrcfg 0x00 0x100>;
 			status = "disabled";
 		};
 
-- 
2.7.4

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH 0/2] ARM: dts: stm32: update rtc st,syscfg
  2018-05-09 15:18 [PATCH 0/2] ARM: dts: stm32: update rtc st,syscfg Amelie Delaunay
  2018-05-09 15:18 ` [PATCH 1/2] ARM: dts: stm32: update rtc st,syscfg property on stm32f429 Amelie Delaunay
  2018-05-09 15:18 ` [PATCH 2/2] ARM: dts: stm32: update rtc st, syscfg property on stm32f746 Amelie Delaunay
@ 2018-06-25 10:12 ` Alexandre Torgue
  2 siblings, 0 replies; 4+ messages in thread
From: Alexandre Torgue @ 2018-06-25 10:12 UTC (permalink / raw)
  To: Amelie Delaunay, Maxime Coquelin, Rob Herring, Mark Rutland
  Cc: devicetree, linux-kernel, linux-arm-kernel

Hi Amélie,

On 05/09/2018 05:18 PM, Amelie Delaunay wrote:
> With the lastest STM32 RTC driver updates, it is mandatory to define
> pwrcfg control register and DBP (Disable Backup Protection) bit through
> st,syscfg property. This patchset updates RTC nodes on stm32f429 and
> stm32f746 accordingly.
> 
> Amelie Delaunay (2):
>    ARM: dts: stm32: update rtc st,syscfg property on stm32f429
>    ARM: dts: stm32: update rtc st,syscfg property on stm32f746
> 
>   arch/arm/boot/dts/stm32f429.dtsi | 2 +-
>   arch/arm/boot/dts/stm32f746.dtsi | 2 +-
>   2 files changed, 2 insertions(+), 2 deletions(-)
> 

Series applied on stm32-next.

Regards
Alex

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2018-06-25 10:12 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-05-09 15:18 [PATCH 0/2] ARM: dts: stm32: update rtc st,syscfg Amelie Delaunay
2018-05-09 15:18 ` [PATCH 1/2] ARM: dts: stm32: update rtc st,syscfg property on stm32f429 Amelie Delaunay
2018-05-09 15:18 ` [PATCH 2/2] ARM: dts: stm32: update rtc st, syscfg property on stm32f746 Amelie Delaunay
2018-06-25 10:12 ` [PATCH 0/2] ARM: dts: stm32: update rtc st,syscfg Alexandre Torgue

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).