]> www.infradead.org Git - users/jedix/linux-maple.git/commit
Revert "regulator: pca9450: Add SD_VSEL GPIO for LDO5"
authorFrieder Schrempf <frieder.schrempf@kontron.de>
Wed, 18 Dec 2024 15:27:26 +0000 (16:27 +0100)
committerMark Brown <broonie@kernel.org>
Mon, 3 Feb 2025 00:39:02 +0000 (00:39 +0000)
commitc73be62caabbec6629689c705aea65e5ce364d5d
tree8a324c77da6115f8daed39c128fd6b9ccaf97709
parentb5ec74c2aec76fbdff9bc16951455602e11902bf
Revert "regulator: pca9450: Add SD_VSEL GPIO for LDO5"

This reverts commit 8c67a11bae889f51fe5054364c3c789dfae3ad73.

It turns out that all boards using the PCA9450 actually have the
SD_VSEL input connected to the VSELECT signal of the SoCs SD/MMC
interface or use a fixed level.

The assumptions on which this was implemented were wrong. There
is no need for a GPIO-only-based approach and keeping this will
cause confusion and lead people to implement non-standard setups.

All in-tree users of this have been migrated and we can savely
remove this now and allow for a more future-proof approach
of syncing the actual status of SD_VSEL and the PMIC driver.

Signed-off-by: Frieder Schrempf <frieder.schrempf@kontron.de>
Link: https://patch.msgid.link/20241218152842.97483-4-frieder@fris.de
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/pca9450-regulator.c