Re: [PATCH] mfd: stmpe: Pull IRQ GPIO number from DT during DT-based probe

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 08 Jan 2013, Viresh Kumar wrote:

> On 8 January 2013 15:18, Marek Vasut <marex@xxxxxxx> wrote:
> > Maybe I was too quick about understanding the issue at hand. So allow me a
> > stupid question -- who's gonna configure the GPIO as input for it to work as IRQ
> > GPIO?
> 
> Hmm.. I tried a bit, but couldn't find any such call :(
> Probably an assumption is taken here. GPIO pins which are going to be used as
> interrupt lines, wouldn't be getting set in output mode at all. So,
> once they are put
> in input mode in beginning, nobody would change it ever.
> 
> Much of gpio controllers configure gpio pins in input mode in their probe().
> 
> Maybe, there is something else :)

Pinctrl?

-- 
Lee Jones
Linaro ST-Ericsson Landing Team Lead
Linaro.org │ Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog
--
To unsubscribe from this list: send the line "unsubscribe linux-input" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Media Devel]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Linux Wireless Networking]     [Linux Omap]

  Powered by Linux