Skip to contentSkip to conversation

i.MX USB Re-Structure

DISCUSSION Peter Chen 5 participants 8 messages May 10, 2012 – May 11, 2012

lore
Share & tools
lore

Peter Chen

author
#0 lore raw

Hi Sascha,

Recently, Alexander Shishkin has posted new chipidea patchset
(http://www.spinics.net/lists/linux-usb/msg62975.html)
to support USB driver who use chipidea core. In his structure, all controller related files (like ehci-mxc.c, fsl-udc-core.c, etc) will be drivers/usb/chipidea, and no related file will be host, gadget and otg again.

So, it will be different with marek has posted i.mx28 USB driver, and also different with your proposal in the past. But I think you and marek may prefer Alexander's structure, and would like use it for i.mx in future, correct?

If it is, I may need to cease Freescale i.mx6q USB driver development with your old proposal (Marek mx28 style's). Let me know your suggestion.

Signature · 2 lines
Best Regards,
Peter Chen
#1 lore raw

Dear Peter Chen,

Quoted 9 lines

Hi Sascha,

Recently, Alexander Shishkin has posted new chipidea patchset
(http://www.spinics.net/lists/linux-usb/msg62975.html)
to support USB driver who use chipidea core. In his structure, all controller related files (like ehci-mxc.c, fsl-udc-core.c, etc) will be drivers/usb/chipidea, and no related file will be host, gadget and otg again.

Quoted 4 lines

So, it will be different with marek has posted i.mx28 USB driver, and also different with your proposal in the past. But I think you and marek may prefer Alexander's structure, and would like use it for i.mx in future, correct?

I noticed the patchset, I don't mind doing another round of rework. The patches look very good actually, very helpful for our purpose too.

Quoted 2 lines

If it is, I may need to cease Freescale i.mx6q USB driver development with your old proposal (Marek mx28 style's). Let me know your suggestion.

SHA's adding mx6q support to my patches?

Best regards,
Marek Vasut

#4 lore raw
In reply to Peter Chen
Quoted 9 lines · Peter Chen

Hi Sascha,

Recently, Alexander Shishkin has posted new chipidea patchset
(http://www.spinics.net/lists/linux-usb/msg62975.html)
to support USB driver who use chipidea core. In his structure, all controller related files (like ehci-mxc.c, fsl-udc-core.c, etc) will be drivers/usb/chipidea, and no related file will be host, gadget and otg again.

Quoted 4 lines

So, it will be different with marek has posted i.mx28 USB driver, and also different with your proposal in the past. But I think you and marek may prefer Alexander's structure, and would like use it for i.mx in future, correct?

I was not aware of this patchset. I only had a short look at it, but yes, it seems to be the way to go, for all SoCs supporting this hardware, be it i.MX, MXS or something else.

Sascha

Signature · 4 lines
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |
#5 lore raw

Dear Sascha Hauer,

Quoted 10 lines · Peter Chen
Quoted 9 lines

Hi Sascha,

Recently, Alexander Shishkin has posted new chipidea patchset
(http://www.spinics.net/lists/linux-usb/msg62975.html)
to support USB driver who use chipidea core. In his structure, all controller related files (like ehci-mxc.c, fsl-udc-core.c, etc) will be drivers/usb/chipidea, and no related file will be host, gadget and otg again.

Quoted 8 lines
Quoted 4 lines

So, it will be different with marek has posted i.mx28 USB driver, and also different with your proposal in the past. But I think you and marek may prefer Alexander's structure, and would like use it for i.mx in future, correct?

I was not aware of this patchset. I only had a short look at it, but yes, it seems to be the way to go, for all SoCs supporting this hardware, be it i.MX, MXS or something else.

Correct, I can't but agree here.

Quoted 1 line

Sascha

Best regards,
Marek Vasut

#6 lore raw
Quoted 12 lines · Marek Vasut

Dear Sascha Hauer,

Quoted 10 lines · Peter Chen
Quoted 9 lines

Hi Sascha,

Recently, Alexander Shishkin has posted new chipidea patchset
(http://www.spinics.net/lists/linux-usb/msg62975.html)
to support USB driver who use chipidea core. In his structure, all controller related files (like ehci-mxc.c, fsl-udc-core.c, etc) will be drivers/usb/chipidea, and no related file will be host, gadget and otg again.

Quoted 8 lines
Quoted 7 lines
Quoted 4 lines

So, it will be different with marek has posted i.mx28 USB driver, and also different with your proposal in the past. But I think you and marek may prefer Alexander's structure, and would like use it for i.mx in future, correct?

I was not aware of this patchset. I only had a short look at it, but yes, it seems to be the way to go, for all SoCs supporting this hardware, be it i.MX, MXS or something else.

Correct, I can't but agree here.

http://www.spinics.net/lists/linux-usb/msg63064.html

In followup message referenced above Felipe Balbi said he can't put above patch in v3.5 pull and has to be deferred till 3.6.

So are we left with roll your own i.MX USB support for 3.5? Is Marek's work going to be part of 3.5 pull?

-Subodh

#7 lore raw

Dear Subodh Nijsure,

Quoted 24 lines · Marek Vasut
Quoted 17 lines

Dear Sascha Hauer,

Quoted 15 lines · Peter Chen
Quoted 13 lines

Hi Sascha,

Recently, Alexander Shishkin has posted new chipidea patchset
(http://www.spinics.net/lists/linux-usb/msg62975.html)
to support USB driver who use chipidea core. In his structure, all controller related files (like ehci-mxc.c, fsl-udc-core.c, etc) will be drivers/usb/chipidea, and no related file will be host, gadget and otg again.

So, it will be different with marek has posted i.mx28 USB driver, and also different with your proposal in the past. But I think you and marek may prefer Alexander's structure, and would like use it for i.mx in future, correct?

Quoted 5 lines
Quoted 3 lines

I was not aware of this patchset. I only had a short look at it, but yes, it seems to be the way to go, for all SoCs supporting this hardware, be it i.MX, MXS or something else.

Correct, I can't but agree here.

Quoted 7 lines

http://www.spinics.net/lists/linux-usb/msg63064.html

In followup message referenced above Felipe Balbi said he can't put above patch in v3.5 pull and has to be deferred till 3.6.

So are we left with roll your own i.MX USB support for 3.5? Is Marek's work going to be part of 3.5 pull?

It won't, it's still RFC. Also, I'd like to flip my work on top of this ci13xxx rework. But for that, it'd be cool if it was possible to push it into v3.5, it'd help a lot. So can we possibly make a compromise in here ?

Quoted 2 lines

-Subodh

Best regards,
Marek Vasut

#2 lore raw
In reply to Marek Vasut
Quoted 8 lines
Quoted 4 lines

If it is, I may need to cease Freescale i.mx6q USB driver development with your old proposal (Marek mx28 style's). Let me know your

suggestion.

SHA's adding mx6q support to my patches?

Sorry, who is SHA?

Quoted 2 lines

Best regards,
Marek Vasut

#3 lore raw

Dear Chen Peter-B29397,

Quoted 8 lines
Quoted 6 lines
Quoted 2 lines

If it is, I may need to cease Freescale i.mx6q USB driver development with your old proposal (Marek mx28 style's). Let me know your

suggestion.

SHA's adding mx6q support to my patches?

Sorry, who is SHA?

Sascha Hauer ... I guess ?

Quoted 3 lines
Quoted 3 lines

Best regards,
Marek Vasut

Best regards,
Marek Vasut