mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2026-01-06 23:51:28 +00:00
zoombini: Remove EN_PP3300_TRACKPAD from Zoombini.
Replaced EN_PP3300_TRACKPAD with EN_TOP_SWAP because we moved the trackpad enable to the PCH and connected this gpio to GPP_B14. BUG=b:69139616 BRANCH=None TEST=make board=zoombini, make board=meowth TEST=Zoombini boots to Port80 codes on a cold reset. Change-Id: Id714986fbccfeb3db6ced85459505c5b9297d217 Signed-off-by: Rachel Nancollas <rachelsn@google.com> Reviewed-on: https://chromium-review.googlesource.com/814878 Commit-Ready: ChromeOS CL Exonerator Bot <chromiumos-cl-exonerator@appspot.gserviceaccount.com> Tested-by: Aseda Aboagye <aaboagye@chromium.org> Reviewed-by: Aseda Aboagye <aaboagye@chromium.org>
This commit is contained in:
committed by
chrome-bot
parent
9133a1313f
commit
aa63578a25
@@ -225,25 +225,17 @@ DECLARE_HOOK(HOOK_CHIPSET_RESUME, board_chipset_resume, HOOK_PRIO_DEFAULT);
|
||||
|
||||
static void board_chipset_startup(void)
|
||||
{
|
||||
#ifdef BOARD_ZOOMBINI
|
||||
/* Enable trackpad. */
|
||||
gpio_set_level(GPIO_EN_PP3300_TRACKPAD, 1);
|
||||
/* TODO(aaboagye): Remove Trackpad function in P1 - moved to AP */
|
||||
#else /* !defined(BOARD_ZOOMBINI) */
|
||||
#ifdef BOARD_MEOWTH
|
||||
gpio_set_level(GPIO_EN_PP1800_U, 1);
|
||||
#endif /* defined(BOARD_ZOOMBINI) */
|
||||
#endif /* defined(BOARD_MEOWTH) */
|
||||
}
|
||||
DECLARE_HOOK(HOOK_CHIPSET_STARTUP, board_chipset_startup, HOOK_PRIO_DEFAULT);
|
||||
|
||||
static void board_chipset_shutdown(void)
|
||||
{
|
||||
#ifdef BOARD_ZOOMBINI
|
||||
/* Disable trackpad. */
|
||||
gpio_set_level(GPIO_EN_PP3300_TRACKPAD, 0);
|
||||
/* TODO(aaboagye): Remove Trackpad function in P1 - moved to AP */
|
||||
#else /* !defined(BOARD_ZOOMBINI) */
|
||||
#ifdef BOARD_MEOWTH
|
||||
gpio_set_level(GPIO_EN_PP1800_U, 0);
|
||||
#endif /* defined(BOARD_ZOOMBINI) */
|
||||
#endif /* defined(BOARD_MEOWTH ) */
|
||||
}
|
||||
DECLARE_HOOK(HOOK_CHIPSET_SHUTDOWN, board_chipset_shutdown, HOOK_PRIO_DEFAULT);
|
||||
|
||||
|
||||
@@ -36,7 +36,6 @@ GPIO_INT(VOLUME_DOWN_L, PIN(4, 1), GPIO_INT_BOTH | GPIO_PULL_UP, button_interr
|
||||
|
||||
/* Power Enables. */
|
||||
GPIO(EN_PP3300_DSW, PIN(6, 0), GPIO_OUT_HIGH)
|
||||
GPIO(EN_PP3300_TRACKPAD, PIN(B, 7), GPIO_OUT_LOW)
|
||||
GPIO(EN_PP5000, PIN(7, 3), GPIO_OUT_LOW)
|
||||
|
||||
GPIO(ENTERING_RW, PIN(E, 1), GPIO_OUT_LOW)
|
||||
@@ -48,6 +47,7 @@ GPIO(ENABLE_BACKLIGHT, PIN(D, 3), GPIO_ODR_LOW) /* EC_BL_EN_OD */
|
||||
GPIO(PCH_DSW_PWROK, PIN(3, 7), GPIO_OUT_LOW) /* EC_PCH_DSW_PWROK */
|
||||
GPIO(PCH_RSMRST_L, PIN(C, 2), GPIO_OUT_LOW) /* EC_PCH_RSMRST_L */
|
||||
GPIO(PCH_RTCRST, PIN(7, 6), GPIO_OUT_LOW) /* EC_PCH_RTCRST */
|
||||
GPIO(EN_TOP_SWAP, PIN(B, 7), GPIO_INPUT) /* GPP_B14_STRAP */
|
||||
GPIO(PCH_PWRBTN_L, PIN(C, 1), GPIO_ODR_HIGH) /* EC_PCH_PWR_BTN_ODL */
|
||||
GPIO(PCH_WAKE_L, PIN(7, 4), GPIO_ODR_HIGH) /* EC_PCH_WAKE_ODL */
|
||||
GPIO(CPU_PROCHOT, PIN(3, 4), GPIO_INPUT) /* PCH_PROCHOT_ODL */
|
||||
|
||||
Reference in New Issue
Block a user