Skip to contentSkip to conversation

ARM: dts: am335x-pocketbeagle: Fix mmc0 Write Protect

PATCH In review Drew Fustini 2 participants 3 messages Jun 9, 2020 – Jun 16, 2020 Device tree bindings

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 ARM: dts: am335x-pocketbeagle: Fix mmc0 Write Protect

AM3358 pin mcasp0_aclkr (ZCZ ball B13) [0] is routed to P1.31 header [1] Mode 4 of this pin is mmc0_sdwp (SD Write Protect). A signal connected to P1.31 may accidentally trigger mmc0 write protection. To avoid this situation, do not put mcasp0_aclkr in mode 4 (mmc0_sdwp) by default.

[0] http://www.ti.com/lit/ds/symlink/am3358.pdf
[1] https://github.com/beagleboard/pocketbeagle/wiki/System-Reference-Manual#531_Expansion_Headers

Fixes 047905376a16 (ARM: dts: Add am335x-pocketbeagle)

---
V2 change:
- correct P1.13 to P1.31, apologies for not catching that in V1

 arch/arm/boot/dts/am335x-pocketbeagle.dts | 1 -
 1 file changed, 1 deletion(-)
arch/arm/boot/dts/am335x-pocketbeagle.dts +0 -1
index 4da719098028..f0b222201b86 100644
@@ -88,7 +88,6 @@ AM33XX_PADCONF(AM335X_PIN_MMC0_DAT2, PIN_INPUT_PULLUP, MUX_MODE0)
                        AM33XX_PADCONF(AM335X_PIN_MMC0_DAT3, PIN_INPUT_PULLUP, MUX_MODE0)
                        AM33XX_PADCONF(AM335X_PIN_MMC0_CMD, PIN_INPUT_PULLUP, MUX_MODE0)
                        AM33XX_PADCONF(AM335X_PIN_MMC0_CLK, PIN_INPUT_PULLUP, MUX_MODE0)
-                       AM33XX_PADCONF(AM335X_PIN_MCASP0_ACLKR, PIN_INPUT, MUX_MODE4)           /* (B12) mcasp0_aclkr.mmc0_sdwp */
                >;
        };
 

--
2.25.1

#1 lore raw
Quoted 8 lines · Drew Fustini

AM3358 pin mcasp0_aclkr (ZCZ ball B13) [0] is routed to P1.31 header [1] Mode 4 of this pin is mmc0_sdwp (SD Write Protect). A signal connected to P1.31 may accidentally trigger mmc0 write protection. To avoid this situation, do not put mcasp0_aclkr in mode 4 (mmc0_sdwp) by default.

[0] http://www.ti.com/lit/ds/symlink/am3358.pdf
[1] https://github.com/beagleboard/pocketbeagle/wiki/System-Reference-Manual#531_Expansion_Headers

Quoted 6 lines
Fixes 047905376a16 (ARM: dts: Add am335x-pocketbeagle)

---
V2 change:
- correct P1.13 to P1.31, apologies for not catching that in V1

Thanks (manually) applying into fixes. Your outgoing mail server has replaced the tabs in the patch with spaces making it not apply FYI.

Regards,

Tony

#2 lore raw
Quoted 16 lines · Tony Lindgren
Quoted 8 lines · Drew Fustini

AM3358 pin mcasp0_aclkr (ZCZ ball B13) [0] is routed to P1.31 header [1] Mode 4 of this pin is mmc0_sdwp (SD Write Protect). A signal connected to P1.31 may accidentally trigger mmc0 write protection. To avoid this situation, do not put mcasp0_aclkr in mode 4 (mmc0_sdwp) by default.

[0] http://www.ti.com/lit/ds/symlink/am3358.pdf
[1] https://github.com/beagleboard/pocketbeagle/wiki/System-Reference-Manual#531_Expansion_Headers

Quoted 6 lines
Fixes 047905376a16 (ARM: dts: Add am335x-pocketbeagle)

---
V2 change:
- correct P1.13 to P1.31, apologies for not catching that in V1

Quoted 6 lines

Thanks (manually) applying into fixes. Your outgoing mail server has replaced the tabs in the patch with spaces making it not apply FYI.

Regards,

Tony

Thanks, Tony.

That is werid about the spaces. I use mutt to send mail via smtp.google.com (beagleboard.org is gsuite). I'll inspect more closely next time.