What if, if control module interface (register defintions) varies b/w different revision or spin of same type of SoCs, if usbphy type is changed.Hi,
On Tue, Jan 15, 2013 at 08:09:22PM +0530, kishon wrote:Hi Arnd,This has an
On Tuesday 15 January 2013 07:11 PM, Arnd Bergmann wrote:On Tuesday 15 January 2013, Kishon Vijay Abraham I wrote:Added a new driver for the usb part of control module.device mode.API to power on the USB2 phy and an API to write to the mailbox
depending on whether MUSB has to act in host mode or in
task which
Writing to control module registers for doing the abovefolders, so If itwas previously done in omap glue and in omap-usb2 phy is removed.
Also added the dt data to get MUSB working in OMAP platforms.
This series has patches for both drivers and ARCH
one patch.has to be split I'll do it.
The series looks good to me, I just had a minor comment onany plans on
One a somewhat related topic, I wonder whether there areglues to beyour side to change this driver to support multiple buswe may needbuilt for one kernel image. With a multiplatform kernel,changes inall of TUSB6010/OMAP2PLUS/DSPS/UX500 for instance.
We don't have plans as of now. I actually don't expect anythe driver other than the Kconfig changes. Anyways theprobe of glue'sother than the platform it's running won't get called. right Felipe?
If understand correctly the control module driver used to configure the respective usb phy of SoC to respective usb modes using the common set of control module APIs.
Whether cpu_is_xxx() can be used to differentiate b/w different cpu types in CM driver?Not needed at all IMHO. We can use revision register to differentiate.