linux/drivers/pinctrl/mediatek
Yingjoe Chen 3221f40b76 pinctrl: mediatek: emulate GPIO interrupt on both-edges
MTK EINT does not support generating interrupt on both edges.
Emulate this by changing edge polarity while enable irq,
set types and interrupt handling. This follows an example of
drivers/gpio/gpio-mxc.c.

Signed-off-by: Yingjoe Chen <yingjoe.chen@mediatek.com>
Signed-off-by: Chaotian Jing <chaotian.jing@mediatek.com>
Acked-by: Hongzhou Yang <hongzhou.yang@mediatek.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
2015-03-18 02:02:16 +01:00
..
Kconfig arm64: mediatek: Add Pinctrl/GPIO/EINT driver for mt8173. 2015-03-18 02:02:16 +01:00
Makefile arm64: mediatek: Add Pinctrl/GPIO/EINT driver for mt8173. 2015-03-18 02:02:16 +01:00
pinctrl-mt8135.c pinctrl: mediatek: emulate GPIO interrupt on both-edges 2015-03-18 02:02:16 +01:00
pinctrl-mt8173.c pinctrl: mediatek: emulate GPIO interrupt on both-edges 2015-03-18 02:02:16 +01:00
pinctrl-mtk-common.c pinctrl: mediatek: emulate GPIO interrupt on both-edges 2015-03-18 02:02:16 +01:00
pinctrl-mtk-common.h pinctrl: mediatek: emulate GPIO interrupt on both-edges 2015-03-18 02:02:16 +01:00
pinctrl-mtk-mt8135.h
pinctrl-mtk-mt8173.h arm64: mediatek: Add Pinctrl/GPIO/EINT driver for mt8173. 2015-03-18 02:02:16 +01:00