Commit d01012b6 authored by Frieder Schrempf's avatar Frieder Schrempf Committed by Sasha Levin
Browse files

arm64: dts: imx8mm-kontron: Use the VSELECT signal to switch SD card IO voltage



[ Upstream commit eef2c021 ]

It turns out that it is not necessary to declare the VSELECT signal as
GPIO and let the PMIC driver set it to a fixed high level. This switches
the voltage between 3.3V and 1.8V by setting the PMIC register for LDO5
accordingly.

Instead we can do it like other boards already do and simply mux the
VSELECT signal of the USDHC interface to the pin. This makes sure that
the correct voltage is selected by setting the PMIC's SD_VSEL input
to high or low accordingly.

Reported-by: default avatarHeiko Thiery <heiko.thiery@gmail.com>
Signed-off-by: default avatarFrieder Schrempf <frieder.schrempf@kontron.de>
Reviewed-by: default avatarHeiko Thiery <heiko.thiery@gmail.com>
Signed-off-by: default avatarShawn Guo <shawnguo@kernel.org>
Stable-dep-of: 00882052 ("arm64: dts: imx8mm-kontron: Disable pull resistors for SD card signals on BL board")
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 41af98f2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment