Skip to content

Commit 56e57cb

Browse files
amboarlinusw
authored andcommitted
pinctrl: Add pinctrl-aspeed-g5 driver
A small subset of pins and functions are exposed. The selection of pins and functions is driven by the development of OpenBMC[1] on the AST2500 SoC, particularly around booting the IBM Witherspoon platform. [1] https://github.com/openbmc/docs Signed-off-by: Andrew Jeffery <andrew@aj.id.au> Reviewed-by: Joel Stanley <joel@jms.id.au> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
1 parent 524594d commit 56e57cb

File tree

3 files changed

+817
-0
lines changed

3 files changed

+817
-0
lines changed

drivers/pinctrl/aspeed/Kconfig

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,3 +14,11 @@ config PINCTRL_ASPEED_G4
1414
help
1515
Say Y here to enable pin controller support for Aspeed's 4th
1616
generation SoCs. GPIO is provided by a separate GPIO driver.
17+
18+
config PINCTRL_ASPEED_G5
19+
bool "Aspeed G5 SoC pin control"
20+
depends on (MACH_ASPEED_G5 || COMPILE_TEST) && OF
21+
select PINCTRL_ASPEED
22+
help
23+
Say Y here to enable pin controller support for Aspeed's 5th
24+
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
@@ -3,3 +3,4 @@
33
ccflags-y += -Woverride-init
44
obj-$(CONFIG_PINCTRL_ASPEED) += pinctrl-aspeed.o
55
obj-$(CONFIG_PINCTRL_ASPEED_G4) += pinctrl-aspeed-g4.o
6+
obj-$(CONFIG_PINCTRL_ASPEED_G5) += pinctrl-aspeed-g5.o

0 commit comments

Comments
 (0)