usb: musb: dsps: control musb speed based on dts setting
authorBin Liu <b-liu@ti.com>
Wed, 9 Sep 2015 16:56:18 +0000 (11:56 -0500)
committerFelipe Balbi <balbi@ti.com>
Sun, 27 Sep 2015 15:54:31 +0000 (10:54 -0500)
commit41932b9b8adc14b5650e8909f66d5bd08619b81c
treec264c47376124f961236b91cedc6e2c9c15538db
parent9b7537642cb6ad400ee4a95114582ba758b3009c
usb: musb: dsps: control musb speed based on dts setting

Set musb config->maximum_speed based on the dts setting to control musb
speed.

By default musb works in high-speed mode. Adding

maximum-speed = "full-speed";

to dts usb node will force musb to full-speed mode.

Signed-off-by: Bin Liu <b-liu@ti.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/musb/musb_dsps.c