diff options
author | Bill Richardson <wfrichar@chromium.org> | 2013-05-21 18:43:38 -0700 |
---|---|---|
committer | ChromeBot <chrome-bot@google.com> | 2013-06-11 16:56:54 -0700 |
commit | 30eb8afe033a29a702a9ea63c740252b0344e971 (patch) | |
tree | f196e40b4e0f6fc5d97a1b42d4a08f6d7ccbd1c4 | |
parent | 71612e73d7718338d0479f4e9546467e801b51fc (diff) | |
download | chrome-ec-30eb8afe033a29a702a9ea63c740252b0344e971.tar.gz |
Falco: New LED gpios
I don't think there are any power-sequencing changes.
BUG=chrome-os-partner:18788
BRANCH=falco
TEST=none
Nothing to test yet.
Change-Id: I2d0b7085fb5a5b853385049b61fe7796709702ae
Signed-off-by: Bill Richardson <wfrichar@chromium.org>
Reviewed-on: https://gerrit.chromium.org/gerrit/56137
-rw-r--r-- | board/falco/board.c | 7 | ||||
-rw-r--r-- | board/falco/board.h | 5 |
2 files changed, 12 insertions, 0 deletions
diff --git a/board/falco/board.c b/board/falco/board.c index a7049c5221..8afb8d7a23 100644 --- a/board/falco/board.c +++ b/board/falco/board.c @@ -111,6 +111,11 @@ const struct gpio_info gpio_list[GPIO_COUNT] = { {"PCH_SUSACK_L", LM4_GPIO_F, (1<<3), GPIO_OUT_HIGH, NULL}, {"PCH_RTCRST_L", LM4_GPIO_F, (1<<6), GPIO_HI_Z, NULL}, {"PCH_SRTCRST_L", LM4_GPIO_F, (1<<7), GPIO_HI_Z, NULL}, + + {"PWR_LED_L", LM4_GPIO_N, (1<<6), GPIO_HI_Z, NULL}, + {"KB_LED_EN", LM4_GPIO_D, (1<<4), GPIO_OUT_LOW, NULL}, + {"BAT_LED0", LM4_GPIO_D, (1<<0), GPIO_OUT_LOW, NULL}, + {"BAT_LED1", LM4_GPIO_D, (1<<1), GPIO_OUT_LOW, NULL}, }; /* ADC channels. Must be in the exactly same order as in enum adc_channel. */ @@ -128,6 +133,8 @@ const struct adc_t adc_channels[ADC_CH_COUNT] = { */ {"ChargerCurrent", LM4_ADC_SEQ1, 33 * 4000, ADC_READ_MAX * 16, 0, LM4_AIN(0), 0x06 /* IE0 | END0 */, LM4_GPIO_E, (1<<3)}, + + /* HEY: Falco will have AD_TYPE on PB5/AIN11 */ }; /* I2C ports */ diff --git a/board/falco/board.h b/board/falco/board.h index 1bb1bcc0b9..0fe1468cdf 100644 --- a/board/falco/board.h +++ b/board/falco/board.h @@ -131,6 +131,11 @@ enum gpio_signal { GPIO_PCH_RTCRST_L, /* Not supposed to be here */ GPIO_PCH_SRTCRST_L, /* Not supposed to be here */ + GPIO_PWR_LED_L, /* Power LED */ + GPIO_KB_LED_EN, /* Keyboard LED */ + GPIO_BAT_LED0, /* Battery charger status */ + GPIO_BAT_LED1, /* Battery charger status */ + /* Number of GPIOs; not an actual GPIO */ GPIO_COUNT }; |