Skip to contentSkip to conversation

arm64: tegra: dts: add vccmq on p3310 TX2 SoM

PATCH Applied Ben Dooks 2 participants 2 messages Jan 27, 2023 – Apr 5, 2023

Subsystems (2)
lore
Share & tools
lore

Ben Dooks

author
#0 lore raw

PATCH 1/1 arm64: tegra: dts: add vccmq on p3310 TX2 SoM

The TX2 SoM's SDIO WiFI card is connected via mmc@3440000 however it does not look like the upstream kernel is even bothering to power this (and the regulator framework shuts down this power rail post kernel init).

The issue seems to be a missing link for vccq from the MAX77620 PMIC's LDO5 which is labeled vddio_sdmmc3 (and not used anywhere else) to the mmc@3440000 node to ensure there is at leasr bus power.

Note this does not fix the WiFi issue on upstream kernels, there is still something else missing that gets the BCM WiFi device to detect properly.

---
Note, probably a candidate for stable.

---
 arch/arm64/boot/dts/nvidia/tegra186-p3310.dtsi | 1 +
 1 file changed, 1 insertion(+)
arch/arm64/boot/dts/nvidia/tegra186-p3310.dtsi +1 -0
index aff857df25cf..3fd34d3d912a 100644
@@ -145,6 +145,7 @@ mmc@3400000 {
 	/* SDMMC3 (SDIO) */
 	mmc@3440000 {
 		status = "okay";
+		vqmmc-supply = <&vddio_sdmmc3>;
 	};
 
 	/* SDMMC4 (eMMC) */
Signature · 1 line
2.39.0
#1 lore raw

From: Thierry Reding <[email protected]>

Quoted 9 lines · Ben Dooks

The TX2 SoM's SDIO WiFI card is connected via mmc@3440000 however it does not look like the upstream kernel is even bothering to power this (and the regulator framework shuts down this power rail post kernel init).

The issue seems to be a missing link for vccq from the MAX77620 PMIC's LDO5 which is labeled vddio_sdmmc3 (and not used anywhere else) to the mmc@3440000 node to ensure there is at leasr bus power.

[...]

Applied, thanks!

[1/1] arm64: tegra: dts: add vccmq on p3310 TX2 SoM
(no commit info)

Best regards,

Signature · 1 line
Thierry Reding <[email protected]>