Re: [PATCH] Revert "sdhci-of-esdhc: Support 8BIT bus width."

2015-05-21 Thread Joakim Tjernlund
On Thu, 2015-05-21 at 18:56 +0800, Kevin Hao wrote: > On Thu, May 21, 2015 at 09:24:43AM +, Joakim Tjernlund wrote: > > The HW 8BIT can be confused with SDHCI_CTRL_HISPD(0x04) as it is the same > > bit. > > > > However, now I see that esdhc_writeb() has > > /* Prevent SDHCI core from writi

Re: [PATCH] Revert "sdhci-of-esdhc: Support 8BIT bus width."

2015-05-21 Thread Kevin Hao
On Thu, May 21, 2015 at 09:24:43AM +, Joakim Tjernlund wrote: > The HW 8BIT can be confused with SDHCI_CTRL_HISPD(0x04) as it is the same bit. > > However, now I see that esdhc_writeb() has > /* Prevent SDHCI core from writing reserved bits (e.g. HISPD). */ > if (reg == SDHCI_HOST_C

Re: [PATCH] Revert "sdhci-of-esdhc: Support 8BIT bus width."

2015-05-21 Thread Joakim Tjernlund
On Thu, 2015-05-21 at 09:07 +0800, Kevin Hao wrote: > On Wed, May 20, 2015 at 02:54:27PM +, Joakim Tjernlund wrote: > > On Tue, 2015-05-19 at 17:20 +0800, Kevin Hao wrote: > > > On Sun, May 17, 2015 at 08:36:07AM +, Joakim Tjernlund wrote: > > > > On Sun, 2015-05-17 at 13:06 +0800, Kevin Ha

[PATCH RESEND v7 2/2] mmc: host: sdhci: Add support to disable SDR104/SDR50/DDR50 based on capability register 0.

2015-05-21 Thread Suman Tripathi
The sdhci framework disables SDR104/SDR50/DDR50 based on only quirk. This patch adds the support to disable SDR104/SDR50/DDR50 based on reading the capability register 0. Signed-off-by: Suman Tripathi --- --- drivers/mmc/host/sdhci.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff

[PATCH RESEND v7 1/2] arm64: dts: Add the arasan mmc nodes in apm-storm.dtsi

2015-05-21 Thread Suman Tripathi
This patch adds the arasan mmc nodes to reuse the of-arasan driver for APM X-Gene SoC. Signed-off-by: Suman Tripathi --- --- arch/arm64/boot/dts/apm/apm-mustang.dts | 4 +++ arch/arm64/boot/dts/apm/apm-storm.dtsi | 43 + 2 files changed, 47 insertions(+) diff -

[PATCH RESEND v7 0/2] Add SDHCI support for APM X-Gene SoC using ARASAN SDHCI controller.

2015-05-21 Thread Suman Tripathi
This patch adds the SDHCI support for APM X-Gene SoC using ARASAN SDHCI controller. v1 change: * Use the CONFIG_ARM64_DMA_HAS_IOMMU for dma-mapping. v2 change: * Drop the IOMMU support and switching to PIO mode for arasan. controller integrated inside APM X-Gene SoC. v3 change: * Change t

[PATCH v3 1/2] mmc: sdhci: fix abort due to missing runtime PM

2015-05-21 Thread Stefan Agner
When using i.MX ESDHC driver, while entering suspend while the device is in runtime PM, the sdhci_(suspend|resume)_host function are called with disabled clocks. Since this functions access the SDHC host registers, this leads to an external abort on Vybrid SoC: [ 37.772967] Unhandled fault: impr

[PATCH v3 2/2] mmc: sdhci-pxav3: use runtime_pm enabled pltfm suspend/resume

2015-05-21 Thread Stefan Agner
Use the runtime_pm enabled platform suspend/resume functions. Signed-off-by: Stefan Agner --- drivers/mmc/host/sdhci-pxav3.c | 30 +- 1 file changed, 1 insertion(+), 29 deletions(-) diff --git a/drivers/mmc/host/sdhci-pxav3.c b/drivers/mmc/host/sdhci-pxav3.c index b5