Re: [PATCH v2 RESEND 2/2] mmc: host: Add some quirks to be read from fdt in sdhci-pltm.c

2015-04-27 Thread Arnd Bergmann
On Monday 27 April 2015 21:25:20 Suman Tripathi wrote: On Monday 27 April 2015 20:33:25 Suman Tripathi wrote: On Tuesday 21 April 2015 21:12:39 Suman Tripathi wrote: + host-quirks |= SDHCI_QUIRK_BROKEN_DMA; + + if (of_get_property(np,

[PATCH 1/2] mmc: sdhci-sirf: fix the tuning count in platform_execute_tuning

2015-04-27 Thread Barry Song
From: Weijun Yang weijun.y...@csr.com hardware has 16bit to record the tuning count, so fix it to 16384. at the same time, tuned_phases[SIRF_TUNING_COUNT] is useless as the array is never used, so move it to a variant. Signed-off-by: Weijun Yang weijun.y...@csr.com Signed-off-by: Barry Song

[PATCH 2/2] mmc: sdhci-sirf: fake version and capbility registers

2015-04-27 Thread Barry Song
From: Weijun Yang weijun.y...@csr.com chips have some issues for version and capbility registers, here we fake them. Signed-off-by: Weijun Yang weijun.y...@csr.com Signed-off-by: Barry Song baohua.s...@csr.com --- drivers/mmc/host/Kconfig | 1 + drivers/mmc/host/sdhci-sirf.c | 35

Re: [PATCH v2 RESEND 2/2] mmc: host: Add some quirks to be read from fdt in sdhci-pltm.c

2015-04-27 Thread Suman Tripathi
On Tuesday 21 April 2015 21:12:39 Suman Tripathi wrote: index bef250e..9f6a4b9 100644 --- a/drivers/mmc/host/sdhci-pltfm.c +++ b/drivers/mmc/host/sdhci-pltfm.c @@ -85,6 +85,21 @@ void sdhci_get_of_property(struct platform_device *pdev) if (of_get_property(np, broken-cd,

Re: [PATCH v2 RESEND 2/2] mmc: host: Add some quirks to be read from fdt in sdhci-pltm.c

2015-04-27 Thread Suman Tripathi
On Monday 27 April 2015 20:33:25 Suman Tripathi wrote: On Tuesday 21 April 2015 21:12:39 Suman Tripathi wrote: index bef250e..9f6a4b9 100644 --- a/drivers/mmc/host/sdhci-pltfm.c +++ b/drivers/mmc/host/sdhci-pltfm.c @@ -85,6 +85,21 @@ void sdhci_get_of_property(struct platform_device

Re: [PATCH v2 RESEND 2/2] mmc: host: Add some quirks to be read from fdt in sdhci-pltm.c

2015-04-27 Thread Arnd Bergmann
On Monday 27 April 2015 20:33:25 Suman Tripathi wrote: On Tuesday 21 April 2015 21:12:39 Suman Tripathi wrote: index bef250e..9f6a4b9 100644 --- a/drivers/mmc/host/sdhci-pltfm.c +++ b/drivers/mmc/host/sdhci-pltfm.c @@ -85,6 +85,21 @@ void sdhci_get_of_property(struct platform_device