eMMC sector/byte access mode validation

2010-12-23 Thread Sujit Reddy
Hi, According to eMMC spec v4.3, Section 6.1 says that greater than 2GB density cards are sector addressable and less than 2GB are byte addressable. But Section 7.3.3 says that OCR bit 30 needs to be used which access mode the host must use for all its future transactions. In mainline kernel the

[GIT PULL] MMC fixes for 2.6.37

2010-12-23 Thread Chris Ball
Linus, Please pull from: git://git.kernel.org/pub/scm/linux/kernel/git/cjb/mmc.git for-linus to fix a regression in resume-from-hibernate, and two minor driver bugs on Atmel controllers. These have been tested in linux-next. Thanks. The following changes since commit

Re: [PATCH 3/3] mmc: add sdhci-tegra driver for Tegra SoCs

2010-12-23 Thread Olof Johansson
Hi, On Wed, Dec 22, 2010 at 10:20 PM, Mike Rapoport m...@compulab.co.il wrote: Only one comment below, otherwise feel free to add Acked-by: Mike Rapoport m...@compulab.co.il Thanks! +     if (gpio_is_valid(plat-wp_gpio)) { +             rc = gpio_request(plat-wp_gpio, sdhci_wp); +        

[PATCH] [patch v3] ARM: mach-shmobile: mackerel: Add zboot MMCIF support

2010-12-23 Thread Simon Horman
This patch wires up LED debugging for the MMCIF boot on the mackerel, which is all that is required to get MMCIF boot functioning. Cc: Magnus Damm magnus.d...@gmail.com Cc: Kuninori Morimoto kuninori.morimoto...@renesas.com Signed-off-by: Simon Horman ho...@verge.net.au --- This patch depends on:

Re: [GIT PULL] MMC fixes for 2.6.37

2010-12-23 Thread Kyungmin Park
Hi Chris, Can you include the s5pc210 external clock support? without this, s5pc210 boards doesn't use the SDHCI. I think Ben is busy with other task so can't reply your ack request. To Ben, Can you ack the s5pc210 patch? Thank you, Kyungmin Park On Thu, Dec 23, 2010 at 5:56 PM, Chris Ball

[PATCH 6/6 v3] [RFC] sh: sh7722 Enable SDIO IRQs

2010-12-23 Thread Arnd Hannemann
This patch enables the interrupt generation for SDIO IRQs of the sdhi controllers of the SoC. To make sure SDIO IRQs are used, announce the MMC_CAP_SDIO_IRQ capability on migor. Untested, therefore RFC. Signed-off-by: Arnd Hannemann a...@arndnet.de --- Changes since v2: - Added missing include

[PATCH] [RFC] sh: sh7723 / ap325rxa enable SDIO IRQs

2010-12-23 Thread Arnd Hannemann
This patch enables the interrupt generation for SDIO IRQs of the sdhi controllers of the SoC. To make sure SDIO IRQs are used announce the MMC_CAP_SDIO_IRQ capability on ap325rxa. Untested, therefore RFC. Signed-off-by: Arnd Hannemann a...@arndnet.de --- arch/sh/boards/mach-ap325rxa/setup.c |

Re: [PATCH 2/2] mmc: add sdhci-tegra driver for Tegra SoCs

2010-12-23 Thread Wolfram Sang
Changes since v2: * Whitespace fixes * Changed order of test in get_ro What benefit has the reordering? (And just to make sure: You still return -1 meaning read-only. I assume this is intentional) -- Pengutronix e.K. | Wolfram Sang|

Re: [PATCH 1/2] sdhci: add quirk for max len ADMA descriptors

2010-12-23 Thread Wolfram Sang
On Thu, Dec 23, 2010 at 03:27:54AM -0600, Olof Johansson wrote: Some controllers misparse segment length 0 as being 0, not 65536. Add a quirk to deal with it. Signed-off-by: Olof Johansson o...@lixom.net I tend to NACK it (but I am not the maintainer). I'd prefer to see a draft of your idea

Re: [PATCH 2/23] Alternative mmc structure to support pxa168, pxa910, mmp2 family SD

2010-12-23 Thread Enrico Scholz
Philip Rakity prak...@marvell.com writes: --- a/arch/arm/mach-mmp/include/mach/regs-apmu.h +++ b/arch/arm/mach-mmp/include/mach/regs-apmu.h +#define APMU_SDH2APMU_REG(0x0e8) +#define APMU_SDH3APMU_REG(0x0ec) is this really correct? ARMADA 16x Application Processor Family (October

Re: [linux-pm] subtle pm_runtime_put_sync race and sdio functions

2010-12-23 Thread Alan Stern
On Thu, 23 Dec 2010, Ohad Ben-Cohen wrote: On Sun, Dec 19, 2010 at 12:22 PM, Rafael J. Wysocki r...@sisk.pl wrote: That said, I think we may do something different that perhaps will make your life somewhat easier. ... So, I think we can add a runtime only flag working as described above.

Re: [PATCH 1/2] sdhci: add quirk for max len ADMA descriptors

2010-12-23 Thread Olof Johansson
On Thu, Dec 23, 2010 at 3:26 AM, Wolfram Sang w.s...@pengutronix.de wrote: On Thu, Dec 23, 2010 at 03:27:54AM -0600, Olof Johansson wrote: Some controllers misparse segment length 0 as being 0, not 65536. Add a quirk to deal with it. Signed-off-by: Olof Johansson o...@lixom.net I tend to

Re: [PATCH 2/2] mmc: add sdhci-tegra driver for Tegra SoCs

2010-12-23 Thread Olof Johansson
On Thu, Dec 23, 2010 at 3:23 AM, Wolfram Sang w.s...@pengutronix.de wrote: Changes since v2:       * Whitespace fixes       * Changed order of test in get_ro What benefit has the reordering? (And just to make sure: You still return -1 meaning read-only. I assume this is intentional)\ Uh,

test mail

2010-12-23 Thread Chikkature Rajashekar, Madhusudhan
I am having trouble sending mails to this list. So just a test mail please ignore. -- To unsubscribe from this list: send the line unsubscribe linux-mmc in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: [GIT PULL] MMC fixes for 2.6.37

2010-12-23 Thread Chris Ball
Hi Kyungmin, On Thu, Dec 23, 2010 at 06:17:50PM +0900, Kyungmin Park wrote: Can you include the s5pc210 external clock support? As I said: If Ben agrees, I'm happy to send it on. If Ben stays silent, then I have to overrule him -- he's the maintainer of this driver. I'm okay with doing that,

Re: [patch v3] mmc, ARM: Add zboot from MMC support for SuperH Mobile ARM

2010-12-23 Thread Paul Mundt
On Thu, Dec 09, 2010 at 07:16:53AM +0900, Simon Horman wrote: This allows a ROM-able zImage to be written to MMC and for SuperH Mobile ARM to boot directly from the MMCIF hardware block. This is achieved by the MaskROM loading the first portion of the image into MERAM and then jumping to