diff options
author | li feng <li1.feng@intel.com> | 2015-12-03 11:03:02 -0800 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2015-12-03 18:01:57 -0800 |
commit | 6b75bfee7e66ff2061b3ca114ec52fada16af731 (patch) | |
tree | 087ff47876d5c732441a343935a4b4dc1788dbdd | |
parent | d837c80ef2a8c26e281f3dcd4eb42f5c42a0340b (diff) | |
download | chrome-ec-6b75bfee7e66ff2061b3ca114ec52fada16af731.tar.gz |
kunimitsu: modify charge LED gpio control to match FAB4 schematic
Also set LED gpio output low by default so no more pink color LED at the
beginning of boot up
BUG=none
BRANCH=none
TEST=Verified on Kunimitsu LED show correct color on differnt charging
states.
Change-Id: Ibc7ead862b9c1d16b08ccb1400bffeccf2326fde
Signed-off-by: li feng <li1.feng@intel.com>
Reviewed-on: https://chromium-review.googlesource.com/315740
Commit-Ready: Li1 Feng <li1.feng@intel.com>
Tested-by: Li1 Feng <li1.feng@intel.com>
Reviewed-by: Shawn N <shawnn@chromium.org>
-rw-r--r-- | board/kunimitsu/board.h | 4 | ||||
-rw-r--r-- | board/kunimitsu/gpio.inc | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/board/kunimitsu/board.h b/board/kunimitsu/board.h index dd50bcb86b..946e850dfa 100644 --- a/board/kunimitsu/board.h +++ b/board/kunimitsu/board.h @@ -103,8 +103,8 @@ #define CONFIG_WATCHDOG_HELP /* LED signals */ -#define GPIO_BAT_LED_BLUE GPIO_CHARGE_LED1 -#define GPIO_BAT_LED_AMBER GPIO_CHARGE_LED2 +#define GPIO_BAT_LED_AMBER GPIO_CHARGE_LED1 +#define GPIO_BAT_LED_BLUE GPIO_CHARGE_LED2 /* I2C ports */ #define I2C_PORT_BATTERY MEC1322_I2C3 diff --git a/board/kunimitsu/gpio.inc b/board/kunimitsu/gpio.inc index c8fd2ff4a5..74e9b5cc89 100644 --- a/board/kunimitsu/gpio.inc +++ b/board/kunimitsu/gpio.inc @@ -97,8 +97,8 @@ GPIO(PVT_CS0, PIN(146), GPIO_ODR_HIGH) GPIO(SYS_RESET_L, PIN(121), GPIO_ODR_HIGH) GPIO(NC_150, PIN(150), GPIO_INPUT | GPIO_PULL_UP) -GPIO(CHARGE_LED1, PIN(155), GPIO_OUT_HIGH) -GPIO(CHARGE_LED2, PIN(156), GPIO_OUT_HIGH) +GPIO(CHARGE_LED1, PIN(155), GPIO_OUT_LOW) +GPIO(CHARGE_LED2, PIN(156), GPIO_OUT_LOW) /* Alternate functions GPIO definitions */ |