[PATCH linux dev-4.10 v3 2/3] aspeed: barreleye: Passthrough debounce isn't required
Andrew Jeffery
andrew at aj.id.au
Fri May 5 12:42:25 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 88d0a59d043d..31b0e69f62b8 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