* Usb Gadget Devicetree override @ 2012-06-25 20:21 Alexandre Pereira da Silva [not found] ` <1340655704-30398-1-git-send-email-aletes.xgr-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> 0 siblings, 1 reply; 2+ messages in thread From: Alexandre Pereira da Silva @ 2012-06-25 20:21 UTC (permalink / raw) To: Felipe Balbi, Greg Kroah-Hartman, linux-usb, linux-kernel, Grant Likely, Rob Herring, devicetree-discuss Hi, This series is a proposal to enable the devicetree udc node to override the gadget driver information, instead of using module arguments. Please, let me know if this seems ok. If so, I can repost this as a full patch set including all udc and gadget drivers. Thanks. ^ permalink raw reply [flat|nested] 2+ messages in thread
[parent not found: <1340655704-30398-1-git-send-email-aletes.xgr-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>]
* [RFC 1/2] usb: gadget: lpc32xx_udc: Propagate devicetree information [not found] ` <1340655704-30398-1-git-send-email-aletes.xgr-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> @ 2012-06-25 20:21 ` Alexandre Pereira da Silva 0 siblings, 0 replies; 2+ messages in thread From: Alexandre Pereira da Silva @ 2012-06-25 20:21 UTC (permalink / raw) To: Felipe Balbi, Greg Kroah-Hartman, linux-usb-u79uwXL29TY76Z2rM5mHXA, linux-kernel-u79uwXL29TY76Z2rM5mHXA, Grant Likely, Rob Herring, devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ Cc: Alexandre Pereira da Silva Fills the gadget.dev.of_node, so gadget drivers can use devicetree nodes Signed-off-by: Alexandre Pereira da Silva <aletes.xgr-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> --- drivers/usb/gadget/lpc32xx_udc.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/usb/gadget/lpc32xx_udc.c b/drivers/usb/gadget/lpc32xx_udc.c index 93a901b..551c0e9 100644 --- a/drivers/usb/gadget/lpc32xx_udc.c +++ b/drivers/usb/gadget/lpc32xx_udc.c @@ -3005,6 +3005,7 @@ static int lpc32xx_start(struct usb_gadget_driver *driver, udc->driver = driver; udc->gadget.dev.driver = &driver->driver; + udc->gadget.dev.of_node = udc->dev->of_node; udc->enabled = 1; udc->selfpowered = 1; udc->vbus = 0; -- 1.7.10 -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html ^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-06-25 20:21 UTC | newest] Thread overview: 2+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2012-06-25 20:21 Usb Gadget Devicetree override Alexandre Pereira da Silva [not found] ` <1340655704-30398-1-git-send-email-aletes.xgr-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> 2012-06-25 20:21 ` [RFC 1/2] usb: gadget: lpc32xx_udc: Propagate devicetree information Alexandre Pereira da Silva
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).