From: sbabic at denx.de Date: Fri, 9 Apr 2021 13:24:53 +0200 (CEST) Subject: [PATCH 2/2] mmc: fsl_esdhc_imx: add extra delay for IO voltage switch if necessary In-Reply-To: <1616410538-2601-2-git-send-email-haibo.chen@nxp.com> Message-ID: <20210409112453.10650800B3@phobos.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de > From: Haibo Chen > Some board like imx8mm-evkb, IO voltage switch from 3.3v to 1.8v need > around 18ms, common code only delay 10ms, so need to delay extra 8ms. > Otherwise voltage switch will timeout when wait for data0 line. > This IO voltage switch time depends on board design, depend on the > PMIC and capacitance. imx8mm-evkb board use PCA9450(PMIC) and 10uF > capacitance. > Signed-off-by: Haibo Chen Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic -- ===================================================================== DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de =====================================================================