public inbox for linux-omap@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/1] MMC: OMAP: Fix HSMMC driver name at host driver.
@ 2008-03-20 20:24 Carlos Aguiar
  2008-03-20 22:54 ` Felipe Balbi
  0 siblings, 1 reply; 5+ messages in thread
From: Carlos Aguiar @ 2008-03-20 20:24 UTC (permalink / raw)
  To: Tony Lindgren, linux-omap

From: Carlos Eduardo Aguiar <carlos.aguiar@indt.org.br>

This patch fixes the HSMMC driver name at host driver.

Signed-off-by: Carlos Eduardo Aguiar <carlos.aguiar@indt.org.br>
---
 drivers/mmc/host/omap_hsmmc.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/mmc/host/omap_hsmmc.c b/drivers/mmc/host/omap_hsmmc.c
index 047c64d..0e7ee20 100644
--- a/drivers/mmc/host/omap_hsmmc.c
+++ b/drivers/mmc/host/omap_hsmmc.c
@@ -92,7 +92,7 @@
 #define OMAP_MMC_DATADIR_WRITE	2
 #define MMC_TIMEOUT_MS		20
 #define OMAP_MMC_MASTER_CLOCK	96000000
-#define DRIVER_NAME		"mmci-omap"
+#define DRIVER_NAME		"hsmmc-omap"
 /*
  * slot_id is device id - 1, device id is a static value
  * of 1 to represent device 1 etc..
-- 1.5.3.GIT


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

* Re: [PATCH 1/1] MMC: OMAP: Fix HSMMC driver name at host driver.
  2008-03-20 20:24 [PATCH 1/1] MMC: OMAP: Fix HSMMC driver name at host driver Carlos Aguiar
@ 2008-03-20 22:54 ` Felipe Balbi
  2008-03-24  5:07   ` Madhusudhan Chikkature Rajashekar
  0 siblings, 1 reply; 5+ messages in thread
From: Felipe Balbi @ 2008-03-20 22:54 UTC (permalink / raw)
  To: Carlos Aguiar; +Cc: Tony Lindgren, linux-omap

On Thu, Mar 20, 2008 at 04:24:30PM -0400, Carlos Aguiar wrote:
> From: Carlos Eduardo Aguiar <carlos.aguiar@indt.org.br>
> 
> This patch fixes the HSMMC driver name at host driver.
> 
> Signed-off-by: Carlos Eduardo Aguiar <carlos.aguiar@indt.org.br>
> ---
>  drivers/mmc/host/omap_hsmmc.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/drivers/mmc/host/omap_hsmmc.c b/drivers/mmc/host/omap_hsmmc.c
> index 047c64d..0e7ee20 100644
> --- a/drivers/mmc/host/omap_hsmmc.c
> +++ b/drivers/mmc/host/omap_hsmmc.c
> @@ -92,7 +92,7 @@
>  #define OMAP_MMC_DATADIR_WRITE	2
>  #define MMC_TIMEOUT_MS		20
>  #define OMAP_MMC_MASTER_CLOCK	96000000
> -#define DRIVER_NAME		"mmci-omap"
> +#define DRIVER_NAME		"hsmmc-omap"

stupid question :-p
what does the 'i' means?

-- 
Best Regards,

Felipe Balbi
me@felipebalbi.com
http://blog.felipebalbi.com

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

* RE: [PATCH 1/1] MMC: OMAP: Fix HSMMC driver name at host driver.
  2008-03-20 22:54 ` Felipe Balbi
@ 2008-03-24  5:07   ` Madhusudhan Chikkature Rajashekar
  2008-03-26 19:12     ` Carlos Aguiar
  0 siblings, 1 reply; 5+ messages in thread
From: Madhusudhan Chikkature Rajashekar @ 2008-03-24  5:07 UTC (permalink / raw)
  To: me, 'Carlos Aguiar'; +Cc: 'Tony Lindgren', linux-omap

 

> -----Original Message-----
> From: linux-omap-owner@vger.kernel.org 
> [mailto:linux-omap-owner@vger.kernel.org] On Behalf Of Felipe Balbi
> Sent: Friday, March 21, 2008 4:25 AM
> To: Carlos Aguiar
> Cc: Tony Lindgren; linux-omap@vger.kernel.org
> Subject: Re: [PATCH 1/1] MMC: OMAP: Fix HSMMC driver name at 
> host driver.
> 
> On Thu, Mar 20, 2008 at 04:24:30PM -0400, Carlos Aguiar wrote:
> > From: Carlos Eduardo Aguiar <carlos.aguiar@indt.org.br>
> > 
> > This patch fixes the HSMMC driver name at host driver.
> > 
> > Signed-off-by: Carlos Eduardo Aguiar <carlos.aguiar@indt.org.br>
> > ---
> >  drivers/mmc/host/omap_hsmmc.c |    2 +-
> >  1 files changed, 1 insertions(+), 1 deletions(-)
> > 
> > diff --git a/drivers/mmc/host/omap_hsmmc.c 
> b/drivers/mmc/host/omap_hsmmc.c
> > index 047c64d..0e7ee20 100644
> > --- a/drivers/mmc/host/omap_hsmmc.c
> > +++ b/drivers/mmc/host/omap_hsmmc.c
> > @@ -92,7 +92,7 @@
> >  #define OMAP_MMC_DATADIR_WRITE	2
> >  #define MMC_TIMEOUT_MS		20
> >  #define OMAP_MMC_MASTER_CLOCK	96000000
> > -#define DRIVER_NAME		"mmci-omap"
> > +#define DRIVER_NAME		"hsmmc-omap"
> 
> stupid question :-p
> what does the 'i' means?
I think it is a simple mistake. The change you have done makes sense for the HSMMC driver.

> 
> -- 
> Best Regards,
> 
> Felipe Balbi
> me@felipebalbi.com
> http://blog.felipebalbi.com
> --
> To unsubscribe from this list: send the line "unsubscribe 
> linux-omap" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> 


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

* Re: [PATCH 1/1] MMC: OMAP: Fix HSMMC driver name at host driver.
  2008-03-24  5:07   ` Madhusudhan Chikkature Rajashekar
@ 2008-03-26 19:12     ` Carlos Aguiar
  2008-03-28 10:27       ` Tony Lindgren
  0 siblings, 1 reply; 5+ messages in thread
From: Carlos Aguiar @ 2008-03-26 19:12 UTC (permalink / raw)
  To: ext Madhusudhan Chikkature Rajashekar
  Cc: me, 'Tony Lindgren', linux-omap

ext Madhusudhan Chikkature Rajashekar wrote:
>  
>
>   
>> -----Original Message-----
>> From: linux-omap-owner@vger.kernel.org 
>> [mailto:linux-omap-owner@vger.kernel.org] On Behalf Of Felipe Balbi
>> Sent: Friday, March 21, 2008 4:25 AM
>> To: Carlos Aguiar
>> Cc: Tony Lindgren; linux-omap@vger.kernel.org
>> Subject: Re: [PATCH 1/1] MMC: OMAP: Fix HSMMC driver name at 
>> host driver.
>>
>> On Thu, Mar 20, 2008 at 04:24:30PM -0400, Carlos Aguiar wrote:
>>     
>>> From: Carlos Eduardo Aguiar <carlos.aguiar@indt.org.br>
>>>
>>> This patch fixes the HSMMC driver name at host driver.
>>>
>>> Signed-off-by: Carlos Eduardo Aguiar <carlos.aguiar@indt.org.br>
>>> ---
>>>  drivers/mmc/host/omap_hsmmc.c |    2 +-
>>>  1 files changed, 1 insertions(+), 1 deletions(-)
>>>
>>> diff --git a/drivers/mmc/host/omap_hsmmc.c 
>>>       
>> b/drivers/mmc/host/omap_hsmmc.c
>>     
>>> index 047c64d..0e7ee20 100644
>>> --- a/drivers/mmc/host/omap_hsmmc.c
>>> +++ b/drivers/mmc/host/omap_hsmmc.c
>>> @@ -92,7 +92,7 @@
>>>  #define OMAP_MMC_DATADIR_WRITE	2
>>>  #define MMC_TIMEOUT_MS		20
>>>  #define OMAP_MMC_MASTER_CLOCK	96000000
>>> -#define DRIVER_NAME		"mmci-omap"
>>> +#define DRIVER_NAME		"hsmmc-omap"
>>>       
>> stupid question :-p
>> what does the 'i' means?
>>     
> I think it is a simple mistake. The change you have done makes sense for the HSMMC driver.
>
>   
>> -- 
>> Best Regards,
>>
>> Felipe Balbi
>> me@felipebalbi.com
>> http://blog.felipebalbi.com
>> --
>> To unsubscribe from this list: send the line "unsubscribe 
>> linux-omap" in
>> the body of a message to majordomo@vger.kernel.org
>> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>>
>>     
>
>
>   
Hi Tony,

Please, don't apply this patch into the tree due some conflicts with
such driver host names for 2420 (mmci-omap) and 2430 and 3430
(hsmmc-omap) boards. Explaining: on arch/arm/plat-omap/devices.c, I sent
a patch [1] that proposes the following change:

...
#if defined(CONFIG_ARCH_OMAP24XX) || defined(CONFIG_ARCH_OMAP34XX)
#define OMAP_MMC_NAME "hsmmc-omap"

#define OMAP_MMC1_BASE 0x4809c000
#define OMAP_MMC1_END OMAP_MMC1_BASE + 0x1fc
#define OMAP_MMC1_INT INT_24XX_MMC_IRQ

#define OMAP_MMC2_BASE 0x480b4000
#define OMAP_MMC2_END OMAP_MMC2_BASE + 0x1fc
#define OMAP_MMC2_INT INT_24XX_MMC_IRQ

#else

#define OMAP_MMC_NAME "mmci-omap"
...

But, the host driver name is mmci-omap for 2420 boards (like N800), so
that images compiled with this patch will not start the MMC slots :(

Anyway, I think for now let's keep all driver hosts with name
'mmci-omap' in order keep all working and I'm going to resend this patch
removing the defines OMAP_MMC_NAME and make some corrections into such
patch.

I hope I was clear and thanks for the comprehension.

BR,

Carlos.

[1] http://marc.info/?l=linux-omap&m=120602333813488&w=2

-- 
Carlos Eduardo Aguiar
Nokia Institute of Technology - INdT
Open Source Mobile Research Center - OSMRC - Manaus
Core Team
Phone: +55 92 2126-1079
Mobile: +55 92 8127-1797
E-mail: carlos.aguiar@indt.org.br


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

* Re: [PATCH 1/1] MMC: OMAP: Fix HSMMC driver name at host driver.
  2008-03-26 19:12     ` Carlos Aguiar
@ 2008-03-28 10:27       ` Tony Lindgren
  0 siblings, 0 replies; 5+ messages in thread
From: Tony Lindgren @ 2008-03-28 10:27 UTC (permalink / raw)
  To: Carlos Aguiar; +Cc: ext Madhusudhan Chikkature Rajashekar, me, linux-omap

* Carlos Aguiar <carlos.aguiar@indt.org.br> [080326 21:16]:
> ext Madhusudhan Chikkature Rajashekar wrote:
> >  
> >
> >   
> >> -----Original Message-----
> >> From: linux-omap-owner@vger.kernel.org 
> >> [mailto:linux-omap-owner@vger.kernel.org] On Behalf Of Felipe Balbi
> >> Sent: Friday, March 21, 2008 4:25 AM
> >> To: Carlos Aguiar
> >> Cc: Tony Lindgren; linux-omap@vger.kernel.org
> >> Subject: Re: [PATCH 1/1] MMC: OMAP: Fix HSMMC driver name at 
> >> host driver.
> >>
> >> On Thu, Mar 20, 2008 at 04:24:30PM -0400, Carlos Aguiar wrote:
> >>     
> >>> From: Carlos Eduardo Aguiar <carlos.aguiar@indt.org.br>
> >>>
> >>> This patch fixes the HSMMC driver name at host driver.
> >>>
> >>> Signed-off-by: Carlos Eduardo Aguiar <carlos.aguiar@indt.org.br>
> >>> ---
> >>>  drivers/mmc/host/omap_hsmmc.c |    2 +-
> >>>  1 files changed, 1 insertions(+), 1 deletions(-)
> >>>
> >>> diff --git a/drivers/mmc/host/omap_hsmmc.c 
> >>>       
> >> b/drivers/mmc/host/omap_hsmmc.c
> >>     
> >>> index 047c64d..0e7ee20 100644
> >>> --- a/drivers/mmc/host/omap_hsmmc.c
> >>> +++ b/drivers/mmc/host/omap_hsmmc.c
> >>> @@ -92,7 +92,7 @@
> >>>  #define OMAP_MMC_DATADIR_WRITE	2
> >>>  #define MMC_TIMEOUT_MS		20
> >>>  #define OMAP_MMC_MASTER_CLOCK	96000000
> >>> -#define DRIVER_NAME		"mmci-omap"
> >>> +#define DRIVER_NAME		"hsmmc-omap"
> >>>       
> >> stupid question :-p
> >> what does the 'i' means?
> >>     
> > I think it is a simple mistake. The change you have done makes sense for the HSMMC driver.
> >
> >   
> >> -- 
> >> Best Regards,
> >>
> >> Felipe Balbi
> >> me@felipebalbi.com
> >> http://blog.felipebalbi.com
> >> --
> >> To unsubscribe from this list: send the line "unsubscribe 
> >> linux-omap" in
> >> the body of a message to majordomo@vger.kernel.org
> >> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> >>
> >>     
> >
> >
> >   
> Hi Tony,
> 
> Please, don't apply this patch into the tree due some conflicts with
> such driver host names for 2420 (mmci-omap) and 2430 and 3430
> (hsmmc-omap) boards. Explaining: on arch/arm/plat-omap/devices.c, I sent
> a patch [1] that proposes the following change:
> 
> ...
> #if defined(CONFIG_ARCH_OMAP24XX) || defined(CONFIG_ARCH_OMAP34XX)
> #define OMAP_MMC_NAME "hsmmc-omap"
> 
> #define OMAP_MMC1_BASE 0x4809c000
> #define OMAP_MMC1_END OMAP_MMC1_BASE + 0x1fc
> #define OMAP_MMC1_INT INT_24XX_MMC_IRQ
> 
> #define OMAP_MMC2_BASE 0x480b4000
> #define OMAP_MMC2_END OMAP_MMC2_BASE + 0x1fc
> #define OMAP_MMC2_INT INT_24XX_MMC_IRQ
> 
> #else
> 
> #define OMAP_MMC_NAME "mmci-omap"
> ...
> 
> But, the host driver name is mmci-omap for 2420 boards (like N800), so
> that images compiled with this patch will not start the MMC slots :(
> 
> Anyway, I think for now let's keep all driver hosts with name
> 'mmci-omap' in order keep all working and I'm going to resend this patch
> removing the defines OMAP_MMC_NAME and make some corrections into such
> patch.
> 
> I hope I was clear and thanks for the comprehension.

OK, so let's forget this patch then.

Tony


> 
> BR,
> 
> Carlos.
> 
> [1] http://marc.info/?l=linux-omap&m=120602333813488&w=2
> 
> -- 
> Carlos Eduardo Aguiar
> Nokia Institute of Technology - INdT
> Open Source Mobile Research Center - OSMRC - Manaus
> Core Team
> Phone: +55 92 2126-1079
> Mobile: +55 92 8127-1797
> E-mail: carlos.aguiar@indt.org.br
> 

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

end of thread, other threads:[~2008-03-28 10:27 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-03-20 20:24 [PATCH 1/1] MMC: OMAP: Fix HSMMC driver name at host driver Carlos Aguiar
2008-03-20 22:54 ` Felipe Balbi
2008-03-24  5:07   ` Madhusudhan Chikkature Rajashekar
2008-03-26 19:12     ` Carlos Aguiar
2008-03-28 10:27       ` Tony Lindgren

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox