summaryrefslogtreecommitdiffstats
path: root/drivers/pinctrl/mediatek/Makefile
diff options
context:
space:
mode:
authorSean Wang <sean.wang@mediatek.com>2018-09-08 13:07:18 +0200
committerLinus Walleij <linus.walleij@linaro.org>2018-09-18 23:52:37 +0200
commite78d57b2f87c053c224a612121fc842ebe511ad2 (patch)
treecd509c33947205979c1ad8c2d4e0b4c4c96dbb07 /drivers/pinctrl/mediatek/Makefile
parentpinctrl: mediatek: add pinctrl-mtk-common-v2 for all MediaTek pinctrls (diff)
downloadlinux-e78d57b2f87c053c224a612121fc842ebe511ad2.tar.xz
linux-e78d57b2f87c053c224a612121fc842ebe511ad2.zip
pinctrl: mediatek: add pinctrl-moore that implements the generic pinctrl dt-bindings
Add a generic driver pinctrl-moore.c for MT762x SoC and any other SoC that would like to use generic dt-binding. The patch is furtherly refactored from pinctrl-mt7622.c that totally uses the functions back by the generic pinctrl core such as GENERIC_PINCONF, GENERIC_PINCTRL_GROUPS, and GENERIC_PINMUX_FUNCTIONS and its binding also completely follows up pinctrl-bindings.txt in Documentation/devicetree/bindings/pinctrl/ to implement. Signed-off-by: Ryder.Lee <ryder.lee@mediatek.com> Signed-off-by: Sean Wang <sean.wang@mediatek.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/pinctrl/mediatek/Makefile')
-rw-r--r--drivers/pinctrl/mediatek/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/pinctrl/mediatek/Makefile b/drivers/pinctrl/mediatek/Makefile
index e3c4ffadc1d5..911d9276d674 100644
--- a/drivers/pinctrl/mediatek/Makefile
+++ b/drivers/pinctrl/mediatek/Makefile
@@ -2,12 +2,13 @@
# Core
obj-$(CONFIG_EINT_MTK) += mtk-eint.o
obj-$(CONFIG_PINCTRL_MTK) += pinctrl-mtk-common.o
+obj-$(CONFIG_PINCTRL_MTK_MOORE) += pinctrl-moore.o pinctrl-mtk-common-v2.o
# SoC Drivers
obj-$(CONFIG_PINCTRL_MT2701) += pinctrl-mt2701.o
obj-$(CONFIG_PINCTRL_MT2712) += pinctrl-mt2712.o
obj-$(CONFIG_PINCTRL_MT8135) += pinctrl-mt8135.o
obj-$(CONFIG_PINCTRL_MT8127) += pinctrl-mt8127.o
-obj-$(CONFIG_PINCTRL_MT7622) += pinctrl-mtk-common-v2.o pinctrl-mt7622.o
+obj-$(CONFIG_PINCTRL_MT7622) += pinctrl-mt7622.o
obj-$(CONFIG_PINCTRL_MT8173) += pinctrl-mt8173.o
obj-$(CONFIG_PINCTRL_MT6397) += pinctrl-mt6397.o