Re: [PATCH 3/6] mmc: tmio: convert the SDHI MMC driver from MFD to a standard platform driver

2011-03-12 Thread Magnus Damm
On Fri, Mar 11, 2011 at 4:52 PM, Guennadi Liakhovetski wrote: > On sh-mobile platforms the SDHI driver was using the tmio_mmc SD/SDIO > MFD cell driver. Now that the tmio_mmc driver has been split into a > core and a separate MFD glue, we can support SDHI natively without the > need to emulate an

Re: [PATCH 1/6] mmc: tmio: split core functionality, DMA and MFD glue

2011-03-12 Thread Magnus Damm
On Sun, Mar 13, 2011 at 7:48 AM, Guennadi Liakhovetski wrote: > On Sun, 13 Mar 2011, Magnus Damm wrote: > >> On Fri, Mar 11, 2011 at 4:51 PM, Guennadi Liakhovetski >> wrote: >> > TMIO MMC chips contain an SD / SDIO IP core from Panasonic, similar to >> > the one, used in MN5774 and other MN57xx c

Re: [PATCH 1/4 v2] mmc: mn57xx: only access registers above 0xff, if available

2011-03-12 Thread Magnus Damm
On Sun, Mar 13, 2011 at 7:57 AM, Guennadi Liakhovetski wrote: > On Sun, 13 Mar 2011, Magnus Damm wrote: > >> On Fri, Mar 11, 2011 at 5:09 PM, Guennadi Liakhovetski >> wrote: >> > Not all mn57xx / tmio implementations have registers above oxff. >> > Accessing them on thise platforms is dangerous.

Re: Memory replacement

2011-03-12 Thread C. Scott Ananian
On Sat, Mar 12, 2011 at 5:51 PM, Arnd Bergmann wrote: > I've had four cards with a Sandisk label that had unusual characteristics > and manufacturer/OEM IDs that refer to other companies, three Samsung ("SM") > and one unknown ("BE", possibly lexar). In all cases, the Sandisk support > has confirm

Re: [PATCH 2/6] sh: ecovec: use the CONFIG_MMC_TMIO symbols instead of MFD

2011-03-12 Thread Guennadi Liakhovetski
On Sun, 13 Mar 2011, Magnus Damm wrote: > On Fri, Mar 11, 2011 at 4:52 PM, Guennadi Liakhovetski > wrote: > > The CONFIG_MFD_SH_MOBILE_SDHI Kconfig symbol is going to disappear soon, > > switch ecovec to using CONFIG_MMC_TMIO(_MODULE). > > > > Signed-off-by: Guennadi Liakhovetski > > --- > >  ar

Re: [PATCH 1/4 v2] mmc: mn57xx: only access registers above 0xff, if available

2011-03-12 Thread Guennadi Liakhovetski
On Sun, 13 Mar 2011, Magnus Damm wrote: > On Fri, Mar 11, 2011 at 5:09 PM, Guennadi Liakhovetski > wrote: > > Not all mn57xx / tmio implementations have registers above oxff. > > Accessing them on thise platforms is dangerous. In some cases it leads > > to address wrapping to addresses below 0x10

Re: Memory replacement

2011-03-12 Thread Arnd Bergmann
On Friday 11 March 2011 18:28:49 John Watlington wrote: > > On Mar 11, 2011, at 5:35 AM, Arnd Bergmann wrote: > > > I've tested around a dozen media from them, and while you are true > > that they use rather different algorithms and NAND chips inside, all > > of them can write to at least 5 erase

Re: [PATCH 1/6] mmc: tmio: split core functionality, DMA and MFD glue

2011-03-12 Thread Guennadi Liakhovetski
On Sun, 13 Mar 2011, Magnus Damm wrote: > On Fri, Mar 11, 2011 at 4:51 PM, Guennadi Liakhovetski > wrote: > > TMIO MMC chips contain an SD / SDIO IP core from Panasonic, similar to > > the one, used in MN5774 and other MN57xx controllers. These IP cores are > > included in many multifunction devi

Re: [PATCH resend] sdhci: work around broken dma boundary behaviour

2011-03-12 Thread Wolfram Sang
Hi, I finally found some time. On Mon, Mar 07, 2011 at 10:40:57PM +0200, Mikko Vinni wrote: > Some SD host controllers (noticed on an integrated JMicron SD reader > on an HP Pavilion dv5-1250eo laptop) don't update the dma address > register before signaling a dma interrupt due to a dma boundary.

Simplified Spec V3 available!

2011-03-12 Thread Wolfram Sang
Good news which haven't been mentioned here AFAICT. I just saw that you can freely download the Simplified Specs V3 for SDHC now: http://www.sdcard.org/developers/tech/pls/ Very nice, that will help reviewers. -- Pengutronix e.K. | Wolfram Sang| Indust

Re: [PATCH 2/6] sh: ecovec: use the CONFIG_MMC_TMIO symbols instead of MFD

2011-03-12 Thread Magnus Damm
On Fri, Mar 11, 2011 at 4:52 PM, Guennadi Liakhovetski wrote: > The CONFIG_MFD_SH_MOBILE_SDHI Kconfig symbol is going to disappear soon, > switch ecovec to using CONFIG_MMC_TMIO(_MODULE). > > Signed-off-by: Guennadi Liakhovetski > --- >  arch/sh/boards/mach-ecovec24/setup.c |    6 +++--- >  1 fil

Re: [PATCH 1/4 v2] mmc: mn57xx: only access registers above 0xff, if available

2011-03-12 Thread Magnus Damm
On Fri, Mar 11, 2011 at 5:09 PM, Guennadi Liakhovetski wrote: > Not all mn57xx / tmio implementations have registers above oxff. > Accessing them on thise platforms is dangerous. In some cases it leads > to address wrapping to addresses below 0x100, which corrupts random > unrelated registers. > >

Re: [PATCH 1/6] mmc: tmio: split core functionality, DMA and MFD glue

2011-03-12 Thread Magnus Damm
On Fri, Mar 11, 2011 at 4:51 PM, Guennadi Liakhovetski wrote: > TMIO MMC chips contain an SD / SDIO IP core from Panasonic, similar to > the one, used in MN5774 and other MN57xx controllers. These IP cores are > included in many multifunction devices, in sh-mobile chips from Renesas, > in the latt