Skip to content

Commit 2eda1cd

Browse files
amboarlinusw
authored andcommitted
pinctrl: aspeed: Add AST2600 pinmux support
The AST2600 pinmux is fairly similar to the previous generations of ASPEED BMC SoCs in terms of architecture, though differ in some of the design details. The complexity of the pin expressions is largely reduced (e.g. there are no-longer signals with multiple expressions muxing them to the associated pin), and there are now signals and buses with multiple pin groups. The driver implements pinmux support for all 244 GPIO-capable pins plus a further four pins that are not GPIO capable but which expose multiple signals. pinconf will be implemented in a follow-up patch. The implementation has been smoke-tested under qemu, and run on hardware by ASPEED. Debugged-by: Johnny Huang <[email protected]> Signed-off-by: Andrew Jeffery <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Linus Walleij <[email protected]>
1 parent 86392fa commit 2eda1cd

File tree

3 files changed

+2404
-0
lines changed

3 files changed

+2404
-0
lines changed

drivers/pinctrl/aspeed/Kconfig

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,3 +23,11 @@ config PINCTRL_ASPEED_G5
2323
help
2424
Say Y here to enable pin controller support for Aspeed's 5th
2525
generation SoCs. GPIO is provided by a separate GPIO driver.
26+
27+
config PINCTRL_ASPEED_G6
28+
bool "Aspeed G6 SoC pin control"
29+
depends on (MACH_ASPEED_G6 || COMPILE_TEST) && OF
30+
select PINCTRL_ASPEED
31+
help
32+
Say Y here to enable pin controller support for Aspeed's 6th
33+
generation SoCs. GPIO is provided by a separate GPIO driver.

drivers/pinctrl/aspeed/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,4 @@ ccflags-y += $(call cc-option,-Woverride-init)
55
obj-$(CONFIG_PINCTRL_ASPEED) += pinctrl-aspeed.o pinmux-aspeed.o
66
obj-$(CONFIG_PINCTRL_ASPEED_G4) += pinctrl-aspeed-g4.o
77
obj-$(CONFIG_PINCTRL_ASPEED_G5) += pinctrl-aspeed-g5.o
8+
obj-$(CONFIG_PINCTRL_ASPEED_G6) += pinctrl-aspeed-g6.o

0 commit comments

Comments
 (0)