Skip to content

Commit 4c514b3

Browse files
erwangonashif
authored andcommitted
dts/arm: st: Fix use of "st,mem2mem" dma property
"st,mem2mem" property is supposed to be limited to dma-v1. Remove its use in dma-v2 components. Signed-off-by: Erwan Gouriou <[email protected]>
1 parent 60e10da commit 4c514b3

File tree

8 files changed

+3
-8
lines changed

8 files changed

+3
-8
lines changed

dts/arm/st/f0/stm32f091.dtsi

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,6 @@
7575
interrupts = <9 0 10 0 10 0 11 0 11 0 11 0
7676
11 0 10 0 10 0 11 0 11 0 11 0>;
7777
clocks = <&rcc STM32_CLOCK_BUS_AHB1 0x2>;
78-
st,mem2mem;
7978
status = "disabled";
8079
label = "DMA_2";
8180
};

dts/arm/st/f1/stm32f103Xc.dtsi

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,6 @@
173173
reg = <0x40020400 0x400>;
174174
clocks = <&rcc STM32_CLOCK_BUS_AHB1 0x2>;
175175
interrupts = < 56 0 57 0 58 0 59 0 60 0>;
176-
st,mem2mem;
177176
status = "disabled";
178177
label = "DMA_1";
179178
};

dts/arm/st/f1/stm32f107.dtsi

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313
reg = <0x40020400 0x400>;
1414
clocks = <&rcc STM32_CLOCK_BUS_AHB1 0x2>;
1515
interrupts = <56 0 57 0 58 0 59 0 60 0>;
16-
st,mem2mem;
1716
status = "disabled";
1817
label = "DMA_2";
1918
};

dts/arm/st/f3/stm32f373Xc.dtsi

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@
2424
reg = <0x40020400 0x400>;
2525
clocks = <&rcc STM32_CLOCK_BUS_AHB1 0x2>;
2626
interrupts = <56 0 57 0 58 0 59 0 60 0>;
27-
st,mem2mem;
2827
status = "disabled";
2928
label = "DMA_2";
3029
};

dts/arm/st/h7/stm32h7.dtsi

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -673,6 +673,7 @@
673673
interrupts = <11 0>, <12 0>, <13 0>, <14 0>, <15 0>, <16 0>,
674674
<17 0>, <47 0>;
675675
clocks = <&rcc STM32_CLOCK_BUS_AHB1 0x00000020>;
676+
st,mem2mem;
676677
status = "disabled";
677678
label = "DMA_1";
678679
};
@@ -684,6 +685,7 @@
684685
interrupts = <56 0>, <57 0>, <58 0>, <59 0>, <60 0>, <68 0>,
685686
<69 0>, <70 0>;
686687
clocks = <&rcc STM32_CLOCK_BUS_AHB1 0x00000020>;
688+
st,mem2mem;
687689
status = "disabled";
688690
label = "DMA_2";
689691
};

dts/arm/st/l4/stm32l4.dtsi

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -334,7 +334,6 @@
334334
reg = <0x40020000 0x400>;
335335
interrupts = <11 0 12 0 13 0 14 0 15 0 16 0 17 0>;
336336
clocks = <&rcc STM32_CLOCK_BUS_AHB1 0x1>;
337-
st,mem2mem;
338337
dma-requests = <7>;
339338
status = "disabled";
340339
label = "DMA_1";
@@ -346,7 +345,6 @@
346345
reg = <0x40020400 0x400>;
347346
interrupts = <56 0 57 0 58 0 59 0 60 0 68 0 69 0>;
348347
clocks = <&rcc STM32_CLOCK_BUS_AHB1 0x2>;
349-
st,mem2mem;
350348
dma-requests = <7>;
351349
status = "disabled";
352350
label = "DMA_2";

dts/arm/st/wb/stm32wb.dtsi

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -309,7 +309,6 @@
309309
reg = <0x40020000 0x400>;
310310
interrupts = <11 0 12 0 13 0 14 0 15 0 16 0 17 0>;
311311
clocks = <&rcc STM32_CLOCK_BUS_AHB1 0x1>;
312-
st,mem2mem;
313312
dma-requests = <7>;
314313
dma-offset = <0>;
315314
status = "disabled";
@@ -322,7 +321,6 @@
322321
reg = <0x40020400 0x400>;
323322
interrupts = <55 0 56 0 57 0 58 0 59 0 60 0 61 0>;
324323
clocks = <&rcc STM32_CLOCK_BUS_AHB1 0x2>;
325-
st,mem2mem;
326324
dma-requests = <7>;
327325
dma-offset = <7>;
328326
status = "disabled";

dts/bindings/dma/st,stm32-dma-v1.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,7 @@ properties:
8282

8383
st,mem2mem:
8484
type: boolean
85+
required: false
8586
description: If the DMA controller V1 supports memory to memory transfer
8687

8788
dma-offset:

0 commit comments

Comments
 (0)