I am having some weird issue with the Card Detect line on MMC 0. When i turn the PULLUP on it works, but when i turn it off it works sporadically. It will work on some boots and not on others : /. If it works on a power up then it always works. I have an external pull-up so i shouldn't need the internal one and the reason i need to turn it off is because i have boards with 2 different types of sockets (one open when card is inserted and one closed). Any ideas why this would be?
Works:
{"gpmc_a11.gpio1_27", OMAP_MUX_MODE7 | AM33XX_PIN_INPUT_PULLUP},
Doesn't work:
{"gpmc_a11.gpio1_27", OMAP_MUX_MODE7 | AM33XX_PIN_INPUT},
There is a 10K external pull-up. Any thoughts?