Skip to contentSkip to conversation

OMAP4: Pandaboard: Fixing MMC card detect gpio line

PATCH In review Raghuveer Murthy 4 participants 5 messages Dec 7, 2010 – Dec 17, 2010

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 OMAP4: Pandaboard: Fixing MMC card detect gpio line

The .gpio_cd member of omap2_hsmmc_info is not initialized. This will default to zero. On Pandaboard this interferes with gpio line assigned for powering TFP410 DVI chip.

This fix was missed out in the previous commit bf56f0a6668cd, from Nishanth Menon

---
 arch/arm/mach-omap2/board-omap4panda.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
arch/arm/mach-omap2/board-omap4panda.c +1 -0
index ad6b5cc..0ccc24f 100644
@@ -142,6 +142,7 @@ static struct omap2_hsmmc_info mmc[] = {
 		.mmc		= 1,
 		.caps		= MMC_CAP_4_BIT_DATA | MMC_CAP_8_BIT_DATA,
 		.gpio_wp	= -EINVAL,
+		.gpio_cd	= -EINVAL,
 	},
 	{}	/* Terminator */
 };
Signature · 1 line
1.7.0.4
Tested-by on v1 1/1
#1 lore raw
Quoted 11 lines · Raghuveer

The .gpio_cd member of omap2_hsmmc_info is not initialized. This will default to zero. On Pandaboard this interferes with gpio line assigned for powering TFP410 DVI chip.

This fix was missed out in the previous commit bf56f0a6668cd, from Nishanth Menon

Quoted 17 lines
---
  arch/arm/mach-omap2/board-omap4panda.c |    1 +
  1 files changed, 1 insertions(+), 0 deletions(-)
arch/arm/mach-omap2/board-omap4panda.c +1 -0
index ad6b5cc..0ccc24f 100644
@@ -142,6 +142,7 @@ static struct omap2_hsmmc_info mmc[] = {
  		.mmc		= 1,
  		.caps		= MMC_CAP_4_BIT_DATA | MMC_CAP_8_BIT_DATA,
  		.gpio_wp	= -EINVAL,
+		.gpio_cd	= -EINVAL,
  	},
  	{}	/* Terminator */
  };
#2 lore raw
Quoted 9 lines · David Anders
Quoted 8 lines · Raghuveer

The .gpio_cd member of omap2_hsmmc_info is not initialized. This will default to zero. On Pandaboard this interferes with gpio line assigned for powering TFP410 DVI chip.

This fix was missed out in the previous commit bf56f0a6668cd, from Nishanth Menon

Quoted 6 lines
Quoted 4 lines

Tony,
this is a regression introduced in my commit for .37-rc1. any chance of this making to one of 37 rc cycles? I can re-post this patch including l-a if that is the path you'd like.

Regards,
Nishanth Menon

Quoted 16 lines
Quoted 16 lines

---
 arch/arm/mach-omap2/board-omap4panda.c |    1 +

 1 files changed, 1 insertions(+), 0 deletions(-)
arch/arm/mach-omap2/board-omap4panda.c +1 -0
index ad6b5cc..0ccc24f 100644
@@ -142,6 +142,7 @@ static struct omap2_hsmmc_info mmc[] = {
                .mmc            = 1,
                .caps           = MMC_CAP_4_BIT_DATA | MMC_CAP_8_BIT_DATA,
                .gpio_wp        = -EINVAL,
+               .gpio_cd        = -EINVAL,
        },
Quoted 9 lines
Quoted 3 lines

       {}      /* Terminator */
 };

--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

maintainer
#3 lore raw
Quoted 15 lines · Menon, Nishanth
Quoted 14 lines · David Anders
Quoted 12 lines · Raghuveer

The .gpio_cd member of omap2_hsmmc_info is not initialized. This will default to zero. On Pandaboard this interferes with gpio line assigned for powering TFP410 DVI chip.

This fix was missed out in the previous commit bf56f0a6668cd, from Nishanth Menon

Quoted 5 lines
Quoted 1 line

Tony,
this is a regression introduced in my commit for .37-rc1. any chance of this making to one of 37 rc cycles? I can re-post this patch including l-a if that is the path you'd like.

Yes please, and also explain what exactly this breaks.

If it just breaks MMC card detect with some DVI chip driver that's not merged yet, then this would be in the "it never worked before".

Tony

#4 lore raw

Tony Lindgren had written, on 12/17/2010 12:02 PM, the following:

Quoted 20 lines · Menon, Nishanth
Quoted 13 lines · David Anders
Quoted 12 lines · Raghuveer
Quoted 11 lines

The .gpio_cd member of omap2_hsmmc_info is not initialized. This will default to zero. On Pandaboard this interferes with gpio line assigned for powering TFP410 DVI chip.

This fix was missed out in the previous commit bf56f0a6668cd, from Nishanth Menon

Quoted 5 lines
Quoted 1 line

Tony,
this is a regression introduced in my commit for .37-rc1. any chance of this making to one of 37 rc cycles? I can re-post this patch including l-a if that is the path you'd like.

Quoted 4 lines

Yes please, and also explain what exactly this breaks.

If it just breaks MMC card detect with some DVI chip driver that's not merged yet, then this would be in the "it never worked before".

The regression is card detect ends up refering to a valid GPIO -> yeah as a result the upcoming DVI driver is broken without this patch. given that commit bf56f0a6668cd was intended to fix cd, it did not do it cleanly - hence my claim of regression. DVI in opinion is just a symptom of the wiring of GPIO0 on the board.

ok with considering this a regression?

Signature · 2 lines
Regards,
Nishanth Menon