From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sergei Shtylyov Subject: Re: [PATCH 4/5][RESENT] mmc: SDHI: update sh_mobile_sdhi_of_data for r8a7790 Date: Sat, 03 May 2014 03:55:08 +0400 Message-ID: <5364305C.7090005@cogentembedded.com> References: <87lhy090m0.wl%kuninori.morimoto.gx@gmail.com> <878ut5qo9d.wl%kuninori.morimoto.gx@gmail.com> <8738jdqo78.wl%kuninori.morimoto.gx@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <8738jdqo78.wl%kuninori.morimoto.gx@gmail.com> Sender: linux-sh-owner@vger.kernel.org To: Kuninori Morimoto , Chris Ball Cc: Simon , Magnus , Linux-SH , linux-mmc@vger.kernel.org List-Id: linux-mmc@vger.kernel.org Hello. On 02/21/2014 03:55 AM, Kuninori Morimoto wrote: > From: Kuninori Morimoto > This patch updates r8a7790 DT data to have SoC specific settings. > Acked-by: Simon Horman > Signed-off-by: Kuninori Morimoto > --- > drivers/mmc/host/sh_mobile_sdhi.c | 10 +++++++++- > 1 file changed, 9 insertions(+), 1 deletion(-) > diff --git a/drivers/mmc/host/sh_mobile_sdhi.c b/drivers/mmc/host/sh_mobile_sdhi.c > index 38acf26..cfc37ec 100644 > --- a/drivers/mmc/host/sh_mobile_sdhi.c > +++ b/drivers/mmc/host/sh_mobile_sdhi.c [...] > @@ -51,6 +52,12 @@ static const struct sh_mobile_sdhi_of_data of_rcar_gen1_compatible = { > .capabilities = MMC_CAP_SD_HIGHSPEED | MMC_CAP_SDIO_IRQ, > }; > > +static const struct sh_mobile_sdhi_of_data of_rcar_gen2_compatible = { > + .tmio_flags = TMIO_MMC_HAS_IDLE_WAIT | TMIO_MMC_WRPROTECT_DISABLE, Hm, I think SDHI0/1 still have the WP signal, only SDHI2 on Koelsch lacks it due to using micro-SD slot?.. WBR, Sergei From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sergei Shtylyov Date: Fri, 02 May 2014 23:55:08 +0000 Subject: Re: [PATCH 4/5][RESENT] mmc: SDHI: update sh_mobile_sdhi_of_data for r8a7790 Message-Id: <5364305C.7090005@cogentembedded.com> List-Id: References: <87lhy090m0.wl%kuninori.morimoto.gx@gmail.com> <878ut5qo9d.wl%kuninori.morimoto.gx@gmail.com> <8738jdqo78.wl%kuninori.morimoto.gx@gmail.com> In-Reply-To: <8738jdqo78.wl%kuninori.morimoto.gx@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Kuninori Morimoto , Chris Ball Cc: Simon , Magnus , Linux-SH , linux-mmc@vger.kernel.org Hello. On 02/21/2014 03:55 AM, Kuninori Morimoto wrote: > From: Kuninori Morimoto > This patch updates r8a7790 DT data to have SoC specific settings. > Acked-by: Simon Horman > Signed-off-by: Kuninori Morimoto > --- > drivers/mmc/host/sh_mobile_sdhi.c | 10 +++++++++- > 1 file changed, 9 insertions(+), 1 deletion(-) > diff --git a/drivers/mmc/host/sh_mobile_sdhi.c b/drivers/mmc/host/sh_mobile_sdhi.c > index 38acf26..cfc37ec 100644 > --- a/drivers/mmc/host/sh_mobile_sdhi.c > +++ b/drivers/mmc/host/sh_mobile_sdhi.c [...] > @@ -51,6 +52,12 @@ static const struct sh_mobile_sdhi_of_data of_rcar_gen1_compatible = { > .capabilities = MMC_CAP_SD_HIGHSPEED | MMC_CAP_SDIO_IRQ, > }; > > +static const struct sh_mobile_sdhi_of_data of_rcar_gen2_compatible = { > + .tmio_flags = TMIO_MMC_HAS_IDLE_WAIT | TMIO_MMC_WRPROTECT_DISABLE, Hm, I think SDHI0/1 still have the WP signal, only SDHI2 on Koelsch lacks it due to using micro-SD slot?.. WBR, Sergei