Skip to content

Commit

Permalink
ARM: dts: stm32: activate alternate REQ/ACK dma protocol for uart
Browse files Browse the repository at this point in the history
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 <[email protected]>
Change-Id: Ia5c1205e1a74a06ff670006e9fbf619ad45deeb5
Reviewed-on: https://gerrit.st.com/c/mpu/oe/st/linux-stm32/+/186820
Reviewed-by: CITOOLS <[email protected]>
Reviewed-by: CIBUILD <[email protected]>
Reviewed-by: Fabrice GASNIER <[email protected]>
  • Loading branch information
VCASTM authored and atorgue committed Dec 7, 2020
1 parent 38078f0 commit e1b933d
Showing 1 changed file with 14 additions and 14 deletions.
28 changes: 14 additions & 14 deletions arch/arm/boot/dts/stm32mp151.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -535,8 +535,8 @@
clocks = <&rcc USART2_K>;
wakeup-source;
power-domains = <&pd_core>;
dmas = <&dmamux1 43 0x400 0x5>,
<&dmamux1 44 0x400 0x1>;
dmas = <&dmamux1 43 0x400 0x15>,
<&dmamux1 44 0x400 0x11>;
dma-names = "rx", "tx";
status = "disabled";
};
Expand All @@ -548,8 +548,8 @@
clocks = <&rcc USART3_K>;
wakeup-source;
power-domains = <&pd_core>;
dmas = <&dmamux1 45 0x400 0x5>,
<&dmamux1 46 0x400 0x1>;
dmas = <&dmamux1 45 0x400 0x15>,
<&dmamux1 46 0x400 0x11>;
dma-names = "rx", "tx";
status = "disabled";
};
Expand All @@ -561,8 +561,8 @@
clocks = <&rcc UART4_K>;
wakeup-source;
power-domains = <&pd_core>;
dmas = <&dmamux1 63 0x400 0x5>,
<&dmamux1 64 0x400 0x1>;
dmas = <&dmamux1 63 0x400 0x15>,
<&dmamux1 64 0x400 0x11>;
dma-names = "rx", "tx";
status = "disabled";
};
Expand All @@ -574,8 +574,8 @@
clocks = <&rcc UART5_K>;
wakeup-source;
power-domains = <&pd_core>;
dmas = <&dmamux1 65 0x400 0x5>,
<&dmamux1 66 0x400 0x1>;
dmas = <&dmamux1 65 0x400 0x15>,
<&dmamux1 66 0x400 0x11>;
dma-names = "rx", "tx";
status = "disabled";
};
Expand Down Expand Up @@ -696,8 +696,8 @@
clocks = <&rcc UART7_K>;
wakeup-source;
power-domains = <&pd_core>;
dmas = <&dmamux1 79 0x400 0x5>,
<&dmamux1 80 0x400 0x1>;
dmas = <&dmamux1 79 0x400 0x15>,
<&dmamux1 80 0x400 0x11>;
dma-names = "rx", "tx";
status = "disabled";
};
Expand All @@ -709,8 +709,8 @@
clocks = <&rcc UART8_K>;
wakeup-source;
power-domains = <&pd_core>;
dmas = <&dmamux1 81 0x400 0x5>,
<&dmamux1 82 0x400 0x1>;
dmas = <&dmamux1 81 0x400 0x15>,
<&dmamux1 82 0x400 0x11>;
dma-names = "rx", "tx";
status = "disabled";
};
Expand Down Expand Up @@ -794,8 +794,8 @@
clocks = <&rcc USART6_K>;
wakeup-source;
power-domains = <&pd_core>;
dmas = <&dmamux1 71 0x400 0x5>,
<&dmamux1 72 0x400 0x1>;
dmas = <&dmamux1 71 0x400 0x15>,
<&dmamux1 72 0x400 0x11>;
dma-names = "rx", "tx";
status = "disabled";
};
Expand Down

0 comments on commit e1b933d

Please sign in to comment.