]> git.baikalelectronics.ru Git - kernel.git/commit
soc: rockchip: set dwc3 clock for rk3566
authorPeter Geis <pgwipeout@gmail.com>
Fri, 8 Apr 2022 15:12:34 +0000 (11:12 -0400)
committerHeiko Stuebner <heiko@sntech.de>
Sun, 10 Apr 2022 16:39:05 +0000 (18:39 +0200)
commit99d03aa20ba55bd24891db09ddbb1f78c76d392d
tree42f0c41aef738d59f34ec7a6a78bbfca3c1a3439
parent711f84f17ed9cf8c3bcb0b67638b166d6050f50c
soc: rockchip: set dwc3 clock for rk3566

The rk3566 dwc3 otg port clock is unavailable at boot, as it defaults to
the combophy as the clock source. As combophy0 doesn't exist on rk3566,
we need to set the clock source to the usb2 phy instead.

Add handling to the grf driver to handle this on boot.

Signed-off-by: Peter Geis <pgwipeout@gmail.com>
Link: https://lore.kernel.org/r/20220408151237.3165046-3-pgwipeout@gmail.com
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
drivers/soc/rockchip/grf.c