clk: davinci: psc-da830: fix USB0 48MHz PHY clock registration
authorSekhar Nori <nsekhar@ti.com>
Mon, 7 May 2018 11:34:57 +0000 (17:04 +0530)
committerStephen Boyd <sboyd@kernel.org>
Tue, 15 May 2018 22:33:52 +0000 (15:33 -0700)
commita714dceb721407c2a5d2887938f37e34ed00669c
tree8fa1e5b8db61828c25a5d1346abf28854ecfff36
parent60cc43fc888428bb2f18f08997432d426a243338
clk: davinci: psc-da830: fix USB0 48MHz PHY clock registration

USB0 48MHz PHY clock registration fails on DA830 because the
da8xx-cfgchip clock driver cannot get a reference to USB0
LPSC clock.

The USB0 LPSC needs to be enabled during PHY clock enable. Setup
the clock lookup correctly to fix this.

Signed-off-by: Sekhar Nori <nsekhar@ti.com>
Reviewed-by: David Lechner <david@lechnology.com>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
drivers/clk/davinci/psc-da830.c