clk: rockchip: Limit use of USB PHY clock to USB on rk3288
authorMatthias Kaehlcke <mka@chromium.org>
Thu, 11 Apr 2019 17:59:17 +0000 (10:59 -0700)
committerHeiko Stuebner <heiko@sntech.de>
Fri, 12 Apr 2019 09:28:50 +0000 (11:28 +0200)
commitbf297420cce5c6c6de477d27271d9f4645633dad
tree9909e30ffe0dd65b619b4729f819b9ee947642f1
parent00c0cd9e59d265b393553e9afa54fee8b10e8158
clk: rockchip: Limit use of USB PHY clock to USB on rk3288

The USB PHY clock can be configured as (grand) parent of uart0_sclk and
sclk_gpu. It has been observed that UART0 doesn't work reliably in high
speed mode with the PHY clock as input when certain USB devices are
plugged to the USB HOST1 port (see https://crrev.com/c/320543).

Prefix the name of the PHY clock with a '.' in the non-USB muxes to
effectively remove the clock as input from these muxes.

Signed-off-by: Matthias Kaehlcke <mka@chromium.org>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
drivers/clk/rockchip/clk-rk3288.c