mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v1 0/2] arm64: dts: freescale: imx9[135]-toradex-osm-dev: Fix SDIO_B interface
@ 2026-11-22 17:19 Francesco Dolcini
  2026-11-22 17:19 ` [PATCH v1 1/2] arm64: dts: freescale: imx93-imx91-toradex-osm-dev: Fix SDIO_B definition Francesco Dolcini
  2026-11-22 17:19 ` [PATCH v1 2/2] arm64: dts: freescale: imx95-toradex-osm-dev: " Francesco Dolcini
  0 siblings, 2 replies; 3+ messages in thread
From: Francesco Dolcini @ 2026-11-22 17:19 UTC (permalink / raw)
  To: Francesco Dolcini, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley, Frank Li, Sascha Hauer, Pengutronix Kernel Team,
	Fabio Estevam
  Cc: linux-bsp, devicetree, imx, linux-arm-kernel, linux-kernel

From: Francesco Dolcini <francesco.dolcini@toradex.com>

On the OSM Development Board, OSM SDIO_B goes to the M.2 Key E slot for
a Wi-Fi/Bluetooth module. The slot has no card detect signal, its supply
is not software controlled, and the SDIO_B signals are fixed at 1.8V.

This was noticed from an anomalous interrupt rate on an idle system:
with the slot empty, mmc2 fired about 45 interrupts per second, because
the empty slot was polled every second.

Describe the slot as non-removable, keep the module powered in suspend,
and add the fixed 1.8V I/O supply, on both the OSM iMX93/iMX91 and the
OSM iMX95 variants of the board.

Francesco Dolcini (2):
  arm64: dts: freescale: imx93-imx91-toradex-osm-dev: Fix SDIO_B
    definition
  arm64: dts: freescale: imx95-toradex-osm-dev: Fix SDIO_B definition

 .../boot/dts/freescale/imx93-imx91-toradex-osm-common.dtsi     | 1 +
 .../boot/dts/freescale/imx93-imx91-toradex-osm-dev-common.dtsi | 3 +++
 arch/arm64/boot/dts/freescale/imx95-toradex-osm-dev.dts        | 3 +++
 arch/arm64/boot/dts/freescale/imx95-toradex-osm.dtsi           | 1 +
 4 files changed, 8 insertions(+)

-- 
2.47.3


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [PATCH v1 1/2] arm64: dts: freescale: imx93-imx91-toradex-osm-dev: Fix SDIO_B definition
  2026-11-22 17:19 [PATCH v1 0/2] arm64: dts: freescale: imx9[135]-toradex-osm-dev: Fix SDIO_B interface Francesco Dolcini
@ 2026-11-22 17:19 ` Francesco Dolcini
  2026-11-22 17:19 ` [PATCH v1 2/2] arm64: dts: freescale: imx95-toradex-osm-dev: " Francesco Dolcini
  1 sibling, 0 replies; 3+ messages in thread
From: Francesco Dolcini @ 2026-11-22 17:19 UTC (permalink / raw)
  To: Francesco Dolcini, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley, Frank Li, Sascha Hauer, Pengutronix Kernel Team,
	Fabio Estevam
  Cc: linux-bsp, devicetree, imx, linux-arm-kernel, linux-kernel

From: Francesco Dolcini <francesco.dolcini@toradex.com>

On the OSM Development Board, SDIO_B goes to the M.2 Key E slot for a
Wi-Fi/Bluetooth module. The slot has no card detect signal and M.2
modules are not hot-pluggable. The slot supply is not software
controlled, so the module stays powered in suspend. The SDIO_B signals
are fixed at 1.8V, supplied by the on-module +V1.8 rail.

Describe the slot as non-removable, keep the module powered in suspend,
and add the fixed 1.8V I/O supply. Without this, the empty slot is
polled every second.

Fixes: e8a8c86875f4 ("arm64: dts: freescale: Add Toradex OSM iMX93")
Signed-off-by: Francesco Dolcini <francesco.dolcini@toradex.com>
---
 .../boot/dts/freescale/imx93-imx91-toradex-osm-common.dtsi     | 1 +
 .../boot/dts/freescale/imx93-imx91-toradex-osm-dev-common.dtsi | 3 +++
 2 files changed, 4 insertions(+)

diff --git a/arch/arm64/boot/dts/freescale/imx93-imx91-toradex-osm-common.dtsi b/arch/arm64/boot/dts/freescale/imx93-imx91-toradex-osm-common.dtsi
index f6fd64176893..d273f4bfb96b 100644
--- a/arch/arm64/boot/dts/freescale/imx93-imx91-toradex-osm-common.dtsi
+++ b/arch/arm64/boot/dts/freescale/imx93-imx91-toradex-osm-common.dtsi
@@ -517,6 +517,7 @@ &usdhc3 {
 	pinctrl-1 = <&pinctrl_sdio_b>;
 	pinctrl-2 = <&pinctrl_sdio_b>;
 	disable-wp;
+	vqmmc-supply = <&reg_1v8>;
 };
 
 &wdog3 {
diff --git a/arch/arm64/boot/dts/freescale/imx93-imx91-toradex-osm-dev-common.dtsi b/arch/arm64/boot/dts/freescale/imx93-imx91-toradex-osm-dev-common.dtsi
index 61a0f49f198b..41bc471329eb 100644
--- a/arch/arm64/boot/dts/freescale/imx93-imx91-toradex-osm-dev-common.dtsi
+++ b/arch/arm64/boot/dts/freescale/imx93-imx91-toradex-osm-dev-common.dtsi
@@ -316,5 +316,8 @@ &usdhc2 {
 
 /* OSM SDIO_B */
 &usdhc3 {
+	keep-power-in-suspend;
+	non-removable;
+
 	status = "okay";
 };
-- 
2.47.3


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [PATCH v1 2/2] arm64: dts: freescale: imx95-toradex-osm-dev: Fix SDIO_B definition
  2026-11-22 17:19 [PATCH v1 0/2] arm64: dts: freescale: imx9[135]-toradex-osm-dev: Fix SDIO_B interface Francesco Dolcini
  2026-11-22 17:19 ` [PATCH v1 1/2] arm64: dts: freescale: imx93-imx91-toradex-osm-dev: Fix SDIO_B definition Francesco Dolcini
@ 2026-11-22 17:19 ` Francesco Dolcini
  1 sibling, 0 replies; 3+ messages in thread
From: Francesco Dolcini @ 2026-11-22 17:19 UTC (permalink / raw)
  To: Francesco Dolcini, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley, Frank Li, Sascha Hauer, Pengutronix Kernel Team,
	Fabio Estevam
  Cc: linux-bsp, devicetree, imx, linux-arm-kernel, linux-kernel

From: Francesco Dolcini <francesco.dolcini@toradex.com>

On the OSM Development Board, SDIO_B goes to the M.2 Key E slot for a
Wi-Fi/Bluetooth module. The slot has no card detect signal and M.2
modules are not hot-pluggable. The slot supply is not software
controlled, so the module stays powered in suspend. The SDIO_B signals
are fixed at 1.8V, supplied by the on-module +V1.8 rail.

Describe the slot as non-removable, keep the module powered in suspend,
and add the fixed 1.8V I/O supply. Without this, the empty slot is
polled every second.

Fixes: 39be5a7e3ecc ("arm64: dts: freescale: Add Toradex OSM iMX95")
Signed-off-by: Francesco Dolcini <francesco.dolcini@toradex.com>
---
 arch/arm64/boot/dts/freescale/imx95-toradex-osm-dev.dts | 3 +++
 arch/arm64/boot/dts/freescale/imx95-toradex-osm.dtsi    | 1 +
 2 files changed, 4 insertions(+)

diff --git a/arch/arm64/boot/dts/freescale/imx95-toradex-osm-dev.dts b/arch/arm64/boot/dts/freescale/imx95-toradex-osm-dev.dts
index 24cc6d4d917a..bbb2010eecfe 100644
--- a/arch/arm64/boot/dts/freescale/imx95-toradex-osm-dev.dts
+++ b/arch/arm64/boot/dts/freescale/imx95-toradex-osm-dev.dts
@@ -401,5 +401,8 @@ &usdhc2 {
 
 /* OSM SDIO_B */
 &usdhc3 {
+	keep-power-in-suspend;
+	non-removable;
+
 	status = "okay";
 };
diff --git a/arch/arm64/boot/dts/freescale/imx95-toradex-osm.dtsi b/arch/arm64/boot/dts/freescale/imx95-toradex-osm.dtsi
index dc2ef7035246..ff44e8c71bf6 100644
--- a/arch/arm64/boot/dts/freescale/imx95-toradex-osm.dtsi
+++ b/arch/arm64/boot/dts/freescale/imx95-toradex-osm.dtsi
@@ -669,6 +669,7 @@ &usdhc3 {
 	pinctrl-1 = <&pinctrl_sdio_b>;
 	pinctrl-2 = <&pinctrl_sdio_b_200mhz>;
 	disable-wp;
+	vqmmc-supply = <&reg_1p8v>;
 };
 
 &wdog3 {
-- 
2.47.3


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2026-11-22 17:19 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-22 17:19 [PATCH v1 0/2] arm64: dts: freescale: imx9[135]-toradex-osm-dev: Fix SDIO_B interface Francesco Dolcini
2026-11-22 17:19 ` [PATCH v1 1/2] arm64: dts: freescale: imx93-imx91-toradex-osm-dev: Fix SDIO_B definition Francesco Dolcini
2026-11-22 17:19 ` [PATCH v1 2/2] arm64: dts: freescale: imx95-toradex-osm-dev: " Francesco Dolcini

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®