All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] usb: gadget: fsl: Add FSL USB Gadget entry in platform device id
@ 2014-03-13 14:05 Suresh Gupta
  2014-03-13 15:26 ` Felipe Balbi
  0 siblings, 1 reply; 11+ messages in thread
From: Suresh Gupta @ 2014-03-13 14:05 UTC (permalink / raw)
  To: balbi, gregkh; +Cc: linux-usb, linux-kernel, suresh.gupta, Suresh Gupta

From: Suresh Gupta <B42813@freescale.com>

	Add FSL USB Gadget entry in platform device id table

Signed-off-by: Suresh Gupta <B42813@freescale.com>
---
 drivers/usb/gadget/fsl_udc_core.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/drivers/usb/gadget/fsl_udc_core.c b/drivers/usb/gadget/fsl_udc_core.c
index b7dea4e..35b20e6 100644
--- a/drivers/usb/gadget/fsl_udc_core.c
+++ b/drivers/usb/gadget/fsl_udc_core.c
@@ -2654,6 +2654,8 @@ static const struct platform_device_id fsl_udc_devtype[] = {
 	}, {
 		.name = "imx-udc-mx51",
 	}, {
+		.name = "fsl-usb2-udc",
+	}, {
 		/* sentinel */
 	}
 };
-- 
1.7.11.7



^ permalink raw reply related	[flat|nested] 11+ messages in thread

* Re: [PATCH] usb: gadget: fsl: Add FSL USB Gadget entry in platform device id
  2014-03-13 14:05 [PATCH] usb: gadget: fsl: Add FSL USB Gadget entry in platform device id Suresh Gupta
@ 2014-03-13 15:26 ` Felipe Balbi
  2014-03-14 20:52   ` suresh.gupta
  0 siblings, 1 reply; 11+ messages in thread
From: Felipe Balbi @ 2014-03-13 15:26 UTC (permalink / raw)
  To: Suresh Gupta; +Cc: balbi, gregkh, linux-usb, linux-kernel, Suresh Gupta

[-- Attachment #1: Type: text/plain, Size: 760 bytes --]

On Thu, Mar 13, 2014 at 07:35:31PM +0530, Suresh Gupta wrote:
> From: Suresh Gupta <B42813@freescale.com>
> 
> 	Add FSL USB Gadget entry in platform device id table

why this tab ?

> Signed-off-by: Suresh Gupta <B42813@freescale.com>
> ---
>  drivers/usb/gadget/fsl_udc_core.c | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/drivers/usb/gadget/fsl_udc_core.c b/drivers/usb/gadget/fsl_udc_core.c
> index b7dea4e..35b20e6 100644
> --- a/drivers/usb/gadget/fsl_udc_core.c
> +++ b/drivers/usb/gadget/fsl_udc_core.c
> @@ -2654,6 +2654,8 @@ static const struct platform_device_id fsl_udc_devtype[] = {
>  	}, {
>  		.name = "imx-udc-mx51",
>  	}, {
> +		.name = "fsl-usb2-udc",

why aren't you just using chipidea ?

-- 
balbi

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]

^ permalink raw reply	[flat|nested] 11+ messages in thread

* RE: [PATCH] usb: gadget: fsl: Add FSL USB Gadget entry in platform device id
  2014-03-13 15:26 ` Felipe Balbi
@ 2014-03-14 20:52   ` suresh.gupta
  2014-03-15  1:40     ` Felipe Balbi
  0 siblings, 1 reply; 11+ messages in thread
From: suresh.gupta @ 2014-03-14 20:52 UTC (permalink / raw)
  To: balbi; +Cc: gregkh, linux-usb, linux-kernel

Hi,
Thanks for reviewing my patches.
Please find my comments inline

-----Original Message-----
From: Felipe Balbi [mailto:balbi@ti.com] 
Sent: Thursday, March 13, 2014 8:56 PM
To: Gupta Suresh-B42813
Cc: balbi@ti.com; gregkh@linuxfoundation.org; linux-usb@vger.kernel.org; linux-kernel@vger.kernel.org; Gupta Suresh-B42813
Subject: Re: [PATCH] usb: gadget: fsl: Add FSL USB Gadget entry in platform device id

On Thu, Mar 13, 2014 at 07:35:31PM +0530, Suresh Gupta wrote:
> From: Suresh Gupta <B42813@freescale.com>
> 
> 	Add FSL USB Gadget entry in platform device id table

why this tab ?
[SuresH] I will remove it in next version. 

> Signed-off-by: Suresh Gupta <B42813@freescale.com>
> ---
>  drivers/usb/gadget/fsl_udc_core.c | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/drivers/usb/gadget/fsl_udc_core.c b/drivers/usb/gadget/fsl_udc_core.c
> index b7dea4e..35b20e6 100644
> --- a/drivers/usb/gadget/fsl_udc_core.c
> +++ b/drivers/usb/gadget/fsl_udc_core.c
> @@ -2654,6 +2654,8 @@ static const struct platform_device_id fsl_udc_devtype[] = {
>  	}, {
>  		.name = "imx-udc-mx51",
>  	}, {
> +		.name = "fsl-usb2-udc",

why aren't you just using chipidea ?
[SuresH] This is our legacy driver for all previous and existing ppc socs. Many of our customers are already using this, and we need to support them on this driver. We do have plans to shift to chipidea, but after some time. 

-- 
Thanks
SuresH

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [PATCH] usb: gadget: fsl: Add FSL USB Gadget entry in platform device id
  2014-03-14 20:52   ` suresh.gupta
@ 2014-03-15  1:40     ` Felipe Balbi
  2014-03-19 14:25       ` suresh.gupta
  0 siblings, 1 reply; 11+ messages in thread
From: Felipe Balbi @ 2014-03-15  1:40 UTC (permalink / raw)
  To: suresh.gupta; +Cc: balbi, gregkh, linux-usb, linux-kernel

[-- Attachment #1: Type: text/plain, Size: 1748 bytes --]

On Fri, Mar 14, 2014 at 08:52:19PM +0000, suresh.gupta@freescale.com wrote:
> Hi,
> Thanks for reviewing my patches.
> Please find my comments inline
> 
> -----Original Message-----
> From: Felipe Balbi [mailto:balbi@ti.com] 
> Sent: Thursday, March 13, 2014 8:56 PM
> To: Gupta Suresh-B42813
> Cc: balbi@ti.com; gregkh@linuxfoundation.org; linux-usb@vger.kernel.org; linux-kernel@vger.kernel.org; Gupta Suresh-B42813
> Subject: Re: [PATCH] usb: gadget: fsl: Add FSL USB Gadget entry in platform device id
> 
> On Thu, Mar 13, 2014 at 07:35:31PM +0530, Suresh Gupta wrote:
> > From: Suresh Gupta <B42813@freescale.com>
> > 
> > 	Add FSL USB Gadget entry in platform device id table
> 
> why this tab ?
> [SuresH] I will remove it in next version. 
> 
> > Signed-off-by: Suresh Gupta <B42813@freescale.com>
> > ---
> >  drivers/usb/gadget/fsl_udc_core.c | 2 ++
> >  1 file changed, 2 insertions(+)
> > 
> > diff --git a/drivers/usb/gadget/fsl_udc_core.c b/drivers/usb/gadget/fsl_udc_core.c
> > index b7dea4e..35b20e6 100644
> > --- a/drivers/usb/gadget/fsl_udc_core.c
> > +++ b/drivers/usb/gadget/fsl_udc_core.c
> > @@ -2654,6 +2654,8 @@ static const struct platform_device_id fsl_udc_devtype[] = {
> >  	}, {
> >  		.name = "imx-udc-mx51",
> >  	}, {
> > +		.name = "fsl-usb2-udc",
> 
> why aren't you just using chipidea ?
> [SuresH] This is our legacy driver for all previous and existing ppc
> socs. Many of our customers are already using this, and we need to
> support them on this driver. We do have plans to shift to chipidea,
> but after some time. 

cool, you already have plans, so we will see a new glue layer for v3.16
right ? Which means I don't need to take this patch either.

-- 
balbi

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]

^ permalink raw reply	[flat|nested] 11+ messages in thread

* RE: [PATCH] usb: gadget: fsl: Add FSL USB Gadget entry in platform device id
  2014-03-15  1:40     ` Felipe Balbi
@ 2014-03-19 14:25       ` suresh.gupta
  2014-03-19 16:51         ` gregkh
  0 siblings, 1 reply; 11+ messages in thread
From: suresh.gupta @ 2014-03-19 14:25 UTC (permalink / raw)
  To: balbi; +Cc: gregkh, linux-usb, linux-kernel

Hi

> -----Original Message-----
> From: Felipe Balbi [mailto:balbi@ti.com]
> Sent: Saturday, March 15, 2014 7:10 AM
> To: Gupta Suresh-B42813
> Cc: balbi@ti.com; gregkh@linuxfoundation.org; linux-usb@vger.kernel.org;
> linux-kernel@vger.kernel.org
> Subject: Re: [PATCH] usb: gadget: fsl: Add FSL USB Gadget entry in
> platform device id
> 
> On Fri, Mar 14, 2014 at 08:52:19PM +0000, suresh.gupta@freescale.com
> wrote:
> > Hi,
> > Thanks for reviewing my patches.
> > Please find my comments inline
> >
> > -----Original Message-----
> > From: Felipe Balbi [mailto:balbi@ti.com]
> > Sent: Thursday, March 13, 2014 8:56 PM
> > To: Gupta Suresh-B42813
> > Cc: balbi@ti.com; gregkh@linuxfoundation.org;
> > linux-usb@vger.kernel.org; linux-kernel@vger.kernel.org; Gupta
> > Suresh-B42813
> > Subject: Re: [PATCH] usb: gadget: fsl: Add FSL USB Gadget entry in
> > platform device id
> >
> > On Thu, Mar 13, 2014 at 07:35:31PM +0530, Suresh Gupta wrote:
> > > From: Suresh Gupta <B42813@freescale.com>
> > >
> > > 	Add FSL USB Gadget entry in platform device id table
> >
> > why this tab ?
> > [SuresH] I will remove it in next version.
> >
> > > Signed-off-by: Suresh Gupta <B42813@freescale.com>
> > > ---
> > >  drivers/usb/gadget/fsl_udc_core.c | 2 ++
> > >  1 file changed, 2 insertions(+)
> > >
> > > diff --git a/drivers/usb/gadget/fsl_udc_core.c
> > > b/drivers/usb/gadget/fsl_udc_core.c
> > > index b7dea4e..35b20e6 100644
> > > --- a/drivers/usb/gadget/fsl_udc_core.c
> > > +++ b/drivers/usb/gadget/fsl_udc_core.c
> > > @@ -2654,6 +2654,8 @@ static const struct platform_device_id
> fsl_udc_devtype[] = {
> > >  	}, {
> > >  		.name = "imx-udc-mx51",
> > >  	}, {
> > > +		.name = "fsl-usb2-udc",
> >
> > why aren't you just using chipidea ?
> > [SuresH] This is our legacy driver for all previous and existing ppc
> > socs. Many of our customers are already using this, and we need to
> > support them on this driver. We do have plans to shift to chipidea,
> > but after some time.
> 
> cool, you already have plans, so we will see a new glue layer for v3.16
> right ? Which means I don't need to take this patch either.
> 
we do have plans, but in remote future. Right now, we need to support
customers on the present legacy driver. We'll phase out this driver 
slowly when we integrate chipidea. At this time I would request you 
to please accept this patch

---
Thanks
SuresH

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [PATCH] usb: gadget: fsl: Add FSL USB Gadget entry in platform device id
  2014-03-19 14:25       ` suresh.gupta
@ 2014-03-19 16:51         ` gregkh
  2014-03-19 18:03           ` suresh.gupta
                             ` (2 more replies)
  0 siblings, 3 replies; 11+ messages in thread
From: gregkh @ 2014-03-19 16:51 UTC (permalink / raw)
  To: suresh.gupta; +Cc: balbi, linux-usb, linux-kernel

On Wed, Mar 19, 2014 at 02:25:25PM +0000, suresh.gupta@freescale.com wrote:
> Hi
> 
> > -----Original Message-----
> > From: Felipe Balbi [mailto:balbi@ti.com]
> > Sent: Saturday, March 15, 2014 7:10 AM
> > To: Gupta Suresh-B42813
> > Cc: balbi@ti.com; gregkh@linuxfoundation.org; linux-usb@vger.kernel.org;
> > linux-kernel@vger.kernel.org
> > Subject: Re: [PATCH] usb: gadget: fsl: Add FSL USB Gadget entry in
> > platform device id
> > 
> > On Fri, Mar 14, 2014 at 08:52:19PM +0000, suresh.gupta@freescale.com
> > wrote:
> > > Hi,
> > > Thanks for reviewing my patches.
> > > Please find my comments inline
> > >
> > > -----Original Message-----
> > > From: Felipe Balbi [mailto:balbi@ti.com]
> > > Sent: Thursday, March 13, 2014 8:56 PM
> > > To: Gupta Suresh-B42813
> > > Cc: balbi@ti.com; gregkh@linuxfoundation.org;
> > > linux-usb@vger.kernel.org; linux-kernel@vger.kernel.org; Gupta
> > > Suresh-B42813
> > > Subject: Re: [PATCH] usb: gadget: fsl: Add FSL USB Gadget entry in
> > > platform device id
> > >
> > > On Thu, Mar 13, 2014 at 07:35:31PM +0530, Suresh Gupta wrote:
> > > > From: Suresh Gupta <B42813@freescale.com>
> > > >
> > > > 	Add FSL USB Gadget entry in platform device id table
> > >
> > > why this tab ?
> > > [SuresH] I will remove it in next version.
> > >
> > > > Signed-off-by: Suresh Gupta <B42813@freescale.com>
> > > > ---
> > > >  drivers/usb/gadget/fsl_udc_core.c | 2 ++
> > > >  1 file changed, 2 insertions(+)
> > > >
> > > > diff --git a/drivers/usb/gadget/fsl_udc_core.c
> > > > b/drivers/usb/gadget/fsl_udc_core.c
> > > > index b7dea4e..35b20e6 100644
> > > > --- a/drivers/usb/gadget/fsl_udc_core.c
> > > > +++ b/drivers/usb/gadget/fsl_udc_core.c
> > > > @@ -2654,6 +2654,8 @@ static const struct platform_device_id
> > fsl_udc_devtype[] = {
> > > >  	}, {
> > > >  		.name = "imx-udc-mx51",
> > > >  	}, {
> > > > +		.name = "fsl-usb2-udc",
> > >
> > > why aren't you just using chipidea ?
> > > [SuresH] This is our legacy driver for all previous and existing ppc
> > > socs. Many of our customers are already using this, and we need to
> > > support them on this driver. We do have plans to shift to chipidea,
> > > but after some time.
> > 
> > cool, you already have plans, so we will see a new glue layer for v3.16
> > right ? Which means I don't need to take this patch either.
> > 
> we do have plans, but in remote future. Right now, we need to support
> customers on the present legacy driver. We'll phase out this driver 
> slowly when we integrate chipidea. At this time I would request you 
> to please accept this patch

Even if Felipe takes the patch, I'll reject it as you should be doing
the correct thing here, and if it's accepted, it will never be
changed...

greg k-h

^ permalink raw reply	[flat|nested] 11+ messages in thread

* RE: [PATCH] usb: gadget: fsl: Add FSL USB Gadget entry in platform device id
  2014-03-19 16:51         ` gregkh
@ 2014-03-19 18:03           ` suresh.gupta
  2014-03-20  5:43           ` suresh.gupta
  2014-03-20 15:01           ` suresh.gupta
  2 siblings, 0 replies; 11+ messages in thread
From: suresh.gupta @ 2014-03-19 18:03 UTC (permalink / raw)
  To: gregkh; +Cc: balbi, linux-usb, linux-kernel

Hi Ramneek,

Do you understand, what Greg want to communicate. 


Thanks
SuresH

> -----Original Message-----
> From: gregkh@linuxfoundation.org [mailto:gregkh@linuxfoundation.org]
> Sent: Wednesday, March 19, 2014 10:22 PM
> To: Gupta Suresh-B42813
> Cc: balbi@ti.com; linux-usb@vger.kernel.org; linux-kernel@vger.kernel.org
> Subject: Re: [PATCH] usb: gadget: fsl: Add FSL USB Gadget entry in
> platform device id
> 
> On Wed, Mar 19, 2014 at 02:25:25PM +0000, suresh.gupta@freescale.com
> wrote:
> > Hi
> >
> > > -----Original Message-----
> > > From: Felipe Balbi [mailto:balbi@ti.com]
> > > Sent: Saturday, March 15, 2014 7:10 AM
> > > To: Gupta Suresh-B42813
> > > Cc: balbi@ti.com; gregkh@linuxfoundation.org;
> > > linux-usb@vger.kernel.org; linux-kernel@vger.kernel.org
> > > Subject: Re: [PATCH] usb: gadget: fsl: Add FSL USB Gadget entry in
> > > platform device id
> > >
> > > On Fri, Mar 14, 2014 at 08:52:19PM +0000, suresh.gupta@freescale.com
> > > wrote:
> > > > Hi,
> > > > Thanks for reviewing my patches.
> > > > Please find my comments inline
> > > >
> > > > -----Original Message-----
> > > > From: Felipe Balbi [mailto:balbi@ti.com]
> > > > Sent: Thursday, March 13, 2014 8:56 PM
> > > > To: Gupta Suresh-B42813
> > > > Cc: balbi@ti.com; gregkh@linuxfoundation.org;
> > > > linux-usb@vger.kernel.org; linux-kernel@vger.kernel.org; Gupta
> > > > Suresh-B42813
> > > > Subject: Re: [PATCH] usb: gadget: fsl: Add FSL USB Gadget entry in
> > > > platform device id
> > > >
> > > > On Thu, Mar 13, 2014 at 07:35:31PM +0530, Suresh Gupta wrote:
> > > > > From: Suresh Gupta <B42813@freescale.com>
> > > > >
> > > > > 	Add FSL USB Gadget entry in platform device id table
> > > >
> > > > why this tab ?
> > > > [SuresH] I will remove it in next version.
> > > >
> > > > > Signed-off-by: Suresh Gupta <B42813@freescale.com>
> > > > > ---
> > > > >  drivers/usb/gadget/fsl_udc_core.c | 2 ++
> > > > >  1 file changed, 2 insertions(+)
> > > > >
> > > > > diff --git a/drivers/usb/gadget/fsl_udc_core.c
> > > > > b/drivers/usb/gadget/fsl_udc_core.c
> > > > > index b7dea4e..35b20e6 100644
> > > > > --- a/drivers/usb/gadget/fsl_udc_core.c
> > > > > +++ b/drivers/usb/gadget/fsl_udc_core.c
> > > > > @@ -2654,6 +2654,8 @@ static const struct platform_device_id
> > > fsl_udc_devtype[] = {
> > > > >  	}, {
> > > > >  		.name = "imx-udc-mx51",
> > > > >  	}, {
> > > > > +		.name = "fsl-usb2-udc",
> > > >
> > > > why aren't you just using chipidea ?
> > > > [SuresH] This is our legacy driver for all previous and existing
> > > > ppc socs. Many of our customers are already using this, and we
> > > > need to support them on this driver. We do have plans to shift to
> > > > chipidea, but after some time.
> > >
> > > cool, you already have plans, so we will see a new glue layer for
> > > v3.16 right ? Which means I don't need to take this patch either.
> > >
> > we do have plans, but in remote future. Right now, we need to support
> > customers on the present legacy driver. We'll phase out this driver
> > slowly when we integrate chipidea. At this time I would request you to
> > please accept this patch
> 
> Even if Felipe takes the patch, I'll reject it as you should be doing the
> correct thing here, and if it's accepted, it will never be changed...
> 
> greg k-h
> 


^ permalink raw reply	[flat|nested] 11+ messages in thread

* RE: [PATCH] usb: gadget: fsl: Add FSL USB Gadget entry in platform device id
  2014-03-19 16:51         ` gregkh
  2014-03-19 18:03           ` suresh.gupta
@ 2014-03-20  5:43           ` suresh.gupta
  2014-03-20 15:01           ` suresh.gupta
  2 siblings, 0 replies; 11+ messages in thread
From: suresh.gupta @ 2014-03-20  5:43 UTC (permalink / raw)
  To: gregkh; +Cc: balbi, linux-usb, linux-kernel

Ignore last mail, was not intended for you. 

> -----Original Message-----
> From: Gupta Suresh-B42813
> Sent: Wednesday, March 19, 2014 11:33 PM
> To: 'gregkh@linuxfoundation.org'
> Cc: balbi@ti.com; linux-usb@vger.kernel.org; linux-kernel@vger.kernel.org
> Subject: RE: [PATCH] usb: gadget: fsl: Add FSL USB Gadget entry in
> platform device id
> 
> Hi Ramneek,
> 
> Do you understand, what Greg want to communicate.
> 
> 
> Thanks
> SuresH
> 
> > -----Original Message-----
> > From: gregkh@linuxfoundation.org [mailto:gregkh@linuxfoundation.org]
> > Sent: Wednesday, March 19, 2014 10:22 PM
> > To: Gupta Suresh-B42813
> > Cc: balbi@ti.com; linux-usb@vger.kernel.org;
> > linux-kernel@vger.kernel.org
> > Subject: Re: [PATCH] usb: gadget: fsl: Add FSL USB Gadget entry in
> > platform device id
> >
> > On Wed, Mar 19, 2014 at 02:25:25PM +0000, suresh.gupta@freescale.com
> > wrote:
> > > Hi
> > >
> > > > -----Original Message-----
> > > > From: Felipe Balbi [mailto:balbi@ti.com]
> > > > Sent: Saturday, March 15, 2014 7:10 AM
> > > > To: Gupta Suresh-B42813
> > > > Cc: balbi@ti.com; gregkh@linuxfoundation.org;
> > > > linux-usb@vger.kernel.org; linux-kernel@vger.kernel.org
> > > > Subject: Re: [PATCH] usb: gadget: fsl: Add FSL USB Gadget entry in
> > > > platform device id
> > > >
> > > > On Fri, Mar 14, 2014 at 08:52:19PM +0000,
> > > > suresh.gupta@freescale.com
> > > > wrote:
> > > > > Hi,
> > > > > Thanks for reviewing my patches.
> > > > > Please find my comments inline
> > > > >
> > > > > -----Original Message-----
> > > > > From: Felipe Balbi [mailto:balbi@ti.com]
> > > > > Sent: Thursday, March 13, 2014 8:56 PM
> > > > > To: Gupta Suresh-B42813
> > > > > Cc: balbi@ti.com; gregkh@linuxfoundation.org;
> > > > > linux-usb@vger.kernel.org; linux-kernel@vger.kernel.org; Gupta
> > > > > Suresh-B42813
> > > > > Subject: Re: [PATCH] usb: gadget: fsl: Add FSL USB Gadget entry
> > > > > in platform device id
> > > > >
> > > > > On Thu, Mar 13, 2014 at 07:35:31PM +0530, Suresh Gupta wrote:
> > > > > > From: Suresh Gupta <B42813@freescale.com>
> > > > > >
> > > > > > 	Add FSL USB Gadget entry in platform device id table
> > > > >
> > > > > why this tab ?
> > > > > [SuresH] I will remove it in next version.
> > > > >
> > > > > > Signed-off-by: Suresh Gupta <B42813@freescale.com>
> > > > > > ---
> > > > > >  drivers/usb/gadget/fsl_udc_core.c | 2 ++
> > > > > >  1 file changed, 2 insertions(+)
> > > > > >
> > > > > > diff --git a/drivers/usb/gadget/fsl_udc_core.c
> > > > > > b/drivers/usb/gadget/fsl_udc_core.c
> > > > > > index b7dea4e..35b20e6 100644
> > > > > > --- a/drivers/usb/gadget/fsl_udc_core.c
> > > > > > +++ b/drivers/usb/gadget/fsl_udc_core.c
> > > > > > @@ -2654,6 +2654,8 @@ static const struct platform_device_id
> > > > fsl_udc_devtype[] = {
> > > > > >  	}, {
> > > > > >  		.name = "imx-udc-mx51",
> > > > > >  	}, {
> > > > > > +		.name = "fsl-usb2-udc",
> > > > >
> > > > > why aren't you just using chipidea ?
> > > > > [SuresH] This is our legacy driver for all previous and existing
> > > > > ppc socs. Many of our customers are already using this, and we
> > > > > need to support them on this driver. We do have plans to shift
> > > > > to chipidea, but after some time.
> > > >
> > > > cool, you already have plans, so we will see a new glue layer for
> > > > v3.16 right ? Which means I don't need to take this patch either.
> > > >
> > > we do have plans, but in remote future. Right now, we need to
> > > support customers on the present legacy driver. We'll phase out this
> > > driver slowly when we integrate chipidea. At this time I would
> > > request you to please accept this patch
> >
> > Even if Felipe takes the patch, I'll reject it as you should be doing
> > the correct thing here, and if it's accepted, it will never be
> changed...
> >
> > greg k-h
> >


^ permalink raw reply	[flat|nested] 11+ messages in thread

* RE: [PATCH] usb: gadget: fsl: Add FSL USB Gadget entry in platform device id
  2014-03-19 16:51         ` gregkh
  2014-03-19 18:03           ` suresh.gupta
  2014-03-20  5:43           ` suresh.gupta
@ 2014-03-20 15:01           ` suresh.gupta
  2014-03-20 16:02             ` gregkh
  2 siblings, 1 reply; 11+ messages in thread
From: suresh.gupta @ 2014-03-20 15:01 UTC (permalink / raw)
  To: gregkh; +Cc: balbi, linux-usb, linux-kernel

> > > > > @@ -2654,6 +2654,8 @@ static const struct platform_device_id
> > > fsl_udc_devtype[] = {
> > > > >  	}, {
> > > > >  		.name = "imx-udc-mx51",
> > > > >  	}, {
> > > > > +		.name = "fsl-usb2-udc",
> > > >
> > > > why aren't you just using chipidea ?
> > > > [SuresH] This is our legacy driver for all previous and existing
> > > > ppc socs. Many of our customers are already using this, and we
> > > > need to support them on this driver. We do have plans to shift to
> > > > chipidea, but after some time.
> > >
> > > cool, you already have plans, so we will see a new glue layer for
> > > v3.16 right ? Which means I don't need to take this patch either.
> > >
> > we do have plans, but in remote future. Right now, we need to support
> > customers on the present legacy driver. We'll phase out this driver
> > slowly when we integrate chipidea. At this time I would request you to
> > please accept this patch
> 
> Even if Felipe takes the patch, I'll reject it as you should be doing the
> correct thing here, and if it's accepted, it will never be changed...

Hi Greg, I agree that moving to the chipidea driver is the right thing to do.
However, does this mean that companies have to phase out their current legacy 
drivers as soon as a new controller specific driver is introduced in kernel ??
Can't they decide their own schedule based on their own requirements. Our only 
concern is to keep supporting our customers till we move to the new driver. 
I would really appreciate if you could accept this as this would give us 
some time to move to chipidea driver.

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [PATCH] usb: gadget: fsl: Add FSL USB Gadget entry in platform device id
  2014-03-20 15:01           ` suresh.gupta
@ 2014-03-20 16:02             ` gregkh
  2014-03-20 16:06               ` Felipe Balbi
  0 siblings, 1 reply; 11+ messages in thread
From: gregkh @ 2014-03-20 16:02 UTC (permalink / raw)
  To: suresh.gupta; +Cc: balbi, linux-usb, linux-kernel

On Thu, Mar 20, 2014 at 03:01:56PM +0000, suresh.gupta@freescale.com wrote:
> > > > > > @@ -2654,6 +2654,8 @@ static const struct platform_device_id
> > > > fsl_udc_devtype[] = {
> > > > > >  	}, {
> > > > > >  		.name = "imx-udc-mx51",
> > > > > >  	}, {
> > > > > > +		.name = "fsl-usb2-udc",
> > > > >
> > > > > why aren't you just using chipidea ?
> > > > > [SuresH] This is our legacy driver for all previous and existing
> > > > > ppc socs. Many of our customers are already using this, and we
> > > > > need to support them on this driver. We do have plans to shift to
> > > > > chipidea, but after some time.
> > > >
> > > > cool, you already have plans, so we will see a new glue layer for
> > > > v3.16 right ? Which means I don't need to take this patch either.
> > > >
> > > we do have plans, but in remote future. Right now, we need to support
> > > customers on the present legacy driver. We'll phase out this driver
> > > slowly when we integrate chipidea. At this time I would request you to
> > > please accept this patch
> > 
> > Even if Felipe takes the patch, I'll reject it as you should be doing the
> > correct thing here, and if it's accepted, it will never be changed...
> 
> Hi Greg, I agree that moving to the chipidea driver is the right thing to do.
> However, does this mean that companies have to phase out their current legacy 
> drivers as soon as a new controller specific driver is introduced in kernel ??

If their drivers aren't merged upstream, then yes they do, we can't have
duplicate drivers controlling the same hardware blobs.

> Can't they decide their own schedule based on their own requirements. Our only 
> concern is to keep supporting our customers till we move to the new driver. 

Your support issues / requirements is not any of our business, we just
can't accept duplicate code, which I'm sure you can understand.

> I would really appreciate if you could accept this as this would give us 
> some time to move to chipidea driver.

What is preventing you from doing this within a week or so?  Is it
really that hard of a transistion?  If so, is this a problem with the
chipidea driver or something else?

thanks,

greg k-h

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [PATCH] usb: gadget: fsl: Add FSL USB Gadget entry in platform device id
  2014-03-20 16:02             ` gregkh
@ 2014-03-20 16:06               ` Felipe Balbi
  0 siblings, 0 replies; 11+ messages in thread
From: Felipe Balbi @ 2014-03-20 16:06 UTC (permalink / raw)
  To: gregkh; +Cc: suresh.gupta, balbi, linux-usb, linux-kernel

[-- Attachment #1: Type: text/plain, Size: 2837 bytes --]

Hi,

On Thu, Mar 20, 2014 at 09:02:52AM -0700, gregkh@linuxfoundation.org wrote:
> On Thu, Mar 20, 2014 at 03:01:56PM +0000, suresh.gupta@freescale.com wrote:
> > > > > > > @@ -2654,6 +2654,8 @@ static const struct platform_device_id
> > > > > fsl_udc_devtype[] = {
> > > > > > >  	}, {
> > > > > > >  		.name = "imx-udc-mx51",
> > > > > > >  	}, {
> > > > > > > +		.name = "fsl-usb2-udc",
> > > > > >
> > > > > > why aren't you just using chipidea ?
> > > > > > [SuresH] This is our legacy driver for all previous and existing
> > > > > > ppc socs. Many of our customers are already using this, and we
> > > > > > need to support them on this driver. We do have plans to shift to
> > > > > > chipidea, but after some time.
> > > > >
> > > > > cool, you already have plans, so we will see a new glue layer for
> > > > > v3.16 right ? Which means I don't need to take this patch either.
> > > > >
> > > > we do have plans, but in remote future. Right now, we need to support
> > > > customers on the present legacy driver. We'll phase out this driver
> > > > slowly when we integrate chipidea. At this time I would request you to
> > > > please accept this patch
> > > 
> > > Even if Felipe takes the patch, I'll reject it as you should be doing the
> > > correct thing here, and if it's accepted, it will never be changed...
> > 
> > Hi Greg, I agree that moving to the chipidea driver is the right thing to do.
> > However, does this mean that companies have to phase out their current legacy 
> > drivers as soon as a new controller specific driver is introduced in kernel ??
> 
> If their drivers aren't merged upstream, then yes they do, we can't have
> duplicate drivers controlling the same hardware blobs.
> 
> > Can't they decide their own schedule based on their own requirements. Our only 
> > concern is to keep supporting our customers till we move to the new driver. 
> 
> Your support issues / requirements is not any of our business, we just
> can't accept duplicate code, which I'm sure you can understand.
> 
> > I would really appreciate if you could accept this as this would give us 
> > some time to move to chipidea driver.
> 
> What is preventing you from doing this within a week or so?  Is it
> really that hard of a transistion?  If so, is this a problem with the
> chipidea driver or something else?

Greg, many other freescale SoCs are *already* using chipidea driver. I
suppose 1 week effort is overestimation, it shouldn't take much more
than a couple days.

If there are any bugs in chipidea, let's find them and fix them up. We
really cannot continue with code duplication in the tree, it's just
moronic to do so, it's an unnecessary maintenance burden, extra review
time, same fixes having to written for separate drivers, and so on.

-- 
balbi

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2014-03-20 16:08 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-03-13 14:05 [PATCH] usb: gadget: fsl: Add FSL USB Gadget entry in platform device id Suresh Gupta
2014-03-13 15:26 ` Felipe Balbi
2014-03-14 20:52   ` suresh.gupta
2014-03-15  1:40     ` Felipe Balbi
2014-03-19 14:25       ` suresh.gupta
2014-03-19 16:51         ` gregkh
2014-03-19 18:03           ` suresh.gupta
2014-03-20  5:43           ` suresh.gupta
2014-03-20 15:01           ` suresh.gupta
2014-03-20 16:02             ` gregkh
2014-03-20 16:06               ` Felipe Balbi

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.