[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20150330104639.GC21893@griffinp-ThinkPad-X1-Carbon-2nd>
Date: Mon, 30 Mar 2015 11:46:39 +0100
From: Peter Griffin <peter.griffin@...aro.org>
To: Maxime Coquelin <maxime.coquelin@...com>
Cc: linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org,
patrice.chotard@...com, srinivas.kandagatla@...il.com,
chris@...ntf.net, ulf.hansson@...aro.org, lee.jones@...aro.org,
devicetree@...r.kernel.org, linux-mmc@...r.kernel.org,
peppe.cavallaro@...com
Subject: Re: [PATCH v2 5/8] mmc: sdhci-st: Add sdhci_st_set_uhs_signaling
function.
Hi Maxime,
On Tue, 03 Mar 2015, Maxime Coquelin wrote:
>
> On 02/26/2015 02:10 PM, Peter Griffin wrote:
> >To allow UHS modes to work properly we need to provide the st specific
> >set_uhs_signaling callback function. This function differs from the
> >generic sdhci_set_uhs_signaling callback in that we need to configure
> >the correct delay depending on the UHS mode, and also set the V18_EN
> >bit.
<snip>
> >+ if (ret)
> >+ dev_warn(mmc_dev(host->mmc), "Error setting dll for clock\n");
> Maybe you could print the uhs value to know which mode it was
> trying to set?
Yes good idea, I have made that change in v3.
> >+
> >+ dev_dbg(mmc_dev(host->mmc), "uhs %d, ctrl_2 %04X\n", uhs, ctrl_2);
> >+
> >+ sdhci_writew(host, ctrl_2, SDHCI_HOST_CONTROL2);
> >+}
> > static u32 sdhci_st_readl(struct sdhci_host *host, int reg)
> > {
> >@@ -283,6 +332,7 @@ static const struct sdhci_ops sdhci_st_ops = {
> > .set_bus_width = sdhci_set_bus_width,
> > .read_l = sdhci_st_readl,
> > .reset = sdhci_reset,
> >+ .set_uhs_signaling = sdhci_st_set_uhs_signaling,
> > };
> > static const struct sdhci_pltfm_data sdhci_st_pdata = {
>
> Other than that, you can add my:
> Acked-by: Maxime Coquelin <maxime.coquelin@...com>
Thanks, regards,
Peter.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists