]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/commitdiff
5.15-stable patches
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 16 Jun 2022 13:13:01 +0000 (15:13 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 16 Jun 2022 13:13:01 +0000 (15:13 +0200)
added patches:
arm64-dts-imx8mm-beacon-enable-rts-cts-on-uart3.patch
arm64-dts-imx8mn-beacon-enable-rts-cts-on-uart3.patch

queue-5.15/arm64-dts-imx8mm-beacon-enable-rts-cts-on-uart3.patch [new file with mode: 0644]
queue-5.15/arm64-dts-imx8mn-beacon-enable-rts-cts-on-uart3.patch [new file with mode: 0644]
queue-5.15/series

diff --git a/queue-5.15/arm64-dts-imx8mm-beacon-enable-rts-cts-on-uart3.patch b/queue-5.15/arm64-dts-imx8mm-beacon-enable-rts-cts-on-uart3.patch
new file mode 100644 (file)
index 0000000..98a6a52
--- /dev/null
@@ -0,0 +1,39 @@
+From 4ce01ce36d77137cf60776b320babed89de6bd4c Mon Sep 17 00:00:00 2001
+From: Adam Ford <aford173@gmail.com>
+Date: Tue, 26 Apr 2022 15:51:43 -0500
+Subject: arm64: dts: imx8mm-beacon: Enable RTS-CTS on UART3
+
+From: Adam Ford <aford173@gmail.com>
+
+commit 4ce01ce36d77137cf60776b320babed89de6bd4c upstream.
+
+There is a header for a DB9 serial port, but any attempts to use
+hardware handshaking fail.  Enable RTS and CTS pin muxing and enable
+handshaking in the uart node.
+
+Signed-off-by: Adam Ford <aford173@gmail.com>
+Signed-off-by: Shawn Guo <shawnguo@kernel.org>
+Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
+---
+ arch/arm64/boot/dts/freescale/imx8mm-beacon-baseboard.dtsi |    3 +++
+ 1 file changed, 3 insertions(+)
+
+--- a/arch/arm64/boot/dts/freescale/imx8mm-beacon-baseboard.dtsi
++++ b/arch/arm64/boot/dts/freescale/imx8mm-beacon-baseboard.dtsi
+@@ -166,6 +166,7 @@
+       pinctrl-0 = <&pinctrl_uart3>;
+       assigned-clocks = <&clk IMX8MM_CLK_UART3>;
+       assigned-clock-parents = <&clk IMX8MM_SYS_PLL1_80M>;
++      uart-has-rtscts;
+       status = "okay";
+ };
+@@ -236,6 +237,8 @@
+               fsl,pins = <
+                       MX8MM_IOMUXC_ECSPI1_SCLK_UART3_DCE_RX   0x40
+                       MX8MM_IOMUXC_ECSPI1_MOSI_UART3_DCE_TX   0x40
++                      MX8MM_IOMUXC_ECSPI1_MISO_UART3_DCE_CTS_B        0x40
++                      MX8MM_IOMUXC_ECSPI1_SS0_UART3_DCE_RTS_B 0x40
+               >;
+       };
diff --git a/queue-5.15/arm64-dts-imx8mn-beacon-enable-rts-cts-on-uart3.patch b/queue-5.15/arm64-dts-imx8mn-beacon-enable-rts-cts-on-uart3.patch
new file mode 100644 (file)
index 0000000..c26924f
--- /dev/null
@@ -0,0 +1,39 @@
+From 5446ff1a67160ad92d9aae9530846aa54750be36 Mon Sep 17 00:00:00 2001
+From: Adam Ford <aford173@gmail.com>
+Date: Tue, 26 Apr 2022 15:51:44 -0500
+Subject: arm64: dts: imx8mn-beacon: Enable RTS-CTS on UART3
+
+From: Adam Ford <aford173@gmail.com>
+
+commit 5446ff1a67160ad92d9aae9530846aa54750be36 upstream.
+
+There is a header for a DB9 serial port, but any attempts to use
+hardware handshaking fail.  Enable RTS and CTS pin muxing and enable
+handshaking in the uart node.
+
+Signed-off-by: Adam Ford <aford173@gmail.com>
+Signed-off-by: Shawn Guo <shawnguo@kernel.org>
+Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
+---
+ arch/arm64/boot/dts/freescale/imx8mn-beacon-baseboard.dtsi |    3 +++
+ 1 file changed, 3 insertions(+)
+
+--- a/arch/arm64/boot/dts/freescale/imx8mn-beacon-baseboard.dtsi
++++ b/arch/arm64/boot/dts/freescale/imx8mn-beacon-baseboard.dtsi
+@@ -176,6 +176,7 @@
+       pinctrl-0 = <&pinctrl_uart3>;
+       assigned-clocks = <&clk IMX8MN_CLK_UART3>;
+       assigned-clock-parents = <&clk IMX8MN_SYS_PLL1_80M>;
++      uart-has-rtscts;
+       status = "okay";
+ };
+@@ -259,6 +260,8 @@
+               fsl,pins = <
+                       MX8MN_IOMUXC_ECSPI1_SCLK_UART3_DCE_RX   0x40
+                       MX8MN_IOMUXC_ECSPI1_MOSI_UART3_DCE_TX   0x40
++                      MX8MN_IOMUXC_ECSPI1_MISO_UART3_DCE_CTS_B        0x40
++                      MX8MN_IOMUXC_ECSPI1_SS0_UART3_DCE_RTS_B 0x40
+               >;
+       };
index a1c85a390f9d4e5163c2b505e8da9adcf3caebd3..1909e677826dd98a0b0a46e57f0d7e5d173c9104 100644 (file)
@@ -1,2 +1,4 @@
 revert-drm-amd-display-fix-dcn3-b0-dp-alt-mapping.patch
 nfsd-replace-use-of-rwsem-with-errseq_t.patch
+arm64-dts-imx8mm-beacon-enable-rts-cts-on-uart3.patch
+arm64-dts-imx8mn-beacon-enable-rts-cts-on-uart3.patch