usb: gadget: pxa27x_udc: add devicetree support
authorRobert Jarzmik <robert.jarzmik@free.fr>
Wed, 1 Oct 2014 20:06:16 +0000 (22:06 +0200)
committerFelipe Balbi <balbi@ti.com>
Mon, 3 Nov 2014 16:00:57 +0000 (10:00 -0600)
commit1803fe15ad54e68aae8b2b44e04a635e9b5d52f2
treeb25968ba38b306e61a8f17979069c377302e035e
parent3ec8347bfa6e671666d04fc62c8302f5ffa344ba
usb: gadget: pxa27x_udc: add devicetree support

Add support for device-tree device discovery. If devicetree is not
provided, fallback to legacy platform data "discovery".

Signed-off-by: Robert Jarzmik <robert.jarzmik@free.fr>
Cc: devicetree@vger.kernel.org
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/gadget/udc/pxa27x_udc.c