public inbox for linux-omap@vger.kernel.org
 help / color / mirror / Atom feed
* Problem specifying which gpio_126 to use on omap353x
@ 2010-02-18 16:39 Peter Barada
  2010-02-18 17:43 ` Tony Lindgren
  0 siblings, 1 reply; 2+ messages in thread
From: Peter Barada @ 2010-02-18 16:39 UTC (permalink / raw)
  To: linux-omap

On my board I have an isp1760 hooked up using gpio_126 (pin P27 -
MMC1_DAT4/SIM_IO/GPIO_126).  From the schematics (and TRM), there is a
2nd gpio_126 on pin D25 (CAM_STROBE/GPIO_126).

I tried to use:

#define ISP1760_IRQ 126

omap_mux_init_gpio(ISP1760_IRQ, OMAP_PIN_INPUT_PULLUP);
if (gpio_request(ISP1760_IRQ, "isp1760 IRQ") < 0) {
    printk(KERN_ERR "Failed to request GPIO%d for isp1760IRQ\n", ISP1760_IRQ);
    return;
}

And in the log I see:

mux: Multiple gpio paths for gpio126
mux: Multiple gpio paths for gpio126
Failed to request GPIO126 for isp1760 IRQ

How do I tell gpio_request()and friends that I want to use GPIO_126 on
pin P27, not GPIO_126 on pin D25?

Thanks in advance!

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-02-18 17:43 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-02-18 16:39 Problem specifying which gpio_126 to use on omap353x Peter Barada
2010-02-18 17:43 ` Tony Lindgren

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox