From: Wolfram Sang <wsa@the-dreams.de>
To: Wolfram Sang <wsa+renesas@sang-engineering.com>
Cc: linux-mmc@vger.kernel.org, linux-renesas-soc@vger.kernel.org,
Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>,
Takeshi Saito <takeshi.saito.xv@renesas.com>
Subject: Re: [PATCH RFT 4/4] mmc: renesas_sdhi: support manual calibration
Date: Fri, 28 Jun 2019 22:06:14 +0200 [thread overview]
Message-ID: <20190628200614.GA5956@kunai> (raw)
In-Reply-To: <20190628153448.4167-5-wsa+renesas@sang-engineering.com>
[-- Attachment #1: Type: text/plain, Size: 830 bytes --]
> @@ -403,13 +492,20 @@ static void renesas_sdhi_reset_hs400_mode(struct tmio_mmc_host *host,
> SH_MOBILE_SDHI_SCC_TMPPORT2_HS400OSEL) &
> sd_scc_read32(host, priv, SH_MOBILE_SDHI_SCC_TMPPORT2));
>
> + if (priv->quirks->manual_calibration)
> + renesas_sdhi_adjust_hs400_mode_disable(host);
> +
> sd_ctrl_write16(host, CTL_SD_CARD_CLK_CTL, CLK_CTL_SCLKEN |
> sd_ctrl_read16(host, CTL_SD_CARD_CLK_CTL));
> }
>
> static void renesas_sdhi_prepare_hs400_tuning(struct tmio_mmc_host *host)
> {
> - renesas_sdhi_reset_hs400_mode(host, host_to_priv(host));
> + struct renesas_sdhi *priv = host_to_priv(host);
> +
> + renesas_sdhi_reset_hs400_mode(host, priv);
> + if (priv->quirks->manual_calibration)
> + priv->needs_adjust_hs400 = true;
I need to check for a valid 'quirks' here first!
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
prev parent reply other threads:[~2019-06-28 20:06 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-06-28 15:34 [PATCH RFT 0/4] mmc: renesas_sdhi: support manual calibration Wolfram Sang
2019-06-28 15:34 ` [PATCH RFT 1/4] mmc: renesas_sdhi: keep sorting Wolfram Sang
2019-06-28 16:47 ` Geert Uytterhoeven
2019-06-28 15:34 ` [PATCH RFT 2/4] mmc: tmio: add generic hook to fixup after a completed request Wolfram Sang
2019-06-28 16:48 ` Geert Uytterhoeven
2019-06-28 15:34 ` [PATCH RFT 3/4] mmc: renesas_sdhi: make quirks info accessible outside probe() Wolfram Sang
2019-06-28 16:49 ` Geert Uytterhoeven
2019-06-28 15:34 ` [PATCH RFT 4/4] mmc: renesas_sdhi: support manual calibration Wolfram Sang
2019-06-28 20:06 ` Wolfram Sang [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20190628200614.GA5956@kunai \
--to=wsa@the-dreams.de \
--cc=linux-mmc@vger.kernel.org \
--cc=linux-renesas-soc@vger.kernel.org \
--cc=takeshi.saito.xv@renesas.com \
--cc=wsa+renesas@sang-engineering.com \
--cc=yoshihiro.shimoda.uh@renesas.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.