From 39f86d2fad567661d64716d9e6e815802835ccaa Mon Sep 17 00:00:00 2001 From: Randall Spangler Date: Tue, 10 Jan 2012 14:09:02 -0800 Subject: Split power button code into its own file Signed-off-by: Randall Spangler BUG=chrome-os-partner:7499 TEST=press and release power button; should see debug messages Change-Id: I8909ae4643afc98753edb690771618ad43135e3e --- include/gpio.h | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'include/gpio.h') diff --git a/include/gpio.h b/include/gpio.h index 5e4edf0593..54ea231dba 100644 --- a/include/gpio.h +++ b/include/gpio.h @@ -12,12 +12,13 @@ /* GPIO signal definitions. */ enum gpio_signal { - /* Firmware write protect */ - EC_GPIO_WRITE_PROTECT = 0, - /* Recovery switch */ - EC_GPIO_RECOVERY_SWITCH, - /* Debug LED */ - EC_GPIO_DEBUG_LED + EC_GPIO_DEBUG_LED = 0, /* Debug LED */ + EC_GPIO_POWER_BUTTON, /* Power button */ + EC_GPIO_POWER_BUTTON_OUT, /* Power button output to PCH */ + EC_GPIO_LID_SWITCH, /* Lid switch */ + EC_GPIO_LID_SWITCH_OUT, /* Lid switch output to PCH */ + /* Number of GPIOs; not an actual GPIO */ + EC_GPIO_COUNT }; -- cgit v1.2.1