UFS RPMB

2014-12-14 Thread Tomas Winkler
Hi, sorry fore a newbie question. What is the current interface for accessing rpmb LUN in a UFS devices. For emmc one need to issue a raw mmc ioctl command MMC_IOC_CMD. Thanks Tomas -- To unsubscribe from this list: send the line unsubscribe linux-mmc in the body of a message to

[PATCH 0/7]: mmc: shmobile: DMA cleanup

2014-12-14 Thread Kuninori Morimoto
Hi Ulf, Chris, and Simon These are DMA cleanup patches for SH-Mobile SDHI. 5) is based on 1). 6) is based on 2). Kuninori Morimoto (7): 1) mmc: tmio: add .enable_dma 2) mmc: tmio: enable SoC specific DMA buswidth settings 3) mmc: sh_mobile_sdhi: tidyup mmc_data-bus_shift for

[PATCH 1/7] mmc: tmio: add .enable_dma

2014-12-14 Thread Kuninori Morimoto
From: Kuninori Morimoto kuninori.morimoto...@renesas.com Some controllers need DMA special register/setting. This patch adds new .enable_dma callback for it. Signed-off-by: Kuninori Morimoto kuninori.morimoto...@renesas.com --- drivers/mmc/host/tmio_mmc_dma.c |3 +++

[PATCH 2/7] mmc: tmio: enable SoC specific DMA buswidth settings

2014-12-14 Thread Kuninori Morimoto
From: Kuninori Morimoto kuninori.morimoto...@renesas.com Renesas SDHI which is based on TMIO driver has 2 type SoC. 1st one is used as SH-Mobile series, and 2nd is R-Car series. R-Car series SoC has DMA buswidth setting register which enables 32bit access. This patch adds .dma_buswidth and

[PATCH 3/7] mmc: sh_mobile_sdhi: tidyup mmc_data-bus_shift for latest SoC

2014-12-14 Thread Kuninori Morimoto
From: Kuninori Morimoto kuninori.morimoto...@renesas.com Latest SDHI on Renesas has expand register mapping. update mmc_data-bus_shift for it. Signed-off-by: Kuninori Morimoto kuninori.morimoto...@renesas.com --- drivers/mmc/host/sh_mobile_sdhi.c |5 - 1 file changed, 4 insertions(+), 1

[PATCH 4/7] mmc: sh_mobile_sdhi: add new macro for mmc_host to sh_mobile_sdhi

2014-12-14 Thread Kuninori Morimoto
From: Kuninori Morimoto kuninori.morimoto...@renesas.com getting struct sh_mobile_sdhi from struct mmc_host needs to use complex container_of(). This patch adds new host_to_priv macro to get it easily. Signed-off-by: Kuninori Morimoto kuninori.morimoto...@renesas.com ---

[PATCH 5/7] mmc: sh_mobile_sdhi: use .enable_dma

2014-12-14 Thread Kuninori Morimoto
From: Kuninori Morimoto kuninori.morimoto...@renesas.com tmio_mmc_data has .enable_dma callback now. let's use it. Signed-off-by: Kuninori Morimoto kuninori.morimoto...@renesas.com --- drivers/mmc/host/sh_mobile_sdhi.c |6 ++ 1 file changed, 6 insertions(+) diff --git

[PATCH 6/7] mmc: sh_mobile: enable 32bit DMA access

2014-12-14 Thread Kuninori Morimoto
From: Kuninori Morimoto kuninori.morimoto...@renesas.com Now, sh_mobile_sdhi can use 32bit DMA access in R-Cer Gen2. Let's use it. Signed-off-by: Kuninori Morimoto kuninori.morimoto...@renesas.com --- drivers/mmc/host/sh_mobile_sdhi.c | 44 + 1 file

[PATCH 7/7] mmc: remove TMIO_MMC_HAVE_CTL_DMA_REG flag

2014-12-14 Thread Kuninori Morimoto
From: Kuninori Morimoto kuninori.morimoto...@renesas.com tmio_mmc_host has .enable_dma callback now. We don't need TMIO_MMC_HAVE_CTL_DMA_REG anymore. Let's remove it Signed-off-by: Kuninori Morimoto kuninori.morimoto...@renesas.com --- drivers/mmc/host/sh_mobile_sdhi.c |5 -

Re: UFS RPMB

2014-12-14 Thread Kyuho Choi
As i know, SECURITY PROTOCOL IN/OUT are support RPMB access for UFS. On 12/14/14, Tomas Winkler tom...@gmail.com wrote: Hi, sorry fore a newbie question. What is the current interface for accessing rpmb LUN in a UFS devices. For emmc one need to issue a raw mmc ioctl command MMC_IOC_CMD.

Re: Possible regression with commit 52221610d

2014-12-14 Thread Tim Kryger
On Sat, Dec 13, 2014 at 11:22 PM, Bjorn Andersson bj...@kryo.se wrote: On Tue, Nov 4, 2014 at 7:31 AM, Tim Kryger tim.kry...@gmail.com wrote: On Tue, Nov 4, 2014 at 1:00 AM, Alexandre Courbot acour...@nvidia.com wrote: Hi Tim, thanks for your reply! On 11/04/2014 02:28 PM, Tim Kryger wrote:

Re: [PATCH v2 3/4] mmc: dw_mmc: Convert to mmc_send_tuning()

2014-12-14 Thread Jaehoon Chung
Hi, Alim. On 12/13/2014 12:13 AM, Jaehoon Chung wrote: Hi. On 12/10/2014 06:30 AM, Alim Akhtar wrote: Hi Ulf On Mon, Dec 8, 2014 at 3:40 PM, Ulf Hansson ulf.hans...@linaro.org wrote: On 6 December 2014 at 13:43, Alim Akhtar alim.akh...@gmail.com wrote: Hi Ulf, On Fri, Dec 5, 2014 at

[PATCH v2 0/4] mmc: sdhci: adding support for a new Fujitsu sdhci IP

2014-12-14 Thread Vincent Yang
Hello, Fujitsu have an sdhci IP which is implemented in a SoC we're adding to mainline, the most recent series for that was sent here: http://lists.infradead.org/pipermail/linux-arm-kernel/2014-December/310539.html We welcome any comment and advice about how to make any improvements or

[PATCH v2 1/4] mmc: sdhci: add a voltage switch callback function

2014-12-14 Thread Vincent Yang
This patch adds a callback function to do controller-specific actions when switching voltages. It is a preparation and will be used by Fujitsu SDHCI controller f_sdh30 driver. Signed-off-by: Vincent Yang vincent.y...@tw.fujitsu.com --- drivers/mmc/host/sdhci.c | 4 drivers/mmc/host/sdhci.h

[PATCH v2 2/4] mmc: sdhci: add a quirk for tuning work around

2014-12-14 Thread Vincent Yang
This patch defines a quirk for tuning work around for some sdhci host controller. It sets both SDHCI_CTRL_EXEC_TUNING and SDHCI_CTRL_TUNED_CLK for tuning. It is a preparation and will be used by Fujitsu SDHCI controller f_sdh30 driver. Signed-off-by: Vincent Yang vincent.y...@tw.fujitsu.com ---

[PATCH v2 3/4] mmc: sdhci: add a quirk for single block transactions

2014-12-14 Thread Vincent Yang
This patch defines a quirk to disable the block count for single block transactions. It is a preparation and will be used by Fujitsu SDHCI controller f_sdh30 driver. Signed-off-by: Vincent Yang vincent.y...@tw.fujitsu.com --- drivers/mmc/host/sdhci.c | 8 +--- include/linux/mmc/sdhci.h | 2

[PATCH v2 4/4] mmc: sdhci: host: add new f_sdh30

2014-12-14 Thread Vincent Yang
This patch adds new host controller driver for Fujitsu SDHCI controller f_sdh30. Signed-off-by: Andy Green andy.gr...@linaro.org Signed-off-by: Vincent Yang vincent.y...@tw.fujitsu.com Signed-off-by: Tetsuya Takinishi t.takini...@jp.fujitsu.com --- .../devicetree/bindings/mmc/sdhci-fujitsu.txt