diff options
author | Dave Parker <dparker@chromium.org> | 2013-06-12 13:51:07 +0800 |
---|---|---|
committer | ChromeBot <chrome-bot@google.com> | 2013-06-17 09:38:12 -0700 |
commit | 05712ce0ba72e757b37963b215085282c50ca8c7 (patch) | |
tree | 3cdc63464aecefede3af7495abba8fea028127f1 | |
parent | aaac3935d2e82b281979045a390f0b7d2c79b281 (diff) | |
download | chrome-ec-05712ce0ba72e757b37963b215085282c50ca8c7.tar.gz |
Peppy: Update LED color names in comment. Mark active low.
BUG=None
BRANCH=peppy
TEST=make BOARD=peppy
gpioset PWR_LED0_L 0
gpioset PWR_LED1_L 0
gpioset BAT_LED0_L 0
gpioset BAT_LED1_L 0
Change-Id: I9342198678465367f92758921fa84cd253e983fd
Signed-off-by: Dave Parker <dparker@chromium.org>
Reviewed-on: https://gerrit.chromium.org/gerrit/58345
Reviewed-by: Shawn Nematbakhsh <shawnn@chromium.org>
-rw-r--r-- | board/peppy/board.c | 9 | ||||
-rw-r--r-- | board/peppy/board.h | 8 |
2 files changed, 8 insertions, 9 deletions
diff --git a/board/peppy/board.c b/board/peppy/board.c index 88a9312d57..d03a632c70 100644 --- a/board/peppy/board.c +++ b/board/peppy/board.c @@ -114,11 +114,10 @@ const struct gpio_info gpio_list[GPIO_COUNT] = { {"PCH_RTCRST_L", LM4_GPIO_F, (1<<6), GPIO_ODR_HIGH, NULL}, {"PCH_SRTCRST_L", LM4_GPIO_F, (1<<7), GPIO_ODR_HIGH, NULL}, - /* HEY: LED GPIOs need to sync up to 9mA. Leave off for now. */ - {"BAT_LED0", LM4_GPIO_D, (1<<0), GPIO_ODR_HIGH, NULL}, - {"BAT_LED1", LM4_GPIO_N, (1<<4), GPIO_ODR_HIGH, NULL}, - {"PWR_LED0", LM4_GPIO_D, (1<<1), GPIO_ODR_HIGH, NULL}, - {"PWR_LED1", LM4_GPIO_N, (1<<6), GPIO_ODR_HIGH, NULL}, + {"BAT_LED0_L", LM4_GPIO_D, (1<<0), GPIO_ODR_HIGH, NULL}, + {"BAT_LED1_L", LM4_GPIO_N, (1<<4), GPIO_ODR_HIGH, NULL}, + {"PWR_LED0_L", LM4_GPIO_D, (1<<1), GPIO_ODR_HIGH, NULL}, + {"PWR_LED1_L", LM4_GPIO_N, (1<<6), GPIO_ODR_HIGH, NULL}, }; /* ADC channels. Must be in the exactly same order as in enum adc_channel. */ diff --git a/board/peppy/board.h b/board/peppy/board.h index f330bbd47e..8b76693691 100644 --- a/board/peppy/board.h +++ b/board/peppy/board.h @@ -131,10 +131,10 @@ enum gpio_signal { GPIO_PCH_RTCRST_L, /* Not supposed to be here */ GPIO_PCH_SRTCRST_L, /* Not supposed to be here */ - GPIO_BAT_LED0, /* Battery charging LED - green */ - GPIO_BAT_LED1, /* Battery charging LED - red */ - GPIO_PWR_LED0, /* Power LED - green */ - GPIO_PWR_LED1, /* Power LED - red */ + GPIO_BAT_LED0_L, /* Battery charging LED - blue */ + GPIO_BAT_LED1_L, /* Battery charging LED - orange */ + GPIO_PWR_LED0_L, /* Power LED - blue */ + GPIO_PWR_LED1_L, /* Power LED - orange */ /* Number of GPIOs; not an actual GPIO */ GPIO_COUNT |