[PATCH 3/8] mmc: core: add manual resume capability

2014-07-12 Thread Mollie Wu
This patch adds manual resume for some embedded platforms with rootfs stored in SD card. It references CONFIG_MMC_BLOCK_DEFERRED_RESUME in kernel 3.10. It lets host controller driver to manually handle resume by itself. [symptom] This issue is found on mb86s7x platforms with rootfs stored in SD ca

[PATCH 2/8] mmc: sdhci: host: add new f_sdh30

2014-07-12 Thread Mollie Wu
This patch adds new host controller driver for Fujitsu SDHCI controller f_sdh30. Signed-off-by: Vincent Yang Cc: Arnd Bergmann Cc: Olof Cc: Russell King Signed-off-by: Tetsuya Takinishi Signed-off-by: Mollie Wu --- .../devicetree/bindings/mmc/sdhci-fujitsu.txt | 36 ++ drivers/mmc/hos

[PATCH 3/4] mmc: sdhci: add quirk for single block transactions

2014-07-12 Thread Vincent Yang
This patch defines a quirk to disable the block count for single block transactions. It is a preparation and will be used by Fujitsu SDHCI controller f_sdh30 driver. Signed-off-by: Vincent Yang --- drivers/mmc/host/sdhci.c | 8 +--- include/linux/mmc/sdhci.h | 2 ++ 2 files changed, 7 inser

[PATCH 4/4] mmc: core: hold SD Clock before CMD11 during Signal

2014-07-12 Thread Vincent Yang
Voltage Switch Procedure This patch is to fix an issue found on mb86s7x platforms. [symptom] There are some UHS-1 SD memory cards sometimes cannot be detected correctly, e.g., Transcend 600x SDXC 64GB UHS-1 memory card. During Signal Voltage Switch Procedure, failure to switch is indicated by the

[PATCH 2/4] mmc: sdhci: add quirk for tuning work around

2014-07-12 Thread Vincent Yang
This patch defines a quirk for tuning work around for some sdhci host controller. It sets both SDHCI_CTRL_EXEC_TUNING and SDHCI_CTRL_TUNED_CLK for tuning. It is a preparation and will be used by Fujitsu SDHCI controller f_sdh30 driver. Signed-off-by: Vincent Yang --- drivers/mmc/host/sdhci.c |

[PATCH 1/4] mmc: sdhci: add quirk for voltage switch callback

2014-07-12 Thread Vincent Yang
This patch defines a quirk to do a callback when switching voltages so do controller-specific actions. It is a preparation and will be used by Fujitsu SDHCI controller f_sdh30 driver. Signed-off-by: Vincent Yang --- drivers/mmc/host/sdhci.c | 5 + drivers/mmc/host/sdhci.h | 1 + include/li

[PATCH 0/4] mmc: sdhci: adding support for a new Fujitsu sdhci IP

2014-07-12 Thread Vincent Yang
Hi, We are adding support for a new Fujitsu sdhci IP. These patches are preparations and will be used by Fujitsu SDHCI controller f_sdh30 driver. These patches are against v3.16-rc4 mainline since nothing in mmc-next at this moment. These patches are tested on 3.16-rc4 integration tree. We welco