From: Sean Anderson Date: Mon, 22 Mar 2021 08:48:08 -0400 Subject: [PATCH 2/2] mmc: fsl_esdhc_imx: add extra delay for IO voltage switch if necessary In-Reply-To: References: <1616410538-2601-1-git-send-email-haibo.chen@nxp.com> <1616410538-2601-2-git-send-email-haibo.chen@nxp.com> Message-ID: <439d23b8-7e9c-e74d-aea9-853b33a3425d@gmail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 3/22/21 8:04 AM, Fabio Estevam wrote: > Hi Haibo, > > On Mon, Mar 22, 2021 at 8:09 AM wrote: > >> --- a/arch/arm/dts/imx8mm-evk-u-boot.dtsi >> +++ b/arch/arm/dts/imx8mm-evk-u-boot.dtsi >> @@ -102,6 +102,7 @@ >> u-boot,dm-spl; >> sd-uhs-sdr104; >> sd-uhs-ddr50; >> + fsl,signal-voltage-switch-extra-delay-ms = <8>; > > How does the Linux kernel deal with that? > > I don't see such property in the mainline kernel or in the NXP tree. > > I am concerned that we add a U-Boot specific here. Also, the fact that > common code waits 10ms is a driver implementation detail, so not happy > that such information needs to be passed in the U-Boot dts. > Typically they wait in the regulator. E.g. regulator-ramp-delay or regulator-settling-time-us. There should be no need to wait in the MMC driver. --Sean