[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAPDyKFoVq4HwdrJ_X3jv41ahXHnp6MbU8fmC83HJ6bhN5MYMhw@mail.gmail.com>
Date: Wed, 19 Dec 2018 12:39:14 +0100
From: Ulf Hansson <ulf.hansson@...aro.org>
To: Sowjanya Komatineni <skomatineni@...dia.com>
Cc: Rob Herring <robh+dt@...nel.org>,
Mark Rutland <mark.rutland@....com>,
Mikko Perttunen <mperttunen@...dia.com>,
Thierry Reding <thierry.reding@...il.com>,
Jon Hunter <jonathanh@...dia.com>,
Adrian Hunter <adrian.hunter@...el.com>,
DTML <devicetree@...r.kernel.org>, linux-tegra@...r.kernel.org,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
"linux-mmc@...r.kernel.org" <linux-mmc@...r.kernel.org>
Subject: Re: [PATCH V1 2/2] mmc: tegra: SDMMC pads auto-calibration
[...]
> if (tegra_host->pad_calib_required)
> @@ -805,8 +854,15 @@ static int tegra_sdhci_init_pinctrl_info(struct device *dev,
> return -1;
> }
>
> - tegra_host->pinctrl_state_3v3 =
> - pinctrl_lookup_state(tegra_host->pinctrl_sdmmc, "sdmmc-3v3");
> + tegra_host->pinctrl_state_1v8_drv = pinctrl_lookup_state(
> + tegra_host->pinctrl_sdmmc, "sdmmc-1v8-drv");
This requires and updated DT doc for tegra sdhci. Please make that a
separate patch and put it first in the series. Also don't forget to
include the DT maintainers in the to field for that patch.
> +
> + tegra_host->pinctrl_state_3v3_drv = pinctrl_lookup_state(
> + tegra_host->pinctrl_sdmmc, "sdmmc-3v3-drv");
Ditto.
> +
> + tegra_host->pinctrl_state_3v3 = pinctrl_lookup_state(
> + tegra_host->pinctrl_sdmmc, "sdmmc-3v3");
> +
The above looks like an unnecessary line change. Please just stick to
the existing format and avoid changing code that doesn't need to be
changed.
> if (IS_ERR(tegra_host->pinctrl_state_3v3)) {
> dev_warn(dev, "Missing 3.3V pad state, err: %ld\n",
> PTR_ERR(tegra_host->pinctrl_state_3v3));
> --
> 2.7.4
>
Kind regards
Uffe
Powered by blists - more mailing lists