Skip to contentSkip to conversation

PCM051: Fix muxing of MMC0 CD

PATCH Applied Teresa Gámez 2 participants 2 messages Sep 2, 2013 – Sep 3, 2013 Arm (32-bit)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 PCM051: Fix muxing of MMC0 CD

Card detect should be rather muxed as gpio then
mmc0_sdcd, as driver does not support this.

---
 arch/arm/boards/pcm051/mux.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
arch/arm/boards/pcm051/mux.c +1 -1
index 6ef5af1..b54f3d5 100644
@@ -10,7 +10,7 @@ static const struct module_pin_mux mmc0_pin_mux[] = {
 	{OFFSET(mmc0_dat0), (MODE(0) | RXACTIVE | PULLUP_EN)},	/* MMC0_DAT0 */
 	{OFFSET(mmc0_clk), (MODE(0) | RXACTIVE | PULLUP_EN)},	/* MMC0_CLK */
 	{OFFSET(mmc0_cmd), (MODE(0) | RXACTIVE | PULLUP_EN)},	/* MMC0_CMD */
-	{OFFSET(spi0_cs1), (MODE(5) | RXACTIVE | PULLUP_EN)},	/* MMC0_CD */
+	{OFFSET(spi0_cs1), (MODE(7) | RXACTIVE | PULLUP_EN)},	/* MMC0_CD */
 	{-1},
 };
 
Signature · 7 lines
1.7.0.4


_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox
Applied
#1 lore raw
Quoted 4 lines · Teresa Gámez

Card detect should be rather muxed as gpio then
mmc0_sdcd, as driver does not support this.

Applied, thanks

Sascha

Quoted 25 lines
---
 arch/arm/boards/pcm051/mux.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
arch/arm/boards/pcm051/mux.c +1 -1
index 6ef5af1..b54f3d5 100644
@@ -10,7 +10,7 @@ static const struct module_pin_mux mmc0_pin_mux[] = {
 	{OFFSET(mmc0_dat0), (MODE(0) | RXACTIVE | PULLUP_EN)},	/* MMC0_DAT0 */
 	{OFFSET(mmc0_clk), (MODE(0) | RXACTIVE | PULLUP_EN)},	/* MMC0_CLK */
 	{OFFSET(mmc0_cmd), (MODE(0) | RXACTIVE | PULLUP_EN)},	/* MMC0_CMD */
-	{OFFSET(spi0_cs1), (MODE(5) | RXACTIVE | PULLUP_EN)},	/* MMC0_CD */
+	{OFFSET(spi0_cs1), (MODE(7) | RXACTIVE | PULLUP_EN)},	/* MMC0_CD */
 	{-1},
 };
 
Signature · 7 lines
1.7.0.4


_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox
Signature · 9 lines
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox