Skip to contentSkip to conversation

aspeed: AST2600 Pinctrl Driver

PATCH In review Dylan Hung 2 participants 2 messages Nov 2, 2021 – Nov 18, 2021

Subsystems (3)
lore
Share & tools
lore

Dylan Hung

author
#0 lore raw

PATCH 1/1 aspeed: AST2600 Pinctrl Driver

From: Ryan Chen <[email protected]>

This driver uses Pinctrl framework and is compatible with the Linux driver for AST2600.

---
 drivers/pinctrl/Kconfig                  |   9 +
 drivers/pinctrl/aspeed/Makefile          |   1 +
 drivers/pinctrl/aspeed/pinctrl_ast2600.c | 459 +++++++++++++++++++++++
 3 files changed, 469 insertions(+)
 create mode 100644 drivers/pinctrl/aspeed/pinctrl_ast2600.c
drivers/pinctrl/Kconfig +9 -0
index 30eaa376c8..42f25e24fb 100644
@@ -291,6 +291,15 @@ config ASPEED_AST2500_PINCTRL
 	  uses Generic Pinctrl framework and is compatible with the Linux
 	  driver, i.e. it uses the same device tree configuration.
 
+config ASPEED_AST2600_PINCTRL
+	bool "Aspeed AST2600 pin control driver"
+	depends on DM && PINCTRL_GENERIC && ASPEED_AST2600
+	default y
+	help
+	  Support pin multiplexing control on Aspeed ast2600 SoC. The driver
+	  uses Generic Pinctrl framework and is compatible with the Linux
+	  driver, i.e. it uses the same device tree configuration.
+
 config PINCTRL_K210
 	bool "Kendryte K210 Fully-Programmable Input/Output Array driver"
 	depends on DM && PINCTRL_GENERIC
drivers/pinctrl/aspeed/Makefile +1 -0
index 2e6ed604c8..a3e01ed1ca 100644
@@ -1 +1,2 @@
 obj-$(CONFIG_ASPEED_AST2500_PINCTRL) += pinctrl_ast2500.o
+obj-$(CONFIG_ASPEED_AST2600_PINCTRL) += pinctrl_ast2600.o
drivers/pinctrl/aspeed/pinctrl_ast2600.c new file +459 -0

459 lines not on this page · raw message

Signature · 1 line
2.25.1