summaryrefslogtreecommitdiff
path: root/drivers/pinctrl/aspeed/Kconfig
diff options
context:
space:
mode:
authorAndrew Jeffery <andrew@aj.id.au>2016-08-30 10:54:25 +0300
committerLinus Walleij <linus.walleij@linaro.org>2016-09-07 17:51:49 +0300
commit524594d40153befc7b0c4600550a5eb312c6918c (patch)
treef18dcceaf56fbe4fad331eb4212e2241b03fce0f /drivers/pinctrl/aspeed/Kconfig
parent4d3d0e4272d8d660f5f14f5abcf96fb4df1aa94b (diff)
downloadlinux-524594d40153befc7b0c4600550a5eb312c6918c.tar.xz
pinctrl: Add pinctrl-aspeed-g4 driver
A subset of the pins and functions are exposed. The selection of functions and pins is driven by the development of OpenBMC[1] on the AST2400 SoC, particularly around booting the OpenPOWER Palmetto development machine. [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>
Diffstat (limited to 'drivers/pinctrl/aspeed/Kconfig')
-rw-r--r--drivers/pinctrl/aspeed/Kconfig8
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/pinctrl/aspeed/Kconfig b/drivers/pinctrl/aspeed/Kconfig
index 757002f9be30..1f3d74549381 100644
--- a/drivers/pinctrl/aspeed/Kconfig
+++ b/drivers/pinctrl/aspeed/Kconfig
@@ -6,3 +6,11 @@ config PINCTRL_ASPEED
select PINCONF
select GENERIC_PINCONF
select REGMAP_MMIO
+
+config PINCTRL_ASPEED_G4
+ bool "Aspeed G4 SoC pin control"
+ depends on (MACH_ASPEED_G4 || COMPILE_TEST) && OF
+ select PINCTRL_ASPEED
+ help
+ Say Y here to enable pin controller support for Aspeed's 4th
+ generation SoCs. GPIO is provided by a separate GPIO driver.