From: Josua Mayer <josua@solid-run.com>
To: Ulf Hansson <ulf.hansson@linaro.org>
Cc: Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>,
Geert Uytterhoeven <geert+renesas@glider.be>,
Magnus Damm <magnus.damm@gmail.com>,
Wolfram Sang <wsa+renesas@sang-engineering.com>,
Marc Kleine-Budde <mkl@pengutronix.de>,
Vincent Mailhol <mailhol@kernel.org>,
Vinod Koul <vkoul@kernel.org>,
Kishon Vijay Abraham I <kishon@kernel.org>,
Peter Rosin <peda@axentia.se>,
Aaro Koskinen <aaro.koskinen@iki.fi>,
Andreas Kemnade <andreas@kemnade.info>,
Kevin Hilman <khilman@baylibre.com>,
Roger Quadros <rogerq@kernel.org>,
Tony Lindgren <tony@atomide.com>, Vignesh R <vigneshr@ti.com>,
Janusz Krzysztofik <jmkrzyszt@gmail.com>,
Andi Shyti <andi.shyti@kernel.org>,
Mikhail Anikin <mikhail.anikin@solid-run.com>,
Yazan Shhady <yazan.shhady@solid-run.com>,
Jon Nettleton <jon@solid-run.com>,
"linux-mmc@vger.kernel.org" <linux-mmc@vger.kernel.org>,
"devicetree@vger.kernel.org" <devicetree@vger.kernel.org>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
"linux-renesas-soc@vger.kernel.org"
<linux-renesas-soc@vger.kernel.org>,
"linux-can@vger.kernel.org" <linux-can@vger.kernel.org>,
"linux-phy@lists.infradead.org" <linux-phy@lists.infradead.org>,
"linux-omap@vger.kernel.org" <linux-omap@vger.kernel.org>,
"linux-i2c@vger.kernel.org" <linux-i2c@vger.kernel.org>
Subject: Re: [PATCH v3 0/6] mmc: host: renesas_sdhi_core: support configuring an optional sdio mux
Date: Sun, 21 Dec 2025 10:45:25 +0000 [thread overview]
Message-ID: <4f8606fd-2233-4de8-82e6-672ec597a635@solid-run.com> (raw)
In-Reply-To: <CAPDyKFr7DCRs_E4VfrY9-NY8-bStT9oAZaYhUZDg_y3KEW9DWQ@mail.gmail.com>
Am 17.12.25 um 14:42 schrieb Ulf Hansson:
> On Wed, 10 Dec 2025 at 18:39, Josua Mayer <josua@solid-run.com> wrote:
>> Some Renesas SoC based boards mux SD and eMMC on a single sdio
>> controller, exposing user control by dip switch and software control by
>> gpio.
>>
>> Purpose is to simplify development and provisioning by selecting boot
>> media at power-on, and again before starting linux.
>>
>> Add binding and driver support for linking a (gpio) mux to renesas sdio
>> controller.
>>
>> Introduce generic helper functions for getting managed and selected
>> mux-state objects, and switch i2c-omap and phy-can-transceiver drivers.
>>
>> Signed-off-by: Josua Mayer <josua@solid-run.com>
>> ---
>> Changes in v3:
>> - updated omap-i2c and phy-can-transceiver to use new helpers.
>> - created generic helper functions for getting managed optional mux-state.
>> (Reported-by: Rob Herring <robh@kernel.org>)
>> - picked up binding ack by Rob Herring.
>> - replaced use of "SDIO" with "SD/SDIO/eMMC" in binding document and
>> commit descriptions.
>> (Reported-by: Ulf Hansson <ulf.hansson@linaro.org>)
>> - Link to v2: https://lore.kernel.org/r/20251201-rz-sdio-mux-v2-0-bcb581b88dd7@solid-run.com
>>
>> Changes in v2:
>> - dropped mux-controller node from dt binding example
>> (Reported-by: Conor Dooley <conor@kernel.org>
>> Reported-by: Krzysztof Kozlowski <krzk@kernel.org>)
>> - Link to v1: https://lore.kernel.org/r/20251128-rz-sdio-mux-v1-0-1ede318d160f@solid-run.com
>>
>> ---
>> Josua Mayer (6):
>> phy: can-transceiver: rename temporary helper function to avoid conflict
>> mux: Add helper functions for getting optional and selected mux-state
>> phy: can-transceiver: drop temporary helper getting optional mux-state
>> i2c: omap: switch to new generic helper for getting selected mux-state
>> dt-bindings: mmc: renesas,sdhi: Add mux-states property
>> mmc: host: renesas_sdhi_core: support selecting an optional mux
>>
>> .../devicetree/bindings/mmc/renesas,sdhi.yaml | 6 ++
>> drivers/i2c/busses/i2c-omap.c | 19 ++----
>> drivers/mmc/host/Kconfig | 1 +
>> drivers/mmc/host/renesas_sdhi.h | 1 +
>> drivers/mmc/host/renesas_sdhi_core.c | 16 +++++-
>> drivers/mux/core.c | 67 +++++++++++++++++++---
>> drivers/phy/phy-can-transceiver.c | 10 ----
>> include/linux/mux/consumer.h | 4 ++
>> 8 files changed, 89 insertions(+), 35 deletions(-)
>> ---
>> base-commit: 3a8660878839faadb4f1a6dd72c3179c1df56787
>> change-id: 20251128-rz-sdio-mux-acc5137f1618
>>
>> Best regards,
>> --
>> Josua Mayer <josua@solid-run.com>
> Looks like this needs to go together or if someone can host the common
> parts via an immutable branch.
Yes. Patch 1 is critical and must be applied before 2. Patches 3-5 require 2.
>
> Anyway, I am expecting some discussion or update for patch2 first.
>
> Kind regards
> Uffe
>
prev parent reply other threads:[~2025-12-21 10:45 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-12-10 17:38 [PATCH v3 0/6] mmc: host: renesas_sdhi_core: support configuring an optional sdio mux Josua Mayer
2025-12-10 17:38 ` [PATCH v3 1/6] phy: can-transceiver: rename temporary helper function to avoid conflict Josua Mayer
2025-12-22 10:59 ` Geert Uytterhoeven
2025-12-23 14:08 ` Vinod Koul
2025-12-10 17:38 ` [PATCH v3 2/6] mux: Add helper functions for getting optional and selected mux-state Josua Mayer
2025-12-17 13:38 ` Ulf Hansson
2025-12-21 10:37 ` Josua Mayer
2025-12-22 14:47 ` Ulf Hansson
2025-12-29 11:30 ` Josua Mayer
2025-12-29 14:46 ` Ulf Hansson
2025-12-22 10:08 ` Geert Uytterhoeven
2025-12-29 12:01 ` Josua Mayer
2025-12-29 12:07 ` Josua Mayer
2025-12-10 17:38 ` [PATCH v3 3/6] phy: can-transceiver: drop temporary helper getting optional mux-state Josua Mayer
2025-12-22 11:00 ` Geert Uytterhoeven
2025-12-23 14:08 ` Vinod Koul
2025-12-10 17:38 ` [PATCH v3 4/6] i2c: omap: switch to new generic helper for getting selected mux-state Josua Mayer
2025-12-23 17:11 ` Andreas Kemnade
2025-12-10 17:38 ` [PATCH v3 5/6] dt-bindings: mmc: renesas,sdhi: Add mux-states property Josua Mayer
2025-12-10 17:38 ` [PATCH v3 6/6] mmc: host: renesas_sdhi_core: support selecting an optional mux Josua Mayer
2025-12-17 13:42 ` [PATCH v3 0/6] mmc: host: renesas_sdhi_core: support configuring an optional sdio mux Ulf Hansson
2025-12-21 10:45 ` Josua Mayer [this message]
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=4f8606fd-2233-4de8-82e6-672ec597a635@solid-run.com \
--to=josua@solid-run.com \
--cc=aaro.koskinen@iki.fi \
--cc=andi.shyti@kernel.org \
--cc=andreas@kemnade.info \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=geert+renesas@glider.be \
--cc=jmkrzyszt@gmail.com \
--cc=jon@solid-run.com \
--cc=khilman@baylibre.com \
--cc=kishon@kernel.org \
--cc=krzk+dt@kernel.org \
--cc=linux-can@vger.kernel.org \
--cc=linux-i2c@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mmc@vger.kernel.org \
--cc=linux-omap@vger.kernel.org \
--cc=linux-phy@lists.infradead.org \
--cc=linux-renesas-soc@vger.kernel.org \
--cc=magnus.damm@gmail.com \
--cc=mailhol@kernel.org \
--cc=mikhail.anikin@solid-run.com \
--cc=mkl@pengutronix.de \
--cc=peda@axentia.se \
--cc=robh@kernel.org \
--cc=rogerq@kernel.org \
--cc=tony@atomide.com \
--cc=ulf.hansson@linaro.org \
--cc=vigneshr@ti.com \
--cc=vkoul@kernel.org \
--cc=wsa+renesas@sang-engineering.com \
--cc=yazan.shhady@solid-run.com \
/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