Commit 12422af8 authored by Lakshmi Sowjanya D's avatar Lakshmi Sowjanya D Committed by Linus Walleij
Browse files

pinctrl: Add Intel Thunder Bay pinctrl driver



About Intel Thunder Bay:
-----------------------
Intel Thunder Bay is a computer vision AI accelerator SoC based on ARM CPU.

Pinctrl IP:
----------
The SoC has a customised pinmux controller IP which controls pin
multiplexing and configuration.

Thunder Bay pinctrl IP is not based on and have nothing in common with the
existing pinctrl drivers. The registers used are incompatible with the
existing drivers, so it requires a new driver.

Add pinctrl driver to enable pin control support in the Intel Thunder Bay
SoC.

Co-developed-by: default avatarKiran Kumar S <kiran.kumar1.s@intel.com>
Signed-off-by: default avatarKiran Kumar S <kiran.kumar1.s@intel.com>
Signed-off-by: default avatarLakshmi Sowjanya D <lakshmi.sowjanya.d@intel.com>
Link: https://lore.kernel.org/r/20211201072626.19599-3-lakshmi.sowjanya.d@intel.com


Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
parent bd92baaa
Loading
Loading
Loading
Loading
+19 −0
Original line number Diff line number Diff line
@@ -499,4 +499,23 @@ config PINCTRL_EQUILIBRIUM
	  pin functions, configure GPIO attributes for LGM SoC pins. Pinmux and
	  pinconf settings are retrieved from device tree.

config PINCTRL_THUNDERBAY
	tristate "Generic pinctrl and GPIO driver for Intel Thunder Bay SoC"
	depends on ARCH_THUNDERBAY || (ARM64 && COMPILE_TEST)
	depends on HAS_IOMEM
	select PINMUX
	select PINCONF
	select GENERIC_PINCONF
	select GENERIC_PINCTRL_GROUPS
	select GENERIC_PINMUX_FUNCTIONS
	select GPIOLIB
	select GPIOLIB_IRQCHIP
	select GPIO_GENERIC
	help
	  This selects pin control driver for the Intel Thunder Bay SoC.
	  It provides pin config functions such as pullup, pulldown,
	  interrupt, drive strength, sec lock, schmitt trigger, slew
	  rate control and direction control. This module will be
	  called as pinctrl-thunderbay.

endif
+1 −0
Original line number Diff line number Diff line
@@ -49,6 +49,7 @@ obj-$(CONFIG_PINCTRL_MICROCHIP_SGPIO) += pinctrl-microchip-sgpio.o
obj-$(CONFIG_PINCTRL_EQUILIBRIUM)   += pinctrl-equilibrium.o
obj-$(CONFIG_PINCTRL_K210)	+= pinctrl-k210.o
obj-$(CONFIG_PINCTRL_KEEMBAY)	+= pinctrl-keembay.o
obj-$(CONFIG_PINCTRL_THUNDERBAY) += pinctrl-thunderbay.o

obj-y				+= actions/
obj-$(CONFIG_ARCH_ASPEED)	+= aspeed/
+1322 −0

File added.

Preview size limit exceeded, changes collapsed.