MMC/SD Controller driver for OMAP2430
Quoted 22 lines
-----Original Message-----
From: Felipe Balbi [mailto:[email protected]]
Sent: Tuesday, December 11, 2007 6:03 PM
To: Madhusudhan Chikkature Rajashekar
Cc: Tony Lindgren; Syed Mohammed, Khasim; Carlos Aguiar; [email protected]; [email protected]; [email protected]; Pierre Ossman
Subject: RE: [RFC/PATCH 1/4] MMC/SD Controller driver for OMAP2430Hi,
Quoted 5 lines · Madhusudhan Chikkature Rajashekar
Hi,
Quoted 2 lines
Do you still need to mux between slots if you have three controllers available? If so, it's worth doing it to start with.
I do not think that mux between slots is required in 2430
Quoted 8 lines
or 3430.So, I
Quoted 2 lines
guess the usage of the multislot structure
might not be required.I think it is, X430sdp has only one slot per controller, but let's say someone puts 2 slots using only HSMMC? Then we would need to mux between then and multislot structures would be really helpful if they were already there.
I think you should also consider the point mentioned in the 2430/3430 TRM that "one MMC/SD/SDIO controller can support one MMC memory card,one SD memory card, or one SDIO card" before connecting an additional slot to the single controller. As you might know, the OMAP2420 MMC controller details in the TRM clearly stated that the host controller can support one or more MMC memory cards sharing the same bus.But that is not the case on OMAP2430/3430.
I do not say that multi slot structures are not required at all. But they are required only if a second slot can be connected to the single controller. So, I beleive we should get our first version of code pushed which can support the MMC1 controller first and then if need comes then we can think of multi slot support.
Quoted 4 lines
Quoted 3 lines
These platforms have two controllers connected to two
separate slots on
Quoted 8 lines
Quoted 2 lines
the SDP.The TRM of 2430 and 3430 states that one MMC/SD/SDIO controller can support one MMC memory
card,one SD memory
Quoted 1 line
card, or one SDIO card.
So only one slot supports HSMMC, is that right? And in this case it makes
sense creating a whole new code base for hsmmc controller on omap.
No. I guess you got it wrong.Both the controllers on OMAP2430/3430 are identical
and can support high speed MMC cards(i,e,both are HSMMC controllers). Providing support
to the second controller should be very simple and is a matter of registering one more platform device with correct attributes. This can be pushed subsequently once the driver for MMC1 controller support is pushed.
As communicated before, since the controller in 2430/3430 is quite different from the one on 2420 or OMAP1, we have created a new file to support the same.
Quoted 102 lines
PS: try to not top post, it makes things more difficult to track down. ;-)
Quoted 9 lines
-----Original Message-----
From: Tony Lindgren [mailto:[email protected]]
Sent: Monday, December 10, 2007 11:30 PM
To: Syed Mohammed, Khasim
Cc: Carlos Aguiar; Chikkature Rajashekar, Madhusudhan; [email protected]; [email protected]; [email protected]; Pierre Ossman
Subject: Re: [RFC/PATCH 1/4] MMC/SD Controller driver for OMAP2430Quoted 10 lines
Quoted 4 lines · Syed Mohammed, Khasim
Quoted 4 lines
-----Original Message-----
From: [email protected][mailto:linux-omap-
Quoted 4 lines
Quoted 4 lines
[email protected]] On Behalf Of Carlos Aguiar
Sent: Friday, December 07, 2007 8:24 PM
To: Chikkature Rajashekar, Madhusudhan
Cc: [email protected];Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
[email protected]; 'Pierre Ossman'
Subject: Re: [RFC/PATCH 1/4] MMC/SD Controller driverfor OMAP2430
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 4 lines · ext Madhusudhan Chikkature Rajashekar
This patch adds MMC controller driver for OMAP2430/3430.
Signed-off-by Madhusudhan Chikkature<[email protected]>Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 3 lines
--- drivers/mmc/host/Makefile | 9 drivers/mmc/host/omap_hsmmc.c | 985++++++++++++++++++++++++++++++++++++++++++
Quoted 4 lines
2 files changed, 993 insertions(+), 1 deletion(-)Index:
linux-omap-2.6/drivers/mmc/host/omap_hsmmc.c===================================================================
Quoted 7 lines
Quoted 7 lines
<snip>
Quoted 4 lines
Quoted 1 line
Hi Madhu,
I'd rather see this code using multislot structures and
omap.cinsteadQuoted 4 lines
Quoted 4 lines
Quoted 4 lines
of defining a whole new codebase for omap2430 and/or omap3.
BR,
Quoted 8 lines
Quoted 8 lines
Quoted 3 lines
Carlos.
Hi Carlos,
Thanks for comments.
I remember we had discussed this before as well, as
communicated before
Quoted 2 lines
the MMC/SD controller on OMAP2430 and 3430 processors is completely different( in Register width, bits, offsets,
configuration
etc)Quoted 7 lines
from OMAP2420 and OMAP1 platforms. It's not recommended to add new MMC controller functionality to existing
omap.c.Well, this time it actually looks like the MMC controller is completely different.
Quoted 1 line
Yes we will definitely use multi-slot structures. We can
add multi-slot
Quoted 7 lines
support after we get formal approval of this code base.
Do you still need to mux between slots if you have three controllers available? If so, it's worth doing it to start with.
Regards,
Quoted 7 lines
Tony
-
To unsubscribe from this list: send the line "unsubscribelinux-omap" in
Quoted 2 lines
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.htmlSignature · 5 lines
Best Regards, Felipe Balbi http://felipebalbi.com [email protected]