Re: [PATCH] mmc: tegra: Optimize write_w path for tegra114 and later

2015-02-12 Thread Rhyland Klein
On 2/11/2015 10:50 PM, Alexandre Courbot wrote: On Thu, Feb 12, 2015 at 2:55 AM, Rhyland Klein rkl...@nvidia.com wrote: Setup a different set of sdhci_ops for tegra114 and later so that the write_w callback is only used on tegra114. This allows us to remove the NVQUIRK_SHADOW_XFER_MODE_REG

[PATCH] mmc: tegra: Optimize write_w path for tegra114 and later

2015-02-11 Thread Rhyland Klein
Setup a different set of sdhci_ops for tegra114 and later so that the write_w callback is only used on tegra114. This allows us to remove the NVQUIRK_SHADOW_XFER_MODE_REG and simply the logic in tegra_sdhci_writew. This was suggested by Alexandre Courbot. Signed-off-by: Rhyland Klein rkl

[PATCH v2] mmc: tegra: Write xfer_mode, CMD regs in together

2015-01-28 Thread Rhyland Klein
. This is implemented as an NVQUIRK as it applies to T114, T124 and T132. Signed-off-by: Pavan Kunapuli pkunap...@nvidia.com Signed-off-by: Rhyland Klein rkl...@nvidia.com --- v2: - Fixed quirk flag check s/*/ - Removed line clearing xfer_mode_shadow - Added explicit mention of which platforms

[PATCH 0/4] Tegra114 Add Minimal SDHCI support

2013-02-20 Thread Rhyland Klein
, so there shouldn't be a nasty dependency between them. ( http://patchwork.ozlabs.org/patch/221969/ http://patchwork.ozlabs.org/patch/221970/ ) Pritesh Raithatha (1): ARM tegra: add SDHCI nodes with common properties Rhyland Klein (3): ARM: tegra: add SDHCI support for Dalmore mmc

[PATCH 1/4] ARM tegra: add SDHCI nodes with common properties

2013-02-20 Thread Rhyland Klein
From: Pritesh Raithatha praitha...@nvidia.com This patch adds in the SDHCI nodes for the busses supported on Tegra114 boards. Signed-off-by: Pritesh Raithatha praitha...@nvidia.com [Rhyland added clk refs to reordered sdhci nodes and removed spaces] Signed-off-by: Rhyland Klein rkl

[PATCH 3/4] mmc: host: sdhci-tegra: cleanup ifdefs

2013-02-20 Thread Rhyland Klein
The structs wrapped with the SOC ifdefs are small enough where having them always there shouldn't be a big overhead. Removing the ifdefs also makes the code a little cleaner. Signed-off-by: Rhyland Klein rkl...@nvidia.com --- drivers/mmc/host/sdhci-tegra.c |8 1 file changed, 8

[PATCH 2/4] ARM: tegra: add SDHCI support for Dalmore

2013-02-20 Thread Rhyland Klein
Based on changes by: Pritesh Raithatha praitha...@nvidia.com Signed-off-by: Rhyland Klein rkl...@nvidia.com --- arch/arm/boot/dts/tegra114-dalmore.dts | 11 +++ 1 file changed, 11 insertions(+) diff --git a/arch/arm/boot/dts/tegra114-dalmore.dts b/arch/arm/boot/dts/tegra114

[PATCH 4/4] mmc: host: sdhci-tegra: add basic support for Tegra114

2013-02-20 Thread Rhyland Klein
The mmc controller on Tegra114 platforms is basically compatible with the settings used for Tegra30. However there is a difference where we don't need the extra ENABLE_SDHCI_SPEC_300 quirk as Tegra114 hardware advertises v3.0 support already. Signed-off-by: Rhyland Klein rkl...@nvidia.com

Re: [PATCH 2/4] ARM: tegra: add SDHCI support for Dalmore

2013-02-20 Thread Rhyland Klein
On 2/20/2013 2:07 PM, Stephen Warren wrote: On 02/20/2013 11:35 AM, Rhyland Klein wrote: Based on changes by: Pritesh Raithatha praitha...@nvidia.com Signed-off-by: Rhyland Klein rkl...@nvidia.com A patch description would be useful here. Something simple like: Dalmore has a built-in eMMC