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
This commit is contained in:
Bill Richardson
2013-05-21 18:43:38 -07:00
committed by ChromeBot
parent 71612e73d7
commit 30eb8afe03
2 changed files with 12 additions and 0 deletions

View File

@@ -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 */

View File

@@ -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
};