From: Fabio Estevam <festevam@denx.de>
To: Frieder Schrempf <frieder@fris.de>
Cc: Frieder Schrempf <frieder.schrempf@kontron.de>,
u-boot@lists.denx.de, Heiko Thiery <heiko.thiery@gmail.com>,
Tom Rini <trini@konsulko.com>,
Jaehoon Chung <jh80.chung@samsung.com>,
Simon Glass <sjg@chromium.org>
Subject: Re: [PATCH 2/2] imx: kontron-sl-mx8mm: Enable PCA9450 regulator driver and fix SD card access
Date: Thu, 23 Jun 2022 14:58:56 -0300 [thread overview]
Message-ID: <9b4117822598fc05be324e6df327d076@denx.de> (raw)
In-Reply-To: <20220623174215.299989-2-frieder@fris.de>
On 23/06/2022 14:42, Frieder Schrempf wrote:
> From: Frieder Schrempf <frieder.schrempf@kontron.de>
>
> Currently accessing the SD card on USDHC2 fails with:
>
> => mmc dev 1
> Card did not respond to voltage select! : -110
>
> This is due to the fact that UHS modes are enabled in the defconfig
> and the devicetree, but the referenced LDO5 regulator (reg_nvcc_sd)
> is not available to switch the data lines from 3.3V to 1.8V mode.
>
> By enabling the regulator driver the vqmmc-supply is now available
> and the SD card works also in high speed modes:
>
> => mmc dev 1
> switch to partitions #0, OK
> mmc1 is current device
>
> Please note that the board has a GPIO connected to the SD_VSEL signal
> of the PMIC. As the driver uses the LDO5CTRL_H register to set the
> voltage, we need to make sure that this GPIO (GPIO01_IO4) is set to
> a high level.
>
> Signed-off-by: Frieder Schrempf <frieder.schrempf@kontron.de>
Reviewed-by: Fabio Estevam <festevam@denx.de>
next prev parent reply other threads:[~2022-06-23 17:58 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-06-23 17:42 [PATCH 1/2] pmic: pca9450: Add optional SD_VSEL GPIO for LDO5 Frieder Schrempf
2022-06-23 17:42 ` [PATCH 2/2] imx: kontron-sl-mx8mm: Enable PCA9450 regulator driver and fix SD card access Frieder Schrempf
2022-06-23 17:58 ` Fabio Estevam [this message]
2022-06-23 17:58 ` [PATCH 1/2] pmic: pca9450: Add optional SD_VSEL GPIO for LDO5 Fabio Estevam
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=9b4117822598fc05be324e6df327d076@denx.de \
--to=festevam@denx.de \
--cc=frieder.schrempf@kontron.de \
--cc=frieder@fris.de \
--cc=heiko.thiery@gmail.com \
--cc=jh80.chung@samsung.com \
--cc=sjg@chromium.org \
--cc=trini@konsulko.com \
--cc=u-boot@lists.denx.de \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox