]> git.baikalelectronics.ru Git - uboot.git/commit
serial: mxc: enable the RX pipeline
authorJohannes Schneider <johannes.schneider@leica-geosystems.com>
Tue, 6 Sep 2022 12:15:03 +0000 (14:15 +0200)
committerStefano Babic <sbabic@denx.de>
Sun, 18 Sep 2022 20:56:10 +0000 (22:56 +0200)
commit84a0884b24ea62a2582498a9abd4c904a2b39986
treee6bb272c0334fc1276020d80b080996058b2fbba
parent2a70f95b372127b5a305386b8c4ea9f786c8ac77
serial: mxc: enable the RX pipeline

on imx8(mm) the RXDMUXSEL needs to be set for data going over the wire
(as observable on a connected 'scope) to actually make it into the
RXFIFO

the reference manual is not overly clear about this, and only
mentiones that "UCR3_RXDMUXSEL should always be set." - and since the
CR3 register reverts to its reset values after setting the baudrate,
setting this bit is done during '_mxc_serial_setbgr'

Signed-off-by: Johannes Schneider <johannes.schneider@leica-geosystems.com>
Reviewed-by: Peng Fan <peng.fan@nxp.com>
Reviewed-by: Fabio Estevam <festevam@denx.de>
drivers/serial/serial_mxc.c