IPQ40xx: clk: add USB clock handling
authorRobert Marko <robert.marko@sartura.hr>
Wed, 28 Oct 2020 12:56:26 +0000 (13:56 +0100)
committerTom Rini <trini@konsulko.com>
Tue, 1 Dec 2020 19:12:28 +0000 (14:12 -0500)
commita282ada1987ca85826e6f47bb6e3c48a17e11098
tree7da0bb72c7c9060ad5051c707fc6c62059cf5bf4
parent20476b51aa4d77c774f14671a185b5ac94f86c49
IPQ40xx: clk: add USB clock handling

USB clocks were completely forgotten as driver would always return 0 even if clock ID was unknown.

This behaviour changed with "IPQ40xx: clk: dont always return 0" and this will now causes the USB-s to fail probing as clock enable will return -EINVAL.

So to fix that lets add all of the USB clocks to the driver.

Fixes: 430e1dcf ("IPQ40xx: Add USB nodes")

Signed-off-by: Robert Marko <robert.marko@sartura.hr>
Cc: Luka Perkov <luka.perkov@sartura.hr>
arch/arm/mach-ipq40xx/clock-ipq4019.c