[PATCH linux dev-4.10] aspeed-g5: add gpiolib irqchip support.

Mykola Kostenok c_mykolak at mellanox.com
Thu Jun 29 23:32:39 AEST 2017


To allow support gpio class infrastructure for Aspeed SOC.
To allow gpio_to_irq conversion.

Enable irqchip and libgpio_irqchip for aspeed-g5.

Signed-off-by: Mykola Kostenok <c_mykolak at mellanox.com>
---
 arch/arm/mach-aspeed/Kconfig | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/arch/arm/mach-aspeed/Kconfig b/arch/arm/mach-aspeed/Kconfig
index f3f8c5c658db..e098b7a780ee 100644
--- a/arch/arm/mach-aspeed/Kconfig
+++ b/arch/arm/mach-aspeed/Kconfig
@@ -27,6 +27,9 @@ config MACH_ASPEED_G5
 	depends on ARCH_MULTI_V6
 	select CPU_V6
 	select PINCTRL_ASPEED_G5
+	select GENERIC_IRQ_CHIP
+	select GPIOLIB_IRQCHIP
+
 	help
 	 Say yes if you intend to run on an Aspeed ast2500 or similar
 	 fifth generation Aspeed BMCs.
-- 
2.11.0



More information about the openbmc mailing list