[PATCH v2] mmc: core: Remove fixed voltage regulator logic

2014-08-11 Thread Tim Kryger
There is no need for regulator consumers to include special logic for fixed voltage regulators as they support regulator_set_voltage() just like their non-fixed regulator counterparts. Signed-off-by: Tim Kryger --- Changes in v2: - Remove query of the current voltage, just set the desired volt

[PATCH] mmc: card: not access RPMB partition for normal read and write

2014-08-11 Thread Yunpeng Gao
From: Chuanxiao Dong During kernel boot, it will try to read some logical sectors of each block device node for the possible partition table. But since RPMB partition is special and can not be accessed by normal eMMC read / write CMDs, it will cause below error messages during kernel boot: ... <

Re: [PATCHv10 4/5] ARM: dts: socfpga: unuse the slot-node and deprecate the supports-highspeed for dw-mmc

2014-08-11 Thread Dinh Nguyen
On Thu, Aug 7, 2014 at 2:38 AM, Jaehoon Chung wrote: > dw-mmc controller can support multiple slots. > But, there are no use-cases anywhere. So we don't need to support the > slot-node for dw-mmc controller. > And "supports-highspeed" property in dw-mmc is deprecated. > "supports-highspeed" proper

Re: [PATCHv10 5/5] ARM: dts: rockchip: unuse the slot-node and deprecate the supports-highspeed for dw-mmc

2014-08-11 Thread Heiko Stübner
Am Donnerstag, 7. August 2014, 16:38:02 schrieb Jaehoon Chung: > dw-mmc controller can support multiple slots. > But, there are no use-cases anywhere. So we don't need to support the > slot-node for dw-mmc controller. > And "supports-highspeed" property in dw-mmc is deprecated. > "supports-highspee

Re: [PATCH] mmc: rtsx: fix incorrect last byte in R2 response

2014-08-11 Thread Dan Carpenter
On Mon, Aug 11, 2014 at 04:32:16PM +0800, rogera...@realtek.com wrote: > From: Roger Tseng > > Current code erroneously fill the last byte of R2 response with an undefined > value. In addition, it is impossible to obtain the real values since the > controller actually 'offloads' the last byte(CRC

[PATCH] mmc: sdhci-pci: Enable SD/SDIO host controller support on INTEL Merrifield platform

2014-08-11 Thread Yunpeng Gao
Current mmc-next mmc driver only supports emmc0/emmc1 host controllers for Intel Merrifield platform. Since Merrifield platform actually disables emmc1 and also support SD/SDIO host controllers, submit this patch to do: 1. Enable SDHCI pci host controller support for SD/SDIO; 2. Change eMMC pin GPI

Re: [PATCH 3/5] mmc: sdhci-pltfm: Do not use parent as the host's device

2014-08-11 Thread Russell King - ARM Linux
On Mon, Aug 11, 2014 at 10:15:50AM +0100, Pawel Moll wrote: > On Mon, 2014-08-11 at 10:07 +0100, Ulf Hansson wrote: > > Sorry for the delay. I suppose this make sense, but I really don't > > know for sure. > > > > I guess we need some testing in linux-next, to get some confidence. > > Would you t

Re: [PATCHv10 2/5] mmc: dw_mmc: modify the dt-binding for removing slot-node and supports-highspeed

2014-08-11 Thread Ulf Hansson
On 7 August 2014 09:37, Jaehoon Chung wrote: > Almost all SoCs use one slot per host controller. > (Even if controller can support the multiple slot, Recommend to use one slot > per host controller.) > Don't use the slot-node and deprecate the "supports-highspeed" property. > Instead, use the cap

Re: [PATCHv10 1/5] mmc: dw_mmc: Slot quirk "disable-wp" is deprecated.

2014-08-11 Thread Ulf Hansson
On 7 August 2014 09:37, Jaehoon Chung wrote: > Slot quirks "disable-wp" is deprecated. > Instead, use the host quirk "disable-wp". > (Because the slot-node is removed in dt-file.) > > Signed-off-by: Jaehoon Chung > Tested-by: Sachin Kamat > Acked-by: Seungwon Jeon > Reviewed-by: Doug Anderson

Re: [PATCH 3/5] mmc: sdhci-pltfm: Do not use parent as the host's device

2014-08-11 Thread Ulf Hansson
On 11 August 2014 11:15, Pawel Moll wrote: > On Mon, 2014-08-11 at 10:07 +0100, Ulf Hansson wrote: >> On 8 August 2014 18:36, Pawel Moll wrote: >> > On Fri, 2014-07-25 at 15:23 +0100, Pawel Moll wrote: >> >> The code selecting a device for the sdhci host has been >> >> continuously tweaked (4b711

Re: [PATCH 3/5] mmc: sdhci-pltfm: Do not use parent as the host's device

2014-08-11 Thread Pawel Moll
On Mon, 2014-08-11 at 10:07 +0100, Ulf Hansson wrote: > On 8 August 2014 18:36, Pawel Moll wrote: > > On Fri, 2014-07-25 at 15:23 +0100, Pawel Moll wrote: > >> The code selecting a device for the sdhci host has been > >> continuously tweaked (4b711cb13843f5082e82970dd1e8031383134a65 > >> "mmc: sdh

Re: [PATCH 3/5] mmc: sdhci-pltfm: Do not use parent as the host's device

2014-08-11 Thread Ulf Hansson
On 8 August 2014 18:36, Pawel Moll wrote: > On Fri, 2014-07-25 at 15:23 +0100, Pawel Moll wrote: >> The code selecting a device for the sdhci host has been >> continuously tweaked (4b711cb13843f5082e82970dd1e8031383134a65 >> "mmc: sdhci-pltfm: Add structure for host-specific data" and >> a4d2177f0

Re: [PATCH v2] mmc: sdhci-pci: SDIO host controller support for Intel Quark X1000

2014-08-11 Thread Ulf Hansson
On 11 August 2014 07:15, Chen, Alvin wrote: > Hi Ulf, > > Any update for this patch? Just want to follow-up. It will be included in my PR for 3.17. Kind regards Uffe > > > > Best regards,Alvin Chen > ICFS Platform Engineering Solution > Flex Services (CMMI Level 3, IQA2005, IQA2008), Greater As

[PATCH] mmc: rtsx: fix incorrect last byte in R2 response

2014-08-11 Thread rogerable
From: Roger Tseng Current code erroneously fill the last byte of R2 response with an undefined value. In addition, it is impossible to obtain the real values since the controller actually 'offloads' the last byte(CRC7, end bit) while receiving R2 response. This could cause mmc stack to obtain inc

Re: [PATCH] mmc: dw_mmc: change to use recommended reset procedure

2014-08-11 Thread Ulf Hansson
On 5 August 2014 03:19, Sonny Rao wrote: > This patch changes the fifo reset code to follow the reset procedure > outlined in the documentation of Synopsys Mobile storage host databook. > > Signed-off-by: Sonny Rao > Signed-off-by: Yuvaraj Kumar C D > Acked-by: Seungwon Jeon > Signed-off-by: Ul