linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/2] ARM: dts: stm32: fix dmamux reg property on stm32mp151
@ 2020-11-10 14:27 Amelie Delaunay
  2020-11-10 14:27 ` [PATCH 2/2] ARM: dts: stm32: fix dmamux reg property on stm32h743 Amelie Delaunay
  0 siblings, 1 reply; 3+ messages in thread
From: Amelie Delaunay @ 2020-11-10 14:27 UTC (permalink / raw)
  To: Maxime Coquelin, Alexandre Torgue, Rob Herring
  Cc: devicetree, Amelie Delaunay, linux-stm32, linux-arm-kernel, linux-kernel

Reg property length should cover all DMAMUX_CxCR registers.
DMAMUX_CxCR Address offset: 0x000 + 0x04 * x (x = 0 to 15), so latest
offset is at 0x3c, so length should be 0x40.

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

diff --git a/arch/arm/boot/dts/stm32mp151.dtsi b/arch/arm/boot/dts/stm32mp151.dtsi
index 928e31db1526..719a4276a348 100644
--- a/arch/arm/boot/dts/stm32mp151.dtsi
+++ b/arch/arm/boot/dts/stm32mp151.dtsi
@@ -1001,7 +1001,7 @@
 
 		dmamux1: dma-router@48002000 {
 			compatible = "st,stm32h7-dmamux";
-			reg = <0x48002000 0x1c>;
+			reg = <0x48002000 0x40>;
 			#dma-cells = <3>;
 			dma-requests = <128>;
 			dma-masters = <&dma1 &dma2>;
-- 
2.17.1


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

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

* [PATCH 2/2] ARM: dts: stm32: fix dmamux reg property on stm32h743
  2020-11-10 14:27 [PATCH 1/2] ARM: dts: stm32: fix dmamux reg property on stm32mp151 Amelie Delaunay
@ 2020-11-10 14:27 ` Amelie Delaunay
  2020-11-17  9:47   ` Alexandre Torgue
  0 siblings, 1 reply; 3+ messages in thread
From: Amelie Delaunay @ 2020-11-10 14:27 UTC (permalink / raw)
  To: Maxime Coquelin, Alexandre Torgue, Rob Herring
  Cc: devicetree, Amelie Delaunay, linux-stm32, linux-arm-kernel, linux-kernel

Reg property length should cover all DMAMUX_CxCR registers.
DMAMUX_CxCR Address offset: 0x000 + 0x04 * x (x = 0 to 15), so latest
offset is at 0x3c, so length should be 0x40.

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 7febe19e780d..b083afd0ebd6 100644
--- a/arch/arm/boot/dts/stm32h743.dtsi
+++ b/arch/arm/boot/dts/stm32h743.dtsi
@@ -274,7 +274,7 @@
 
 		dmamux1: dma-router@40020800 {
 			compatible = "st,stm32h7-dmamux";
-			reg = <0x40020800 0x1c>;
+			reg = <0x40020800 0x40>;
 			#dma-cells = <3>;
 			dma-channels = <16>;
 			dma-requests = <128>;
-- 
2.17.1


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

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

* Re: [PATCH 2/2] ARM: dts: stm32: fix dmamux reg property on stm32h743
  2020-11-10 14:27 ` [PATCH 2/2] ARM: dts: stm32: fix dmamux reg property on stm32h743 Amelie Delaunay
@ 2020-11-17  9:47   ` Alexandre Torgue
  0 siblings, 0 replies; 3+ messages in thread
From: Alexandre Torgue @ 2020-11-17  9:47 UTC (permalink / raw)
  To: Amelie Delaunay, Maxime Coquelin, Rob Herring
  Cc: devicetree, linux-stm32, linux-arm-kernel, linux-kernel

Hi,

On 11/10/20 3:27 PM, Amelie Delaunay wrote:
> Reg property length should cover all DMAMUX_CxCR registers.
> DMAMUX_CxCR Address offset: 0x000 + 0x04 * x (x = 0 to 15), so latest
> offset is at 0x3c, so length should be 0x40.
> 
> 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 7febe19e780d..b083afd0ebd6 100644
> --- a/arch/arm/boot/dts/stm32h743.dtsi
> +++ b/arch/arm/boot/dts/stm32h743.dtsi
> @@ -274,7 +274,7 @@
>   
>   		dmamux1: dma-router@40020800 {
>   			compatible = "st,stm32h7-dmamux";
> -			reg = <0x40020800 0x1c>;
> +			reg = <0x40020800 0x40>;
>   			#dma-cells = <3>;
>   			dma-channels = <16>;
>   			dma-requests = <128>;
> 

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] 3+ messages in thread

end of thread, other threads:[~2020-11-17  9:48 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-10 14:27 [PATCH 1/2] ARM: dts: stm32: fix dmamux reg property on stm32mp151 Amelie Delaunay
2020-11-10 14:27 ` [PATCH 2/2] ARM: dts: stm32: fix dmamux reg property on stm32h743 Amelie Delaunay
2020-11-17  9:47   ` 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).