Re: MMC/SD: Support for 4.41 Specification for 2.6.32 Linux Kernel

2014-12-15 Thread Ulf Hansson
On 16 December 2014 at 07:18, ashish yadav wrote: > Hi, > > Can any one please look into this & share info about MMC/SD 4.41 > Specification for 2.6.32 Linux Kernel. > > > Thanks & Regards > Ashish > > On Mon, Dec 15, 2014 at 2:00 PM, ashish yadav wrote: >> I want to support MMC 4.41 Specifi

Re: Possible regression with commit 52221610d

2014-12-15 Thread Bjorn Andersson
On Sun, Dec 14, 2014 at 8:48 PM, Tim Kryger wrote: > On Sat, Dec 13, 2014 at 11:22 PM, Bjorn Andersson wrote: [..] >> Or simply; what is vmmc (in the code) supposed to represent? > > Hi Bjorn, > > VMMC is the supply that delivers power out to the SD card itself (aka VDD). > > It is not the intern

Re: MMC/SD: Support for 4.41 Specification for 2.6.32 Linux Kernel

2014-12-15 Thread ashish yadav
Hi, Can any one please look into this & share info about MMC/SD 4.41 Specification for 2.6.32 Linux Kernel. Thanks & Regards Ashish On Mon, Dec 15, 2014 at 2:00 PM, ashish yadav wrote: > I want to support MMC 4.41 Specification for 2.6.32 Linux Kernel Version. > > AFAIK, these support is

Re: [PATCH v3 2/3] mmc: dw_mmc: Use mmc_regulator_set_vqmmc in start_signal_voltage_switch

2014-12-15 Thread Andrew Bresticker
Doug, On Mon, Dec 15, 2014 at 4:22 PM, Doug Anderson wrote: > We've introduced a new helper in the MMC core: > mmc_regulator_set_vqmmc(). Let's use this in dw_mmc. Using this new > helper has some advantages: > > 1. We get the mmc_regulator_set_vqmmc() behavior of trying to match >VQMMC and

[PATCH 1/4] mmc: sunxi: Lock fix

2014-12-15 Thread David Lanzendörfer
1) Adding a comment in order to clarify the choice of the locks within sunxi_mmc_handle_manual_stop 2) As 李想 has pointed out the wait_dma variable was not accessed within the spin lock block in sunxi_mmc_request and so (even if it should never happend) it would have

[PATCH 3/4] mmc: sunxi: Reset behavior fix

2014-12-15 Thread David Lanzendörfer
When there is only one DES available the DMA performs a FIFO reset and waits until the reinitialization has been completed. Disabling the SDXC_IDMAC_DES0_DIC bit prevents the DMA from sending an interrupt after it has finished this reinitialization. The flags SDXC_IDMAC_DES0_FD and SDXC_IDMAC_DE

[PATCH 4/4] mmc: sunxi: Removing unused code

2014-12-15 Thread David Lanzendörfer
Removing a relict from reverse engineering of the Android driver code in sunxi_mmc_clk_set_rate. Signed-off-by: David Lanzendörfer Reported-by: 李想 --- drivers/mmc/host/sunxi-mmc.c | 10 +- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/drivers/mmc/host/sunxi-mmc.c b/driv

[PATCH 0/4] mmc: sunxi: General fixup

2014-12-15 Thread David Lanzendörfer
Hello This patchset was inspired questions from 李想 of Allwinner and incorporates as well suggestions from Hans related to spin locks. For example have not all attributes of the shared host object been protected by the spin lock, this has been changed. Also some register names and reset behavior hav

[PATCH 2/4] mmc: sunxi: Correcting SDXC_HARDWARE_RESET bit

2014-12-15 Thread David Lanzendörfer
Fixing the register name in sunxi_mmc_reset_host since the SDXC_HARDWARE_RESET bit is actually located within REG_GCTRL and not REG_CMDR as it was pointed out by Allwinner. Signed-off-by: David Lanzendörfer Reported-by: 李想 --- drivers/mmc/host/sunxi-mmc.c |2 +- 1 file changed, 1 insertio

[PATCH v3 1/3] mmc: core: Add mmc_regulator_set_vqmmc()

2014-12-15 Thread Doug Anderson
This adds logic to the MMC core to set VQMMC. This is expected to be called by MMC drivers like dw_mmc as part of (or instead of) their start_signal_voltage_switch() callback. A few notes: * When setting the signal voltage to 3.3V we do our best to make VQMMC and VMMC match. It's been reporte

[PATCH v3 2/3] mmc: dw_mmc: Use mmc_regulator_set_vqmmc in start_signal_voltage_switch

2014-12-15 Thread Doug Anderson
We've introduced a new helper in the MMC core: mmc_regulator_set_vqmmc(). Let's use this in dw_mmc. Using this new helper has some advantages: 1. We get the mmc_regulator_set_vqmmc() behavior of trying to match VQMMC and VMMC when the signal voltage is 3.3V. This ensures max compatibility

Re: [PATCH v2 2/3] mmc: dw_mmc: Use mmc_regulator_set_vqmmc in start_signal_voltage_switch

2014-12-15 Thread Doug Anderson
Andrew, On Mon, Dec 15, 2014 at 3:44 PM, Andrew Bresticker wrote: >> - if (!IS_ERR(mmc->supply.vqmmc)) { >> - ret = regulator_set_voltage(mmc->supply.vqmmc, min_uv, >> max_uv); >> - >> - if (ret) { >> - dev_dbg(&mmc->class_dev, >> -

Re: [PATCH v2 2/3] mmc: dw_mmc: Use mmc_regulator_set_vqmmc in start_signal_voltage_switch

2014-12-15 Thread Andrew Bresticker
Hi Doug, On Mon, Dec 15, 2014 at 3:25 PM, Doug Anderson wrote: > We've introduced a new helper in the MMC core: > mmc_regulator_set_vqmmc(). Let's use this in dw_mmc. Using this new > helper has some advantages: > > 1. We get the mmc_regulator_set_vqmmc() behavior of trying to match >VQMMC

Re: [PATCH v2 1/3] mmc: core: Add mmc_regulator_set_vqmmc()

2014-12-15 Thread Andrew Bresticker
Hi Doug, On Mon, Dec 15, 2014 at 3:25 PM, Doug Anderson wrote: > This adds logic to the MMC core to set VQMMC. This is expected to be > called by MMC drivers like dw_mmc as part of (or instead of) their > start_signal_voltage_switch() callback. > > A few notes: > > * When setting the signal volt

[PATCH v2 2/3] mmc: dw_mmc: Use mmc_regulator_set_vqmmc in start_signal_voltage_switch

2014-12-15 Thread Doug Anderson
We've introduced a new helper in the MMC core: mmc_regulator_set_vqmmc(). Let's use this in dw_mmc. Using this new helper has some advantages: 1. We get the mmc_regulator_set_vqmmc() behavior of trying to match VQMMC and VMMC when the signal voltage is 3.3V. This ensures max compatibility

[PATCH v2 1/3] mmc: core: Add mmc_regulator_set_vqmmc()

2014-12-15 Thread Doug Anderson
This adds logic to the MMC core to set VQMMC. This is expected to be called by MMC drivers like dw_mmc as part of (or instead of) their start_signal_voltage_switch() callback. A few notes: * When setting the signal voltage to 3.3V we do our best to make VQMMC and VMMC match. It's been reporte

Re: [PATCH 1/2] mmc: host: arasan: Add addition of-arasan quirks and add IOMMU support.

2014-12-15 Thread Arnd Bergmann
On Monday 15 December 2014 22:31:06 Suman Tripathi wrote: > @@ -162,6 +206,16 @@ static int sdhci_arasan_probe(struct platform_device > *pdev) > goto clk_dis_ahb; > } > > +#if defined(CONFIG_IOMMU_SUPPORT) > + sdhci_arasan->domain = iommu_domain_alloc(&amba_bustype);

Re: regression on rk3288 with - mmc: dw_mmc: Remove old card detect infrastructure

2014-12-15 Thread Heiko Stübner
Am Freitag, 12. Dezember 2014, 15:54:15 schrieb Doug Anderson: > Hi, > > On Fri, Dec 12, 2014 at 12:22 PM, Heiko Stübner wrote: > > Hi, > > > > when trying linux-next for 20141210 on my rk3288 eval board I got errors > > when ejecting sd cards. Especially a timeout for a command and following >

Re: [PATCH] gpio: pcf857x: restore the initial line state of all pcf lines

2014-12-15 Thread Nishanth Menon
On 12/12/2014 02:06 AM, Kishon Vijay Abraham I wrote: > The reset values for all the PCF lines are high and hence on shutdown > we should drive all the lines high in order to bring it to the reset state. > > This is actually required since pcf doesn't have a reset line and even after > warm reset

[PATCH 2/2] arm64: dts: Add APM X-Gene SDHCI DTS node.

2014-12-15 Thread Suman Tripathi
This patch adds the ahbclk and sdhciclk clock nodes and the sdhci device tree nodes of APM X-Gene SDHCI controller. Signed-off-by: Suman Tripathi --- arch/arm64/boot/dts/apm-storm.dtsi | 43 ++ 1 file changed, 43 insertions(+) diff --git a/arch/arm64/boot/dts

[PATCH 1/2] mmc: host: arasan: Add addition of-arasan quirks and add IOMMU support.

2014-12-15 Thread Suman Tripathi
Due to the fact that the existing of-arasan driver works with 32-bit platforms. This patch tweaks existing of-arasan driver to work with 64-bit platform using IOMMU translation. In addition it adds support for more quirks and quirks2 obtained from device tree inside the generic sdhci-platform(sdh

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

2014-12-15 Thread Suman Tripathi
Due to the fact that the existing of-arasan driver works with 32-bit platforms. This patch tweaks existing of-arasan driver to work with 64-bit X-Gene platform using IOMMU translation. Signed-off-by: Suman Tripathi --- Suman Tripathi (2): mmc: host: arasan: Add addition of-arasan quirks and ad

Re: UFS RPMB

2014-12-15 Thread Tomas Winkler
Can you be more specific about Linux programming API Thanks On Mon, Dec 15, 2014 at 6:19 AM, Kyuho Choi wrote: > As i know, SECURITY PROTOCOL IN/OUT are support RPMB access for UFS. > > On 12/14/14, Tomas Winkler wrote: >> Hi, sorry fore a newbie question. >> What is the current interface for ac

MMC/SD: Support for 4.41 Specification for 2.6.32 Linux Kernel

2014-12-15 Thread ashish yadav
I want to support MMC 4.41 Specification for 2.6.32 Linux Kernel Version. AFAIK, these support is not available in 2.6.32. Looking into 3.18 Kernel, I found following commit for MMC 4.41 Specification: 1. commit eb0d8f135b6730d6d0324a064664d1 21334290e7 Author: Jaehoon Chung Date: Tue