]> 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)
commitd06aae054e207ac17762c47e3ceff20c7426c0fe
treeca4b7f2c7223f46054c301911465b35e585d5cfb
parentc5f4ad1125758f5cec3da437804e622f64c71cea
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