mirror of
https://github.com/torvalds/linux.git
synced 2024-12-21 02:21:36 +00:00
e46df235b4
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> |
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
mtk-eint.c | ||
mtk-eint.h | ||
pinctrl-mt2701.c | ||
pinctrl-mt2712.c | ||
pinctrl-mt6397.c | ||
pinctrl-mt7622.c | ||
pinctrl-mt8127.c | ||
pinctrl-mt8135.c | ||
pinctrl-mt8173.c | ||
pinctrl-mtk-common.c | ||
pinctrl-mtk-common.h | ||
pinctrl-mtk-mt2701.h | ||
pinctrl-mtk-mt2712.h | ||
pinctrl-mtk-mt6397.h | ||
pinctrl-mtk-mt8127.h | ||
pinctrl-mtk-mt8135.h | ||
pinctrl-mtk-mt8173.h |