]> git.dujemihanovic.xyz Git - u-boot.git/commit
drivers: serial: probe all uart devices
authorVabhav Sharma <vabhav.sharma@nxp.com>
Wed, 9 Dec 2020 05:12:04 +0000 (10:42 +0530)
committerTom Rini <trini@konsulko.com>
Sat, 16 Jan 2021 19:49:09 +0000 (14:49 -0500)
commit67b2ed024373f830ffe10fd19b2533d093664ec8
tree304db4316a43259cdaa3bea27ecce2f4848d19ad
parenta59153dfebb065663fef64827e73aa771c683960
drivers: serial: probe all uart devices

U-Boot DM model probe only single device at a time
which is enabled and configured using device tree
or platform data method.

PL011 UART IP is SBSA compliant and firmware does the
serial port set-up, initialization and let the kernel use
UART port for sending and receiving characters.

Normally software talk to one serial port time but some
LayerScape platform require all the UART devices enabled
in Linux for various use case.

Adding support to probe all enabled serial devices like SBSA
compliant PL011 UART ports probe and initialization by firmware.

Signed-off-by: Vabhav Sharma <vabhav.sharma@nxp.com>
Reviewed-by: Stefan Roese <sr@denx.de>
Reviewed-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Sean Anderson <seanga2@gmail.com>
drivers/serial/Kconfig
drivers/serial/serial-uclass.c