]> git.dujemihanovic.xyz Git - u-boot.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)
commit25b7ce32871f94b96385b31e4bd6b1fd830cccd7
treee6bb272c0334fc1276020d80b080996058b2fbba
parentb7d29fd8a7b3502cfe1bcb86a897dae82ef6e49d
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