summaryrefslogtreecommitdiffstats
path: root/drivers/pinctrl/Makefile
diff options
context:
space:
mode:
authorzhanghongchen <zhanghongchen@loongson.cn>2022-11-14 10:49:41 +0800
committerLinus Walleij <linus.walleij@linaro.org>2022-11-17 10:24:08 +0100
commitf73f88acbc18a679def4c16eb8648cc279995075 (patch)
tree71ee410a81267a3a7e6e171cb4476b57ce7f2929 /drivers/pinctrl/Makefile
parentda67eff50ceff2f33c284aac35648851b9c9c8cf (diff)
downloadlinux-f73f88acbc18a679def4c16eb8648cc279995075.tar.gz
linux-f73f88acbc18a679def4c16eb8648cc279995075.tar.bz2
linux-f73f88acbc18a679def4c16eb8648cc279995075.zip
pinctrl: pinctrl-loongson2: add pinctrl driver support
The Loongson-2 SoC has a few pins that can be used as GPIOs or take multiple other functions. Add a driver for the pinmuxing. There is currently no support for GPIO pin pull-up and pull-down. Signed-off-by: zhanghongchen <zhanghongchen@loongson.cn> Co-developed-by: Yinbo Zhu <zhuyinbo@loongson.cn> Signed-off-by: Yinbo Zhu <zhuyinbo@loongson.cn> Link: https://lore.kernel.org/r/20221114024942.8111-1-zhuyinbo@loongson.cn Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/pinctrl/Makefile')
-rw-r--r--drivers/pinctrl/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/pinctrl/Makefile b/drivers/pinctrl/Makefile
index 89bfa01b5231..d5939840bb2a 100644
--- a/drivers/pinctrl/Makefile
+++ b/drivers/pinctrl/Makefile
@@ -28,6 +28,7 @@ obj-$(CONFIG_PINCTRL_K210) += pinctrl-k210.o
obj-$(CONFIG_PINCTRL_KEEMBAY) += pinctrl-keembay.o
obj-$(CONFIG_PINCTRL_LANTIQ) += pinctrl-lantiq.o
obj-$(CONFIG_PINCTRL_FALCON) += pinctrl-falcon.o
+obj-$(CONFIG_PINCTRL_LOONGSON2) += pinctrl-loongson2.o
obj-$(CONFIG_PINCTRL_XWAY) += pinctrl-xway.o
obj-$(CONFIG_PINCTRL_LPC18XX) += pinctrl-lpc18xx.o
obj-$(CONFIG_PINCTRL_MAX77620) += pinctrl-max77620.o