[PATCH linux dev-4.10 02/10] aspeed: barreleye: Passthrough debounce isn't required

Andrew Jeffery andrew at aj.id.au
Thu Apr 27 16:08:15 AEST 2017


Passthrough debouncing concerns GPIO passthrough mode, but both GPIOE0
and GPIOE1 are independently exported by userspace. Therefore barreleye
is not using passthrough mode and we can drop this configuration.

Signed-off-by: Andrew Jeffery <andrew at aj.id.au>
---
 arch/arm/mach-aspeed/aspeed.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/arch/arm/mach-aspeed/aspeed.c b/arch/arm/mach-aspeed/aspeed.c
index 6c6bac0c3e63..21084c72aee7 100644
--- a/arch/arm/mach-aspeed/aspeed.c
+++ b/arch/arm/mach-aspeed/aspeed.c
@@ -64,9 +64,6 @@ static void __init do_barreleye_setup(void)
 	writel(0x9E82FCE7, AST_IO(AST_BASE_GPIO | 0x00));
 	writel(0x0370E677, AST_IO(AST_BASE_GPIO | 0x04));
 
-	/* To enable GPIOE0 pass through function debounce mode */
-	writel(0x010FFFFF, AST_IO(AST_BASE_SCU | 0xA8));
-
 	/*
 	 * Do read/modify/write on power gpio to prevent resetting power on
 	 * reboot
-- 
2.9.3



More information about the openbmc mailing list