linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] ARM: dts: stm32: update rtc st,syscfg property on stm32h743
@ 2018-08-22  9:45 Amelie Delaunay
  2018-09-20 12:53 ` Alexandre Torgue
  0 siblings, 1 reply; 2+ messages in thread
From: Amelie Delaunay @ 2018-08-22  9:45 UTC (permalink / raw)
  To: Maxime Coquelin, Alexandre Torgue, Rob Herring, Mark Rutland
  Cc: linux-stm32, 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/stm32h743.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/boot/dts/stm32h743.dtsi b/arch/arm/boot/dts/stm32h743.dtsi
index 637beff..cbdd69c 100644
--- a/arch/arm/boot/dts/stm32h743.dtsi
+++ b/arch/arm/boot/dts/stm32h743.dtsi
@@ -472,7 +472,7 @@
 			interrupt-parent = <&exti>;
 			interrupts = <17 IRQ_TYPE_EDGE_RISING>;
 			interrupt-names = "alarm";
-			st,syscfg = <&pwrcfg>;
+			st,syscfg = <&pwrcfg 0x00 0x100>;
 			status = "disabled";
 		};
 
-- 
2.7.4


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

* Re: [PATCH] ARM: dts: stm32: update rtc st,syscfg property on stm32h743
  2018-08-22  9:45 [PATCH] ARM: dts: stm32: update rtc st,syscfg property on stm32h743 Amelie Delaunay
@ 2018-09-20 12:53 ` Alexandre Torgue
  0 siblings, 0 replies; 2+ messages in thread
From: Alexandre Torgue @ 2018-09-20 12:53 UTC (permalink / raw)
  To: Amelie Delaunay, Maxime Coquelin, Rob Herring, Mark Rutland
  Cc: linux-stm32, linux-arm-kernel, devicetree, linux-kernel

Hi Amélie

On 08/22/2018 11:45 AM, Amelie Delaunay wrote:
> 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/stm32h743.dtsi | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/arch/arm/boot/dts/stm32h743.dtsi b/arch/arm/boot/dts/stm32h743.dtsi
> index 637beff..cbdd69c 100644
> --- a/arch/arm/boot/dts/stm32h743.dtsi
> +++ b/arch/arm/boot/dts/stm32h743.dtsi
> @@ -472,7 +472,7 @@
>   			interrupt-parent = <&exti>;
>   			interrupts = <17 IRQ_TYPE_EDGE_RISING>;
>   			interrupt-names = "alarm";
> -			st,syscfg = <&pwrcfg>;
> +			st,syscfg = <&pwrcfg 0x00 0x100>;
>   			status = "disabled";
>   		};
>   
> 

Applied on stm32-next.

Thanks.
Alex

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

end of thread, other threads:[~2018-09-20 12:54 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-08-22  9:45 [PATCH] ARM: dts: stm32: update rtc st,syscfg property on stm32h743 Amelie Delaunay
2018-09-20 12:53 ` 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).