Commit bed5cd6f authored by Emil Renner Berthing's avatar Emil Renner Berthing Committed by Linus Walleij
Browse files

pinctrl: Add driver for the T-Head TH1520 SoC



Add pinctrl driver for the T-Head TH1520 RISC-V SoC.

Tested-by: default avatarThomas Bonnefille <thomas.bonnefille@bootlin.com>
Signed-off-by: default avatarEmil Renner Berthing <emil.renner.berthing@canonical.com>
[dfustini: use thead,pad-group to identify the pin controller instance]
Signed-off-by: default avatarDrew Fustini <dfustini@tenstorrent.com>
Link: https://lore.kernel.org/20240930-th1520-pinctrl-v3-2-32cea2bdbecb@tenstorrent.com


Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
parent 137ca342
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -19945,6 +19945,7 @@ F: Documentation/devicetree/bindings/clock/thead,th1520-clk-ap.yaml
F:	Documentation/devicetree/bindings/pinctrl/thead,th1520-pinctrl.yaml
F:	arch/riscv/boot/dts/thead/
F:	drivers/clk/thead/clk-th1520-ap.c
F:	drivers/pinctrl/pinctrl-th1520.c
F:	include/dt-bindings/clock/thead,th1520-clk-ap.h
RNBD BLOCK DRIVERS
+13 −0
Original line number Diff line number Diff line
@@ -551,6 +551,19 @@ config PINCTRL_TPS6594
	  This driver can also be built as a module
	  called tps6594-pinctrl.

config PINCTRL_TH1520
	tristate "Pinctrl driver for the T-Head TH1520 SoC"
	depends on ARCH_THEAD || COMPILE_TEST
	select GENERIC_PINMUX_FUNCTIONS
	select GENERIC_PINCONF
	select PINMUX
	help
	  This is the driver for the pin controller blocks on the
	  T-Head TH1520 SoC.

	  This driver is needed for RISC-V development boards like
	  the BeagleV Ahead and the LicheePi 4A.

config PINCTRL_ZYNQ
	bool "Pinctrl driver for Xilinx Zynq"
	depends on ARCH_ZYNQ
+1 −0
Original line number Diff line number Diff line
@@ -54,6 +54,7 @@ obj-$(CONFIG_PINCTRL_STMFX) += pinctrl-stmfx.o
obj-$(CONFIG_PINCTRL_SX150X)	+= pinctrl-sx150x.o
obj-$(CONFIG_PINCTRL_TB10X)	+= pinctrl-tb10x.o
obj-$(CONFIG_PINCTRL_TPS6594)	+= pinctrl-tps6594.o
obj-$(CONFIG_PINCTRL_TH1520)	+= pinctrl-th1520.o
obj-$(CONFIG_PINCTRL_ZYNQMP)	+= pinctrl-zynqmp.o
obj-$(CONFIG_PINCTRL_ZYNQ)	+= pinctrl-zynq.o

+907 −0

File added.

Preview size limit exceeded, changes collapsed.