OMAP4: Pandaboard: Fixing MMC card detect gpio line
Subsystems (3)
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
@@ -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
Quoted 11 lines · Raghuveer
The .gpio_cd member of
omap2_hsmmc_infois 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 MenonSigned-off-by Kishore Kadiyala<[email protected]>Signed-off-by Raghuveer Murthy<[email protected]>Acked-by Nishanth Menon<[email protected]>
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@@ -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 */ };
Quoted 9 lines · David Anders
Quoted 8 lines · Raghuveer
The .gpio_cd member of
omap2_hsmmc_infois 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
Signed-off-by Kishore Kadiyala<[email protected]>Signed-off-by Raghuveer Murthy<[email protected]>Acked-by Nishanth Menon<[email protected]>Tested-by David Anders <[email protected]>
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@@ -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
Tony Lindgren
maintainerQuoted 15 lines · Menon, Nishanth
Quoted 14 lines · David Anders
Quoted 12 lines · Raghuveer
The .gpio_cd member of
omap2_hsmmc_infois 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 MenonSigned-off-by Kishore Kadiyala<[email protected]>Signed-off-by Raghuveer Murthy<[email protected]>Acked-by Nishanth Menon<[email protected]>
Quoted 5 lines
Quoted 1 line
Tested-by David Anders <[email protected]>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
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_infois 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 MenonSigned-off-by Kishore Kadiyala<[email protected]>Signed-off-by Raghuveer Murthy<[email protected]>Acked-by Nishanth Menon<[email protected]>Quoted 5 lines
Quoted 1 line
Tested-by David Anders <[email protected]>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