]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
mmc: meson-mx-sdio: Ignore disabled "mmc-slot" child-nodes
authorMartin Blumenstingl <martin.blumenstingl@googlemail.com>
Sat, 8 Nov 2025 23:12:53 +0000 (00:12 +0100)
committerUlf Hansson <ulf.hansson@linaro.org>
Tue, 18 Nov 2025 15:21:36 +0000 (16:21 +0100)
commit1bed7f954865ceab45c8949017517c02e3f5cae3
tree24d73a4ec3369814e6a4476f1c6dbcc89a4779e3
parent38fffa9510827e1861ad0a5f0392148bc2aec5e6
mmc: meson-mx-sdio: Ignore disabled "mmc-slot" child-nodes

The meson-mx-sdio (and mmc core) only support one MMC/SD/SDIO slot
(device) per host. Thus having multiple mmc-slot nodes (one for the up
to three supported slots with one device each on the meson-mx-sdio
hardware) can be problematic.

Allow specifying all slots (with their respective device) connected to
the meson-mx-sdio hardware in device-tree, while making sure that only
the enabled one(s) are actually considered by the driver.

Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/meson-mx-sdio.c