MLK-23783-1 imx8: clock: Set rate for USB3 clocks
authorYe Li <ye.li@nxp.com>
Mon, 13 Apr 2020 15:10:41 +0000 (08:10 -0700)
committerYe Li <ye.li@nxp.com>
Thu, 29 Apr 2021 10:25:57 +0000 (03:25 -0700)
commit7833612484ea0b7149e2b2b552faf123b1d6c307
tree89ec08a7a658e85b390a2693bb472983b17cd313
parentb0cabd635f4bb3580db7d3c41c997990d0dc6d4f
MLK-23783-1 imx8: clock: Set rate for USB3 clocks

Current codes depend on default clock setting on SCFW, but on QXP c0, the
USB3 BUS clock requires a lower clock at 250Mhz. Found USB TRB error on
8DX (QXP c0), if we use default 500Mhz bus clock.

Per SCFW suggestion, SW should be responsible for setting up these clocks
not depending on SCFW. So adding the clock set rate for all USB3 clocks

Signed-off-by: Ye Li <ye.li@nxp.com>
Reviewe-by: Peng Fan <peng.fan@nxp.com>
(cherry picked from commit 601da3c130fc6b0a864645009cf50c2d4a884d39)
(cherry picked from commit 04cf5746dc0dd8c31902c783c93d2031caf17a6f)
arch/arm/mach-imx/imx8/clock.c