Re: [PATCH v11 0/9] mmc: host: renesas_sdhi_core: support configuring an optional sdio mux

From: Ulf Hansson

Date: Thu Mar 05 2026 - 11:21:32 EST


On Thu, 26 Feb 2026 at 14:21, Josua Mayer <josua@xxxxxxxxxxxxx> wrote:
>
> This series has evolved over time from adding generic mux support for
> renesas sdhi driver, to partial rewrite of the mux framework.
>
> Several drivers have started implementing driver-local managed and
> unmanaged helper functions for getting and selecting a mux-state object.
>
> mmc maintainers have requested that new code shall intreoduce and use
> generic helper functions that can be shared by all drivers, avoiding
> code duplication.
>
> This series is structured in 5 parts, each of which is self-sufficient
> depending only on the previous patches. This shall allow the first N
> patches to be applied even if the last ones need further discussion.
>
> 1. Rename driver-local helper functions to avoid name collision with
> global version to be introduced later.
>
> 2. Implement generic device-managed helper functions in mux core.
>
> 3. Convert driver local code from similar patterns to use the newly
> added global helpers.
>
> 4. Change mux-core Kconfig so that it can be enabled through menuconfig,
> without an explicit "select" dependency from other drivers.
>
> 5. add dt bindings and driver support for mux in renesas sdhi driver.
>
> Signed-off-by: Josua Mayer <josua@xxxxxxxxxxxxx>
> ---
> Changes in v11:
> - changed approach to Kconfig making MULTIPLEXER a bool, and adding a
> user-visible wrapper for menuconfig.
> (Reported-by: Ulf Hansson <ulf.hansson@xxxxxxxxxx>)
> - dropped the "default m if COMPILE_TEST".
> (Reported-by: Geert Uytterhoeven <geert@xxxxxxxxxxxxxx>)
> - improved kerneldoc line wrapping.
> - removed unnecessary changes to original devm_mux_control-get.
> - fix "reference preceded by free" in mux_state_get function
> - Link to v10: https://lore.kernel.org/r/20260225-rz-sdio-mux-v10-0-1ee44f2ea112@xxxxxxxxxxxxx
>

[...]

To me, this looks ready for a new try. Unless I hear some objections,
I intend to apply this as material for v7.1 via my mmc tree on Monday.

The complete series will be available on an immutable branch, for
other subsystem maintainers to pull in if that turns out to be needed.
I let you know of more details on Monday.

Kind regards
Uffe