Re: [RFC PATCH 1/7] mmc: sdhci: add quirk for broken 3.0V support

2014-06-20 Thread Vincent Yang
Hi Anton, Thanks a lot for your review. I will update it in next version. Best regards, Vincent Yang 2014-06-21 4:26 GMT+08:00 Anton Vorontsov : > On Fri, Jun 20, 2014 at 05:35:22PM +0800, Vincent Yang wrote: >> This patch defines a quirk for platforms unable >> to enable 3.0V support. >> It is

Re: MMC error on Exynos4210 board

2014-06-20 Thread Tim Kryger
On Thu, Jun 19, 2014 at 8:33 PM, Sachin Kamat wrote: > On Thu, Jun 19, 2014 at 6:11 PM, Jaehoon Chung wrote: >> On 06/19/2014 07:40 PM, Sachin Kamat wrote: >>> On Thu, Jun 19, 2014 at 2:40 PM, Tim Kryger wrote: On Thu, Jun 19, 2014 at 1:49 AM, Sachin Kamat wrote: > On Thu, Jun 19, 2014

Re: [RFC PATCH 1/7] mmc: sdhci: add quirk for broken 3.0V support

2014-06-20 Thread Anton Vorontsov
On Fri, Jun 20, 2014 at 05:35:22PM +0800, Vincent Yang wrote: > This patch defines a quirk for platforms unable > to enable 3.0V support. > It is a preparation and will be used by Fujitsu > SDHCI controller f_sdh30 driver. > > Signed-off-by: Vincent Yang I don't think you need this patch. Instea

Re: [RFC 1/2] pwrseq: Add subsystem to handle complex power sequences

2014-06-20 Thread Arnd Bergmann
On Thursday 19 June 2014 15:04:50 Ulf Hansson wrote: > +Power sequence DT bindings > + > +Each power sequence method has a corresponding "power-method" property > string. > +This property shall be set in a subnode for a device. That subnode should > also > +describe resourses which are specific t

Re: [patch] mmc: sdhci-bcm-kona: | vs & typo in debug code

2014-06-20 Thread Matt Porter
On Fri, Jun 20, 2014 at 10:19:01AM +0300, Dan Carpenter wrote: > The debug printk says that 8bit is always true because of a '|' vs '&' > typo. > > Signed-off-by: Dan Carpenter Acked-by: Matt Porter > > diff --git a/drivers/mmc/host/sdhci-bcm-kona.c > b/drivers/mmc/host/sdhci-bcm-kona.c > in

Re: [RFC PATCH 5/7] mmc: sdhci: host: add new f_sdh30

2014-06-20 Thread Vincent Yang
Hi Arnd, Thanks a lot for your review. I will update it in next version. Best regards, Vincent Yang 2014-06-20 18:00 GMT+08:00 Arnd Bergmann : > On Friday 20 June 2014 17:35:26 Vincent Yang wrote: >> +Required properties: >> +- compatible: "fujitsu,f_sdh30" >> + >> +Optional properties: >> +- gp

Re: [RFC PATCH 5/7] mmc: sdhci: host: add new f_sdh30

2014-06-20 Thread Arnd Bergmann
On Friday 20 June 2014 17:35:26 Vincent Yang wrote: > +Required properties: > +- compatible: "fujitsu,f_sdh30" > + > +Optional properties: > +- gpios: Specify gpios for controlling signal level > +- clocks: Specify clocks used by SDHCI controller > +- clock-names: Specify the clock-names to be used

[RFC PATCH 5/7] mmc: sdhci: host: add new f_sdh30

2014-06-20 Thread Vincent Yang
This patch adds new host controller driver for Fujitsu SDHCI controller f_sdh30. Signed-off-by: Vincent Yang --- .../devicetree/bindings/mmc/sdhci-fujitsu.txt | 25 ++ drivers/mmc/host/Kconfig | 7 + drivers/mmc/host/Makefile | 1 + dr

[RFC PATCH 2/7] mmc: sdhci: add quirk for voltage switch callback

2014-06-20 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

[RFC PATCH 7/7] mmc: core: add manual resume capability

2014-06-20 Thread Vincent Yang
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

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

2014-06-20 Thread Vincent Yang
Hi, We are adding support for a new Fujitsu sdhci IP. These patches are against v3.16-rc1 mainline since nothing in mmc-next at this moment. These patches are tested on 3.16-rc1 integration tree. We welcome any comment and advice about how to make any improvements or better align them with upstr

[RFC PATCH 6/7] mmc: core: hold SD Clock before CMD11 during Signal Voltage Switch Procedure

2014-06-20 Thread Vincent Yang
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 card holding DAT[3:0] low

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

2014-06-20 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

[RFC PATCH 3/7] mmc: sdhci: add quirk for tuning work around

2014-06-20 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 |

[RFC PATCH 1/7] mmc: sdhci: add quirk for broken 3.0V support

2014-06-20 Thread Vincent Yang
This patch defines a quirk for platforms unable to enable 3.0V support. 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 | 3 +++ include/linux/mmc/sdhci.h | 2 ++ 2 files changed, 5 insertions(+) diff --g

[PATCH] mmc: sdhci-pci: Quark SDIO host controller supporting

2014-06-20 Thread Chen, Alvin
From: Derek Browne On Intel Quark, there is a SDIO host controller. This patch is added to enable the SDIO host controller. Signed-off-by: Derek Browne Signed-off-by: Alvin (Weike) Chen --- drivers/mmc/host/sdhci-pci.c | 12 include/linux/pci_ids.h |2 ++ 2 files chang

[PATCH] mmc: sdhci-pci: Add support for Intel Quark SDIO host controller

2014-06-20 Thread Chen, Alvin
From: "Alvin (Weike) Chen" Hi, Intel Quark consists of one SDIO host controller which can be PCI enumerated. SDHCI-PCI layer doesn't support it. Thus, we add support for Intel Quark SDIO as well. Derek Browne (1): Quark SDIO host controller drivers/mmc/host/sdhci-pci.c | 12

Re: [RFC 1/2] pwrseq: Add subsystem to handle complex power sequences

2014-06-20 Thread Hans de Goede
Hi, On 06/20/2014 10:02 AM, Olof Johansson wrote: > On Fri, Jun 20, 2014 at 12:27 AM, Hans de Goede wrote: >> Hi, >> >> On 06/19/2014 07:18 PM, Olof Johansson wrote: >>> Hi, >>> >>> >>> >>> On Thu, Jun 19, 2014 at 6:04 AM, Ulf Hansson wrote: The pwrseq subsystem handles complex power sequen

Re: [RFC 1/2] pwrseq: Add subsystem to handle complex power sequences

2014-06-20 Thread Olof Johansson
On Fri, Jun 20, 2014 at 12:27 AM, Hans de Goede wrote: > Hi, > > On 06/19/2014 07:18 PM, Olof Johansson wrote: >> Hi, >> >> >> >> On Thu, Jun 19, 2014 at 6:04 AM, Ulf Hansson wrote: >>> The pwrseq subsystem handles complex power sequences, typically useful >>> for subsystems that makes use of dis

Re: [RFC 1/2] pwrseq: Add subsystem to handle complex power sequences

2014-06-20 Thread Hans de Goede
Hi, On 06/19/2014 07:18 PM, Olof Johansson wrote: > Hi, > > > > On Thu, Jun 19, 2014 at 6:04 AM, Ulf Hansson wrote: >> The pwrseq subsystem handles complex power sequences, typically useful >> for subsystems that makes use of discoverable buses, like for example >> MMC and I2C. >> >> The pwrse

[patch] mmc: sdhci-bcm-kona: | vs & typo in debug code

2014-06-20 Thread Dan Carpenter
The debug printk says that 8bit is always true because of a '|' vs '&' typo. Signed-off-by: Dan Carpenter diff --git a/drivers/mmc/host/sdhci-bcm-kona.c b/drivers/mmc/host/sdhci-bcm-kona.c index dd780c3..2d3f3c0 100644 --- a/drivers/mmc/host/sdhci-bcm-kona.c +++ b/drivers/mmc/host/sdhci-bcm-kon