[PATCH 0/2] [v5] pinctrl: qcom: add support for sparse GPIOs

Linus Walleij linus.walleij at linaro.org
Wed Sep 20 04:43:38 PDT 2017


On Tue, Sep 19, 2017 at 2:32 PM, Timur Tabi <timur at codeaurora.org> wrote:
> On 9/19/17 3:15 AM, Linus Walleij wrote:
>>
>> Oh we already have that I think, Mika Westerberg and Andy Shevcheno
>> implemented that for anyone using CONFIG_GPIOLIB_IRQCHIP, and
>> this driver does. Timur please check: irq_need_valid_mask, irq_valid_mask
>> usage.
>
> These patches already use irq_valid_mask!  But that doesn't block complete
> access to the GPIO.

Aha sorry for my ignorance :(

Doesn't that mean we need something like irq_valid_mask but rather
gpio_valid_mask that just block all usage of certain GPIOs?

Yours,
Linus Walleij



More information about the linux-arm-kernel mailing list