[PATCH 2/2] pinctrl: mediatek: add input-enable and direction setting for eint resources

Linus Walleij linus.walleij at linaro.org
Thu Feb 18 15:31:03 PST 2016


On Tue, Feb 16, 2016 at 8:16 PM, Biao Huang <biao.huang at mediatek.com> wrote:

> To use pin as eint, user should make sure that:
> 1. pin is set to right mode, this is done in .irq_request_resources
> implementation already.
> 2. direction of the pin is input, which should call GPIO API to set
> pin to input gpio.
> We add what step 2 do to .irq_request_resources so that user doesn't
> need call GPIO API any more when pin for eint usage.
>
> Signed-off-by: Biao Huang <biao.huang at mediatek.com>

Patch applied.

Yours,
Linus Walleij



More information about the linux-arm-kernel mailing list