]> git.baikalelectronics.ru Git - kernel.git/commit
usb: phy: nop: Add some parameters to platform data
authorRoger Quadros <rogerq@ti.com>
Tue, 12 Mar 2013 11:24:19 +0000 (13:24 +0200)
committerFelipe Balbi <balbi@ti.com>
Mon, 18 Mar 2013 09:13:54 +0000 (11:13 +0200)
commitca2c2ed23e1be7d61a26da08dca0d12702c93ef0
tree0c81d65676c11a598c266fce48e3020e4ca4efe7
parent3829be578a2ef96ca061ccf37a65232d261a8e76
usb: phy: nop: Add some parameters to platform data

Add clk_rate parameter to platform data. If supplied, the
NOP phy driver will program the clock to that rate during probe.

Also add 2 flags, needs_vcc and needs_reset.
If the flag is set and the regulator couldn't be found
then the driver will bail out with -EPROBE_DEFER.

Signed-off-by: Roger Quadros <rogerq@ti.com>
Acked-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
include/linux/usb/nop-usb-xceiv.h