usb: musb: dsps: implement ->set_mode()
authorFelipe Balbi <balbi@ti.com>
Tue, 29 Oct 2013 17:17:16 +0000 (12:17 -0500)
committerFelipe Balbi <balbi@ti.com>
Tue, 26 Nov 2013 16:35:14 +0000 (10:35 -0600)
commit943c13971c08ddeb06f4cb9dea1addb76f6b4423
tree0712df52363977e91d0f4d875c51e7e7e885358d
parent989c78dd56307c85f710533130a2a464f6f3c5ae
usb: musb: dsps: implement ->set_mode()

this will let us support broken designs such
as AM335x EVM SK where ID pin isn't routed
anywhere on a host port.

With this we can toggle internal IDDIG signal
and make sure MUSB goes into host mode as
necessary.

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