rockchip: rk3188: add support for usb-uart functionality
authorHeiko Stuebner <[email protected]>
Mon, 8 Oct 2018 11:01:56 +0000 (13:01 +0200)
committerPhilipp Tomsich <[email protected]>
Fri, 30 Nov 2018 18:03:16 +0000 (19:03 +0100)
commit5b5ca4c0d467d06509aba2838e11ab6909439704
tree2a1804702047c9d7323ab8d4adc5c01882b54c9a
parent6d4a3ff2649faa2cf2739e332557f256cc34831e
rockchip: rk3188: add support for usb-uart functionality

Rockchip socs can route the debug uart pins through the d+ and d- pins
of one specific usbphy per soc. Add a config option and implement the
setting on the rk3188.

Signed-off-by: Heiko Stuebner <[email protected]>
Reviewed-by: Philipp Tomsich <[email protected]>
[Fixed up to mark grf as maybe unused:]
Signed-off-by: Philipp Tomsich <[email protected]>
arch/arm/include/asm/arch-rockchip/grf_rk3188.h
arch/arm/mach-rockchip/Kconfig
arch/arm/mach-rockchip/rk3188-board-spl.c