pinctrl: mediatek: Add Pinctrl/GPIO driver for mt6397.
authorHongzhou Yang <hongzhou.yang@mediatek.com>
Tue, 19 May 2015 06:11:17 +0000 (23:11 -0700)
committerLinus Walleij <linus.walleij@linaro.org>
Tue, 19 May 2015 09:16:17 +0000 (11:16 +0200)
commitfc59e66c4284a420f9a1b3a0f99f784847bf3ef8
treeb5be264541f57953f5fc9e83a74242b9f177129e
parent25d76b21b1b959b37520931fb6c4b8319a021705
pinctrl: mediatek: Add Pinctrl/GPIO driver for mt6397.

Add mt6397 support using mediatek common pinctrl driver.

mt6397 is a PMIC, and pinctrl/GPIO is part of 6397 chip.
Pinctrl/GPIO driver should obtain regmap from PMIC,
so adding this support to common code.

Also, mt6397 is no need to support interrupt controller,
so changing common code to skip it.

Signed-off-by: Hongzhou Yang <hongzhou.yang@mediatek.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/mediatek/Kconfig
drivers/pinctrl/mediatek/Makefile
drivers/pinctrl/mediatek/pinctrl-mt6397.c [new file with mode: 0644]
drivers/pinctrl/mediatek/pinctrl-mt8135.c
drivers/pinctrl/mediatek/pinctrl-mt8173.c
drivers/pinctrl/mediatek/pinctrl-mtk-common.c
drivers/pinctrl/mediatek/pinctrl-mtk-common.h
drivers/pinctrl/mediatek/pinctrl-mtk-mt6397.h [new file with mode: 0644]