usb: phy: nop: Manage PHY clock
authorRoger Quadros <rogerq@ti.com>
Tue, 12 Mar 2013 11:24:21 +0000 (13:24 +0200)
committerFelipe Balbi <balbi@ti.com>
Mon, 18 Mar 2013 09:14:40 +0000 (11:14 +0200)
commit2319fb88e16e56c64d4f3ab50af69ed6dadbc7b5
treeca4b7f2c7223f46054c301911465b35e585d5cfb
parente4d7dc6674efd798792adbd689986cde5422aa62
usb: phy: nop: Manage PHY clock

If the PHY has a clock associated to it then manage the clock.
We just enable the clock in .init() and disable it in .shutdown().

Add clk_rate parameter in platform data and configure the
clock rate during probe if supplied.

Signed-off-by: Roger Quadros <rogerq@ti.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/otg/nop-usb-xceiv.c