[PATCH v2 2/3] USB: add of_platform glue driver for FSL USB DR controller

2010-09-28 Thread Anatolij Gustschin
The driver creates platform devices based on the information from USB nodes in the flat device tree. This is the replacement for old arch fsl_soc usb code removed by the previous patch. It uses usual of-style binding, available EHCI-HCD and UDC drivers can be bound to the created devices. The new o

Re: [PATCH v2 2/3] USB: add of_platform glue driver for FSL USB DR controller

2010-09-28 Thread Grant Likely
Hi Anatolij Looks pretty good. Comments below. Main comment is that with the recent changes in mainline, this no longer needs to be an of_platform_driver. It can be a plain old platform_driver instead. It gets registered as a platform_driver anyway, but of_platform_driver is a shim that adds a

Re: [PATCH v2 2/3] USB: add of_platform glue driver for FSL USB DR controller

2010-09-28 Thread Anatolij Gustschin
Hi Grant, On Tue, 28 Sep 2010 19:01:28 +0900 Grant Likely wrote: ... > Looks pretty good. Comments below. Main comment is that with the > recent changes in mainline, this no longer needs to be an > of_platform_driver. It can be a plain old platform_driver instead. > It gets registered as a pla