On Thursday, April 19, 2018 02:50 PM, Chris Ruehl wrote:
On Thursday, April 19, 2018 12:25 PM, Chris Ruehl wrote:
Hi,
the commit for 4.9.89
index 521a6e4..f575a33 100644
--- a/drivers/tty/serial/imx.c
+++ b/drivers/tty/serial/imx.c
removes the
- temp |= IMX21_UCR3_RXDMUXSEL ...
and only enable it back if the serial port is in dte_mode at later code
this result in the error that a 'non dte' serial port can't receive, no RXDMUXEL.
The fix is to add IMX21_UCR3_RXDMUXSEL .
--- linux-4.9/drivers/tty/serial/imx.c.orig 2018-04-19 12:19:58.512000000
+0800
+++ linux-4.9/drivers/tty/serial/imx.c 2018-04-19 12:07:26.344000000 +0800
@@ -1316,7 +1316,7 @@
if (!is_imx1_uart(sport)) {
temp = readl(sport->port.membase + UCR3);
- temp |= UCR3_DTRDEN | UCR3_RI | UCR3_DCD;
+ temp |= IMX21_UCR3_RXDMUXSEL | UCR3_DTRDEN | UCR3_RI | UCR3_DCD;
if (sport->dte_mode)
/* disable broken interrupts */
Tested on a IMX6DL
Please consider to add this patch for me. I do not have a actual linux-next
tree to create a patch-set from git.
Regards
Chris
--
To unsubscribe from this list: send the line "unsubscribe linux-serial" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
I'm sorry for the noise.
Found my problem the
fsl,dte-mode;
is missing in our FDT.
Oh not working.. forget my last email
only can make it work with the patch add IMX21_UCR3_RXDMUXSEL
otherwise with fsl,dte-mode my console stop working too.
Chris
--
To unsubscribe from this list: send the line "unsubscribe linux-serial" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html