[PATCH] mfd: stmpe: Pull IRQ GPIO number from DT during DT-based probe
Viresh Kumar
viresh.kumar at linaro.org
Tue Jan 8 06:14:27 EST 2013
On 8 January 2013 16:41, Lee Jones <lee.jones at linaro.org> wrote:
>> 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?
I don't think pinctrl is playing with it. I searched for
"direction_input" string and
pinctrl routine also had similar name. I couldn't fine use of
direction_input anywhere
in kernel, for setting them as irqs for OF cases.
More information about the linux-arm-kernel
mailing list