[PATCH v4 2/8] mmc: sdhci-of-k1: add regulator and pinctrl voltage switching support
Ulf Hansson
ulf.hansson at linaro.org
Tue Mar 24 07:43:03 PDT 2026
On Mon, 23 Mar 2026 at 11:19, Iker Pedrosa <ikerpedrosam at gmail.com> wrote:
>
> Add voltage switching infrastructure for UHS-I modes by integrating both
> regulator framework (for supply voltage control) and pinctrl state
> switching (for pin drive strength optimization).
>
> - Add regulator supply parsing and voltage switching callback
> - Add optional pinctrl state switching between "default" (3.3V) and
> "state_uhs" (1.8V) configurations
> - Enable coordinated voltage and pin configuration changes for UHS modes
>
> This provides complete voltage switching support while maintaining
> backward compatibility when pinctrl states are not defined.
Adding pinctrl support like this should require an update to the DT binding.
Please fold in a patch that precedes the $subject patch and ensure the
DT maintainers are cced on it.
>
> Tested-by: Anand Moon <linux.amoon at gmail.com>
> Tested-by: Trevor Gamblin <tgamblin at baylibre.com>
> Signed-off-by: Iker Pedrosa <ikerpedrosam at gmail.com>
> ---
> drivers/mmc/host/sdhci-of-k1.c | 72 ++++++++++++++++++++++++++++++++++++++++++
> 1 file changed, 72 insertions(+)
>
Kind regards
Uffe
More information about the linux-riscv
mailing list