Skip to contentSkip to conversation

ARM: dts: am57xx-beagle-x15-common: Fix wrong pinctrl selection for mmc2

PATCH In review Nishanth Menon 2 participants 2 messages Sep 15, 2016 Device tree bindings

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ARM: dts: am57xx-beagle-x15-common: Fix wrong pinctrl selection for mmc2

Commit d20f997b4d1f ("ARM: dts: am57xx-beagle-x15: Remove pinmux configurations for erratum i869") fat fingered a change in which basically replaced mmc2_pinctrl_default with mmc1_pinctrl_default. And kernel dutifully reports conflict of usage.

[...]

[    4.767335] pinctrl-single 4a003400.pinmux: pin 4a00376c.0 already requested by 4809c000.mmc; cannot claim for 480b4000.mmc
[    4.778976] pinctrl-single 4a003400.pinmux: pin-219 (480b4000.mmc) status -22
[    4.786427] pinctrl-single 4a003400.pinmux: could not request pin 219 (4a00376c.0) from group mmc1_pins_default  on device pinctrl-single
[    4.799328] omap_hsmmc 480b4000.mmc: Error applying setting, reverse things back
[    4.807110] omap_hsmmc 480b4000.mmc: could not initialize pin control state

[...]

But, thanks to the fact that we were in fact setting all the muxes in U-Boot, all the MMC devices were still properly detected.

Fix the typo.

Fixes d20f997b4d1f ("ARM: dts: am57xx-beagle-x15: Remove pinmux configurations for erratum i869")

---

Patch based on: omap-for-v4.9/dt-pt2-signed git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap.git
Before this patch (as in the original series http://pastebin.ubuntu.com/23124704/ - error visible, but was'nt caught) After this patch, on rev B1: http://pastebin.ubuntu.com/23183323/

 arch/arm/boot/dts/am57xx-beagle-x15-common.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/boot/dts/am57xx-beagle-x15-common.dtsi +1 -1
index ec85ff9004e8..6df7829a2c15 100644
@@ -451,7 +451,7 @@
 	status = "okay";
 
 	pinctrl-names = "default";
-	pinctrl-0 = <&mmc1_pins_default>;
+	pinctrl-0 = <&mmc2_pins_default>;
 
 	vmmc-supply = <&vdd_3v3>;
 	bus-width = <8>;
Signature · 1 line
2.10.0
#1 lore raw
Quoted 4 lines · Nishanth Menon

Commit d20f997b4d1f ("ARM: dts: am57xx-beagle-x15: Remove pinmux configurations for erratum i869") fat fingered a change in which basically replaced mmc2_pinctrl_default with mmc1_pinctrl_default. And kernel dutifully reports conflict of usage.

Thanks applying into omap-for-v4.9/dt-v2.

Tony