Skip to content

Commit

Permalink
pinctrl: add a pinctrl driver for the Ingenic jz47xx SoCs
Browse files Browse the repository at this point in the history
This driver handles pin configuration and pin muxing for the
JZ4740 and JZ4780 SoCs from Ingenic.

Signed-off-by: Paul Cercueil <paul@crapouillou.net>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
  • Loading branch information
Paul Cercueil authored and Linus Walleij committed May 22, 2017
1 parent 592870e commit b5c23aa
Show file tree
Hide file tree
Showing 3 changed files with 862 additions and 0 deletions.
9 changes: 9 additions & 0 deletions drivers/pinctrl/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -296,6 +296,15 @@ config PINCTRL_ZYNQ
help
This selects the pinctrl driver for Xilinx Zynq.

config PINCTRL_INGENIC
bool "Pinctrl driver for the Ingenic JZ47xx SoCs"
default y
depends on MACH_INGENIC || COMPILE_TEST
select GENERIC_PINCONF
select GENERIC_PINCTRL_GROUPS
select GENERIC_PINMUX_FUNCTIONS
select REGMAP_MMIO

source "drivers/pinctrl/aspeed/Kconfig"
source "drivers/pinctrl/bcm/Kconfig"
source "drivers/pinctrl/berlin/Kconfig"
Expand Down
1 change: 1 addition & 0 deletions drivers/pinctrl/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ obj-$(CONFIG_PINCTRL_LPC18XX) += pinctrl-lpc18xx.o
obj-$(CONFIG_PINCTRL_TB10X) += pinctrl-tb10x.o
obj-$(CONFIG_PINCTRL_ST) += pinctrl-st.o
obj-$(CONFIG_PINCTRL_ZYNQ) += pinctrl-zynq.o
obj-$(CONFIG_PINCTRL_INGENIC) += pinctrl-ingenic.o

obj-$(CONFIG_ARCH_ASPEED) += aspeed/
obj-y += bcm/
Expand Down
Loading

0 comments on commit b5c23aa

Please sign in to comment.