Skip to content

Commit

Permalink
pinctrl: Add driver for the T-Head TH1520 SoC
Browse files Browse the repository at this point in the history
Add pinctrl driver for the T-Head TH1520 RISC-V SoC.

Signed-off-by: Emil Renner Berthing <emil.renner.berthing@canonical.com>
  • Loading branch information
esmil committed Dec 7, 2023
1 parent 949eccc commit d857134
Show file tree
Hide file tree
Showing 3 changed files with 797 additions and 0 deletions.
10 changes: 10 additions & 0 deletions drivers/pinctrl/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -469,6 +469,16 @@ config PINCTRL_TB10X
depends on OF && ARC_PLAT_TB10X
select GPIOLIB

config PINCTRL_TH1520
tristate "Pinctrl driver for the T-Head TH1520 SoC"
depends on ARCH_THEAD || COMPILE_TEST
depends on PHYS_ADDR_T_64BIT
select GENERIC_PINMUX_FUNCTIONS
select GENERIC_PINCONF
select PINMUX
help
This selects the pinctrl driver for T-Head TH1520 RISC-V SoC.

config PINCTRL_ZYNQ
bool "Pinctrl driver for Xilinx Zynq"
depends on ARCH_ZYNQ
Expand Down
1 change: 1 addition & 0 deletions drivers/pinctrl/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ obj-$(CONFIG_PINCTRL_ST) += pinctrl-st.o
obj-$(CONFIG_PINCTRL_STMFX) += pinctrl-stmfx.o
obj-$(CONFIG_PINCTRL_SX150X) += pinctrl-sx150x.o
obj-$(CONFIG_PINCTRL_TB10X) += pinctrl-tb10x.o
obj-$(CONFIG_PINCTRL_TH1520) += pinctrl-th1520.o
obj-$(CONFIG_PINCTRL_ZYNQMP) += pinctrl-zynqmp.o
obj-$(CONFIG_PINCTRL_ZYNQ) += pinctrl-zynq.o

Expand Down

0 comments on commit d857134

Please sign in to comment.