diff options
author | 2016-02-17 03:16:34 +0800 | |
---|---|---|
committer | 2016-02-19 00:30:22 +0100 | |
commit | b1c5b77035e086c9c3c8157dcc294a17e67a6ce0 (patch) | |
tree | c33d14ebc2d60737c351a025dbb2baf1ad676d8d /tools/perf/scripts/python/export-to-postgresql.py | |
parent | pinctrl: mediatek: add input-enable setting in gpio_request_enable (diff) | |
download | wireguard-linux-b1c5b77035e086c9c3c8157dcc294a17e67a6ce0.tar.xz wireguard-linux-b1c5b77035e086c9c3c8157dcc294a17e67a6ce0.zip |
pinctrl: mediatek: add input-enable and direction setting for eint resources
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@mediatek.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions