Skip to content

Commit e1b933d

Browse files
VCASTMatorgue
authored andcommitted
ARM: dts: stm32: activate alternate REQ/ACK dma protocol for uart
Default REQ/ACK DMA protocol consists in maintaining ACK signal up to the removal of REQuest and the transfer completion. In case of alternative REQ/ACK protocol, ACK de-assertion does not wait the removal of the REQuest, but only the transfer completion. Due to a possible DMA stream lock when transferring data to/from STM32 USART/UART, select this alternative protocol in STM32 USART/UART nodes. Signed-off-by: Valentin Caron <valentin.caron@st.com> Change-Id: Ia5c1205e1a74a06ff670006e9fbf619ad45deeb5 Reviewed-on: https://gerrit.st.com/c/mpu/oe/st/linux-stm32/+/186820 Reviewed-by: CITOOLS <smet-aci-reviews@lists.codex.cro.st.com> Reviewed-by: CIBUILD <smet-aci-builds@lists.codex.cro.st.com> Reviewed-by: Fabrice GASNIER <fabrice.gasnier@st.com>
1 parent 38078f0 commit e1b933d

File tree

1 file changed

+14
-14
lines changed

1 file changed

+14
-14
lines changed

arch/arm/boot/dts/stm32mp151.dtsi

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -535,8 +535,8 @@
535535
clocks = <&rcc USART2_K>;
536536
wakeup-source;
537537
power-domains = <&pd_core>;
538-
dmas = <&dmamux1 43 0x400 0x5>,
539-
<&dmamux1 44 0x400 0x1>;
538+
dmas = <&dmamux1 43 0x400 0x15>,
539+
<&dmamux1 44 0x400 0x11>;
540540
dma-names = "rx", "tx";
541541
status = "disabled";
542542
};
@@ -548,8 +548,8 @@
548548
clocks = <&rcc USART3_K>;
549549
wakeup-source;
550550
power-domains = <&pd_core>;
551-
dmas = <&dmamux1 45 0x400 0x5>,
552-
<&dmamux1 46 0x400 0x1>;
551+
dmas = <&dmamux1 45 0x400 0x15>,
552+
<&dmamux1 46 0x400 0x11>;
553553
dma-names = "rx", "tx";
554554
status = "disabled";
555555
};
@@ -561,8 +561,8 @@
561561
clocks = <&rcc UART4_K>;
562562
wakeup-source;
563563
power-domains = <&pd_core>;
564-
dmas = <&dmamux1 63 0x400 0x5>,
565-
<&dmamux1 64 0x400 0x1>;
564+
dmas = <&dmamux1 63 0x400 0x15>,
565+
<&dmamux1 64 0x400 0x11>;
566566
dma-names = "rx", "tx";
567567
status = "disabled";
568568
};
@@ -574,8 +574,8 @@
574574
clocks = <&rcc UART5_K>;
575575
wakeup-source;
576576
power-domains = <&pd_core>;
577-
dmas = <&dmamux1 65 0x400 0x5>,
578-
<&dmamux1 66 0x400 0x1>;
577+
dmas = <&dmamux1 65 0x400 0x15>,
578+
<&dmamux1 66 0x400 0x11>;
579579
dma-names = "rx", "tx";
580580
status = "disabled";
581581
};
@@ -696,8 +696,8 @@
696696
clocks = <&rcc UART7_K>;
697697
wakeup-source;
698698
power-domains = <&pd_core>;
699-
dmas = <&dmamux1 79 0x400 0x5>,
700-
<&dmamux1 80 0x400 0x1>;
699+
dmas = <&dmamux1 79 0x400 0x15>,
700+
<&dmamux1 80 0x400 0x11>;
701701
dma-names = "rx", "tx";
702702
status = "disabled";
703703
};
@@ -709,8 +709,8 @@
709709
clocks = <&rcc UART8_K>;
710710
wakeup-source;
711711
power-domains = <&pd_core>;
712-
dmas = <&dmamux1 81 0x400 0x5>,
713-
<&dmamux1 82 0x400 0x1>;
712+
dmas = <&dmamux1 81 0x400 0x15>,
713+
<&dmamux1 82 0x400 0x11>;
714714
dma-names = "rx", "tx";
715715
status = "disabled";
716716
};
@@ -794,8 +794,8 @@
794794
clocks = <&rcc USART6_K>;
795795
wakeup-source;
796796
power-domains = <&pd_core>;
797-
dmas = <&dmamux1 71 0x400 0x5>,
798-
<&dmamux1 72 0x400 0x1>;
797+
dmas = <&dmamux1 71 0x400 0x15>,
798+
<&dmamux1 72 0x400 0x11>;
799799
dma-names = "rx", "tx";
800800
status = "disabled";
801801
};

0 commit comments

Comments
 (0)