devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/3]  Convert STM32 dma to json-schema
@ 2019-12-18 14:48 Benjamin Gaignard
  2019-12-18 14:48 ` [PATCH v2 1/3] ARM: dts: stm32: fix dma controller node name on stm32f746 Benjamin Gaignard
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Benjamin Gaignard @ 2019-12-18 14:48 UTC (permalink / raw)
  To: mcoquelin.stm32, alexandre.torgue, robh+dt, mark.rutland
  Cc: linux-stm32, linux-arm-kernel, devicetree, linux-kernel,
	Benjamin Gaignard

version 2: Only contains rebased dtsi file on top of stm32-next after
DT diversity patches

This series convert STM32 dma, mdma and dmamux bindings to json-schema.
Yaml bindings use dma-controller and dma-router schemas where nodes names
are verified which lead to fix stm32f746, stm32f743 and stm32mp157 device
tree files. 


Benjamin Gaignard (3):
  ARM: dts: stm32: fix dma controller node name on stm32f746
  ARM: dts: stm32: fix dma controller node name on stm32f743
  ARM: dts: stm32: fix dma controller node name on stm32mp157c

 arch/arm/boot/dts/stm32f746.dtsi  | 4 ++--
 arch/arm/boot/dts/stm32h743.dtsi  | 6 +++---
 arch/arm/boot/dts/stm32mp151.dtsi | 6 +++---
 3 files changed, 8 insertions(+), 8 deletions(-)

-- 
2.15.0


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

* [PATCH v2 1/3] ARM: dts: stm32: fix dma controller node name on stm32f746
  2019-12-18 14:48 [PATCH v2 0/3] Convert STM32 dma to json-schema Benjamin Gaignard
@ 2019-12-18 14:48 ` Benjamin Gaignard
  2019-12-18 14:48 ` [PATCH v2 2/3] ARM: dts: stm32: fix dma controller node name on stm32f743 Benjamin Gaignard
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: Benjamin Gaignard @ 2019-12-18 14:48 UTC (permalink / raw)
  To: mcoquelin.stm32, alexandre.torgue, robh+dt, mark.rutland
  Cc: linux-stm32, linux-arm-kernel, devicetree, linux-kernel,
	Benjamin Gaignard

Modify dma controller nodes name to fit with the standard naming.

Signed-off-by: Benjamin Gaignard <benjamin.gaignard@st.com>
---
 arch/arm/boot/dts/stm32f746.dtsi | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/arm/boot/dts/stm32f746.dtsi b/arch/arm/boot/dts/stm32f746.dtsi
index 3a8e2dc1978c..93c063796780 100644
--- a/arch/arm/boot/dts/stm32f746.dtsi
+++ b/arch/arm/boot/dts/stm32f746.dtsi
@@ -586,7 +586,7 @@
 			assigned-clock-rates = <1000000>;
 		};
 
-		dma1: dma@40026000 {
+		dma1: dma-controller@40026000 {
 			compatible = "st,stm32-dma";
 			reg = <0x40026000 0x400>;
 			interrupts = <11>,
@@ -602,7 +602,7 @@
 			status = "disabled";
 		};
 
-		dma2: dma@40026400 {
+		dma2: dma-controller@40026400 {
 			compatible = "st,stm32-dma";
 			reg = <0x40026400 0x400>;
 			interrupts = <56>,
-- 
2.15.0


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

* [PATCH v2 2/3] ARM: dts: stm32: fix dma controller node name on stm32f743
  2019-12-18 14:48 [PATCH v2 0/3] Convert STM32 dma to json-schema Benjamin Gaignard
  2019-12-18 14:48 ` [PATCH v2 1/3] ARM: dts: stm32: fix dma controller node name on stm32f746 Benjamin Gaignard
@ 2019-12-18 14:48 ` Benjamin Gaignard
  2019-12-18 14:48 ` [PATCH v2 3/3] ARM: dts: stm32: fix dma controller node name on stm32mp157c Benjamin Gaignard
  2019-12-18 16:47 ` [PATCH v2 0/3] Convert STM32 dma to json-schema Alexandre Torgue
  3 siblings, 0 replies; 5+ messages in thread
From: Benjamin Gaignard @ 2019-12-18 14:48 UTC (permalink / raw)
  To: mcoquelin.stm32, alexandre.torgue, robh+dt, mark.rutland
  Cc: linux-stm32, linux-arm-kernel, devicetree, linux-kernel,
	Benjamin Gaignard

Modify dma controller nodes name to fit with the standard naming.

Signed-off-by: Benjamin Gaignard <benjamin.gaignard@st.com>
---
 arch/arm/boot/dts/stm32h743.dtsi | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/arch/arm/boot/dts/stm32h743.dtsi b/arch/arm/boot/dts/stm32h743.dtsi
index c065266ee377..05eb02e6d083 100644
--- a/arch/arm/boot/dts/stm32h743.dtsi
+++ b/arch/arm/boot/dts/stm32h743.dtsi
@@ -231,7 +231,7 @@
 			status = "disabled";
 		};
 
-		dma1: dma@40020000 {
+		dma1: dma-controller@40020000 {
 			compatible = "st,stm32-dma";
 			reg = <0x40020000 0x400>;
 			interrupts = <11>,
@@ -249,7 +249,7 @@
 			status = "disabled";
 		};
 
-		dma2: dma@40020400 {
+		dma2: dma-controller@40020400 {
 			compatible = "st,stm32-dma";
 			reg = <0x40020400 0x400>;
 			interrupts = <56>,
@@ -329,7 +329,7 @@
 			status = "disabled";
 		};
 
-		mdma1: dma@52000000 {
+		mdma1: dma-controller@52000000 {
 			compatible = "st,stm32h7-mdma";
 			reg = <0x52000000 0x1000>;
 			interrupts = <122>;
-- 
2.15.0


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

* [PATCH v2 3/3] ARM: dts: stm32: fix dma controller node name on stm32mp157c
  2019-12-18 14:48 [PATCH v2 0/3] Convert STM32 dma to json-schema Benjamin Gaignard
  2019-12-18 14:48 ` [PATCH v2 1/3] ARM: dts: stm32: fix dma controller node name on stm32f746 Benjamin Gaignard
  2019-12-18 14:48 ` [PATCH v2 2/3] ARM: dts: stm32: fix dma controller node name on stm32f743 Benjamin Gaignard
@ 2019-12-18 14:48 ` Benjamin Gaignard
  2019-12-18 16:47 ` [PATCH v2 0/3] Convert STM32 dma to json-schema Alexandre Torgue
  3 siblings, 0 replies; 5+ messages in thread
From: Benjamin Gaignard @ 2019-12-18 14:48 UTC (permalink / raw)
  To: mcoquelin.stm32, alexandre.torgue, robh+dt, mark.rutland
  Cc: linux-stm32, linux-arm-kernel, devicetree, linux-kernel,
	Benjamin Gaignard

Modify dma controller nodes name to fit with the standard naming.

Signed-off-by: Benjamin Gaignard <benjamin.gaignard@st.com>
---
version 2:
- rebased on top of stm32-next after DT diversity patches
  
 arch/arm/boot/dts/stm32mp151.dtsi | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/arch/arm/boot/dts/stm32mp151.dtsi b/arch/arm/boot/dts/stm32mp151.dtsi
index b0f3fa564967..3dd570b10181 100644
--- a/arch/arm/boot/dts/stm32mp151.dtsi
+++ b/arch/arm/boot/dts/stm32mp151.dtsi
@@ -947,7 +947,7 @@
 			};
 		};
 
-		dma1: dma@48000000 {
+		dma1: dma-controller@48000000 {
 			compatible = "st,stm32-dma";
 			reg = <0x48000000 0x400>;
 			interrupts = <GIC_SPI 11 IRQ_TYPE_LEVEL_HIGH>,
@@ -964,7 +964,7 @@
 			dma-requests = <8>;
 		};
 
-		dma2: dma@48001000 {
+		dma2: dma-controller@48001000 {
 			compatible = "st,stm32-dma";
 			reg = <0x48001000 0x400>;
 			interrupts = <GIC_SPI 56 IRQ_TYPE_LEVEL_HIGH>,
@@ -1275,7 +1275,7 @@
 			status = "disabled";
 		};
 
-		mdma1: dma@58000000 {
+		mdma1: dma-controller@58000000 {
 			compatible = "st,stm32h7-mdma";
 			reg = <0x58000000 0x1000>;
 			interrupts = <GIC_SPI 122 IRQ_TYPE_LEVEL_HIGH>;
-- 
2.15.0


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

* Re: [PATCH v2 0/3] Convert STM32 dma to json-schema
  2019-12-18 14:48 [PATCH v2 0/3] Convert STM32 dma to json-schema Benjamin Gaignard
                   ` (2 preceding siblings ...)
  2019-12-18 14:48 ` [PATCH v2 3/3] ARM: dts: stm32: fix dma controller node name on stm32mp157c Benjamin Gaignard
@ 2019-12-18 16:47 ` Alexandre Torgue
  3 siblings, 0 replies; 5+ messages in thread
From: Alexandre Torgue @ 2019-12-18 16:47 UTC (permalink / raw)
  To: Benjamin Gaignard, mcoquelin.stm32, robh+dt, mark.rutland
  Cc: linux-stm32, linux-arm-kernel, devicetree, linux-kernel

Hi Benjamin,

On 12/18/19 3:48 PM, Benjamin Gaignard wrote:
> version 2: Only contains rebased dtsi file on top of stm32-next after
> DT diversity patches
> 
> This series convert STM32 dma, mdma and dmamux bindings to json-schema.
> Yaml bindings use dma-controller and dma-router schemas where nodes names
> are verified which lead to fix stm32f746, stm32f743 and stm32mp157 device
> tree files.
> 
> 
> Benjamin Gaignard (3):
>    ARM: dts: stm32: fix dma controller node name on stm32f746
>    ARM: dts: stm32: fix dma controller node name on stm32f743
>    ARM: dts: stm32: fix dma controller node name on stm32mp157c
> 
>   arch/arm/boot/dts/stm32f746.dtsi  | 4 ++--
>   arch/arm/boot/dts/stm32h743.dtsi  | 6 +++---
>   arch/arm/boot/dts/stm32mp151.dtsi | 6 +++---
>   3 files changed, 8 insertions(+), 8 deletions(-)
> 

Series applied on stm32-next.

regards
Alex

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

end of thread, other threads:[~2019-12-18 16:48 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-12-18 14:48 [PATCH v2 0/3] Convert STM32 dma to json-schema Benjamin Gaignard
2019-12-18 14:48 ` [PATCH v2 1/3] ARM: dts: stm32: fix dma controller node name on stm32f746 Benjamin Gaignard
2019-12-18 14:48 ` [PATCH v2 2/3] ARM: dts: stm32: fix dma controller node name on stm32f743 Benjamin Gaignard
2019-12-18 14:48 ` [PATCH v2 3/3] ARM: dts: stm32: fix dma controller node name on stm32mp157c Benjamin Gaignard
2019-12-18 16:47 ` [PATCH v2 0/3] Convert STM32 dma to json-schema 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).