]> git.karo-electronics.de Git - linux-beck.git/commit
pinctrl: mediatek: add ies/smt control to common code.
authorHongzhou Yang <hongzhou.yang@mediatek.com>
Tue, 19 May 2015 06:11:16 +0000 (23:11 -0700)
committerLinus Walleij <linus.walleij@linaro.org>
Tue, 19 May 2015 09:15:03 +0000 (11:15 +0200)
commit25d76b21b1b959b37520931fb6c4b8319a021705
tree071a50b956a6406b295b305258a818b2e48660b9
parente73fe2713fc9e8ab8d2d039abc48f7684b60f5ac
pinctrl: mediatek: add ies/smt control to common code.

Input enable and smt setting have different register,
modify code to fix it.

Several mediatek soc use similar input enable/smt setting
procedure as mt8173, some soc use generic input enable/smt
setting, some soc has no input enable/smt setting. Adding
common code to handle all those cases, so future soc driver
can use it.

Signed-off-by: Hongzhou Yang <hongzhou.yang@mediatek.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/mediatek/pinctrl-mt8173.c
drivers/pinctrl/mediatek/pinctrl-mtk-common.c
drivers/pinctrl/mediatek/pinctrl-mtk-common.h