diff options
author | Vijay Hiremath <vijay.p.hiremath@intel.com> | 2015-08-31 17:45:52 -0700 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2015-09-04 23:02:12 -0700 |
commit | e5e8f84d412dc97d9e33b12fef61b6657627f772 (patch) | |
tree | 58874f83654d99fac033a2d4ef45b157a56bedd7 /board/kunimitsu/gpio.inc | |
parent | 46493e49aa52af3d8d948dc1a75df3823b83541d (diff) | |
download | chrome-ec-e5e8f84d412dc97d9e33b12fef61b6657627f772.tar.gz |
Kunimitsu: Enable support for limiting the inrush current
Enable the support for limiting the inrush current by routing the PCH_SLP_SUS
through EC gpio PMIC_SLP_SUS which allows the DUT to boot on charger without
the battery / dead battery. This is applicable to Kunimitsu FAB4 only.
Enabling the Glados patch for Kunimitsu FAB4.
Change-Id: I55de857f7006777640f7853b7bde98ba97e8bd13
Reviewed-on: https://chromium-review.googlesource.com/287378
BUG=chrome-os-partner:44706
TEST=FAB4 prototype boots to UI without battery / dead battery.
BRANCH=none
Change-Id: Ie81cdf3c59fc02d6d59dd06ca321705ca06e7b88
Signed-off-by: Vijay Hiremath <vijay.p.hiremath@intel.com>
Reviewed-on: https://chromium-review.googlesource.com/296521
Commit-Ready: Vijay P Hiremath <vijay.p.hiremath@intel.com>
Tested-by: Vijay P Hiremath <vijay.p.hiremath@intel.com>
Reviewed-by: Vijay P Hiremath <vijay.p.hiremath@intel.com>
Reviewed-by: Shawn N <shawnn@chromium.org>
Diffstat (limited to 'board/kunimitsu/gpio.inc')
-rw-r--r-- | board/kunimitsu/gpio.inc | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/board/kunimitsu/gpio.inc b/board/kunimitsu/gpio.inc index 643b335b16..d60b06b6b7 100644 --- a/board/kunimitsu/gpio.inc +++ b/board/kunimitsu/gpio.inc @@ -42,7 +42,11 @@ GPIO(I2C3_SCL, PIN(24), GPIO_INPUT) GPIO(I2C3_SDA, PIN(25), GPIO_INPUT) GPIO(PCH_SCI_L, PIN(26), GPIO_ODR_HIGH) +#ifndef BOARD_KUNIMITSU_V3 +GPIO(PMIC_SLP_SUS_L, PIN(34), GPIO_OUT_LOW) +#else GPIO(NC_034, PIN(34), GPIO_INPUT | GPIO_PULL_UP) +#endif GPIO(USB1_ENABLE, PIN(36), GPIO_OUT_HIGH) GPIO(USB2_ENABLE, PIN(67), GPIO_OUT_HIGH) GPIO(ENTERING_RW, PIN(41), GPIO_OUT_LOW) @@ -51,7 +55,7 @@ GPIO(PCH_PWRBTN_L, PIN(45), GPIO_OUT_HIGH) GPIO(USB_C0_DP_HPD, PIN(46), GPIO_OUT_LOW) GPIO(USB_C1_DP_HPD, PIN(51), GPIO_OUT_LOW) GPIO(CPU_PROCHOT, PIN(52), GPIO_OUT_LOW) -GPIO(ENABLE_TOUCHPAD, PIN(53), GPIO_OUT_HIGH) +GPIO(ENABLE_TOUCHPAD, PIN(53), GPIO_OUT_LOW) GPIO(BAT_PRESENT_L, PIN(56), GPIO_INPUT) GPIO(USB_PD_WAKE, PIN(60), GPIO_OUT_LOW) /* When asserted, ME does not lock security descriptor */ |