linux/drivers/pinctrl/mediatek
Sean Wang e46df235b4 pinctrl: mediatek: refactor EINT related code for all MediaTek pinctrl can fit
This patch is in preparation for adding EINT support to MT7622 pinctrl,
and the refactoring doesn't alter any existent logic.

A reason we have to refactor EINT code pieces into a generic way is that
currently, they're tightly coupled with a certain type of MediaTek pinctrl
would cause a grown in a very bad way as there is different types of
pinctrl devices getting to join.

Therefore, it is an essential or urgent thing that EINT code pieces are
refactored to eliminate any dependencies across GPIO and EINT as possible.

Additional structure mtk_eint_[xt, hw, regs] are being introduced for
indicating how maps being designed between GPIO and EINT hw number, how to
set and get GPIO state for a certain EINT pin, what characteristic on a
EINT device is present on various SoCs.

Signed-off-by: Sean Wang <sean.wang@mediatek.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
2018-05-24 09:37:21 +02:00
..
Kconfig pinctrl: mediatek: refactor EINT related code for all MediaTek pinctrl can fit 2018-05-24 09:37:21 +02:00
Makefile pinctrl: mediatek: refactor EINT related code for all MediaTek pinctrl can fit 2018-05-24 09:37:21 +02:00
mtk-eint.c pinctrl: mediatek: refactor EINT related code for all MediaTek pinctrl can fit 2018-05-24 09:37:21 +02:00
mtk-eint.h pinctrl: mediatek: refactor EINT related code for all MediaTek pinctrl can fit 2018-05-24 09:37:21 +02:00
pinctrl-mt2701.c pinctrl: mediatek: refactor EINT related code for all MediaTek pinctrl can fit 2018-05-24 09:37:21 +02:00
pinctrl-mt2712.c pinctrl: mediatek: refactor EINT related code for all MediaTek pinctrl can fit 2018-05-24 09:37:21 +02:00
pinctrl-mt6397.c pinctrl: mediatek: use builtin_platform_driver 2016-11-22 10:17:28 +01:00
pinctrl-mt7622.c pinctrl: mediatek: mt7622: align error handling of mtk_hw_get_value call 2018-01-11 10:43:24 +01:00
pinctrl-mt8127.c pinctrl: mediatek: refactor EINT related code for all MediaTek pinctrl can fit 2018-05-24 09:37:21 +02:00
pinctrl-mt8135.c pinctrl: mediatek: refactor EINT related code for all MediaTek pinctrl can fit 2018-05-24 09:37:21 +02:00
pinctrl-mt8173.c pinctrl: mediatek: refactor EINT related code for all MediaTek pinctrl can fit 2018-05-24 09:37:21 +02:00
pinctrl-mtk-common.c pinctrl: mediatek: refactor EINT related code for all MediaTek pinctrl can fit 2018-05-24 09:37:21 +02:00
pinctrl-mtk-common.h pinctrl: mediatek: refactor EINT related code for all MediaTek pinctrl can fit 2018-05-24 09:37:21 +02:00
pinctrl-mtk-mt2701.h pinctrl: mtk: fix check warnings. 2018-03-26 10:58:33 +02:00
pinctrl-mtk-mt2712.h pinctrl: add mt2712 pinctrl driver 2018-03-26 10:53:39 +02:00
pinctrl-mtk-mt6397.h pinctrl: mtk: fix check warnings. 2018-03-26 10:58:33 +02:00
pinctrl-mtk-mt8127.h pinctrl: mtk: fix check warnings. 2018-03-26 10:58:33 +02:00
pinctrl-mtk-mt8135.h pinctrl: mtk: fix check warnings. 2018-03-26 10:58:33 +02:00
pinctrl-mtk-mt8173.h pinctrl: mtk: fix check warnings. 2018-03-26 10:58:33 +02:00