]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit83f44c64efceec83a254333385aba1ecac7c0c1d
treeca4b7f2c7223f46054c301911465b35e585d5cfb
parentc87cc37d71ec613dbea298169987d65caf590ee5
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