diff options
author | Kevin K Wong <kevin.k.wong@intel.com> | 2016-05-25 08:13:39 -0700 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2016-05-27 19:47:20 -0700 |
commit | 3026836a594da26ee8dc86b93284e77264f5d133 (patch) | |
tree | 82a298af8f1006d7f1f8da5ea326ecf24a234052 /board/reef | |
parent | 00c1a0993f69bd223bef2c4e76dcb36cbd3c78aa (diff) | |
download | chrome-ec-3026836a594da26ee8dc86b93284e77264f5d133.tar.gz |
apollolake: modify PMIC_EN and RSMRST_N handling
Move power rail and pmic enable control to be handled at
board level due to specific board design.
Modify rsmrst where assertion is pass-through at all time
and de-assertion is only pass-through at power up.
BUG=chrome-os-partner:53666
BRANCH=none
TEST=amenia is able to handle apreset warm/cold, pmic shutdown,
soc reset/shutdown.
Change-Id: I7ff819d88d0e194073bee8f02b1e3fa70ca44ba7
Signed-off-by: Kevin K Wong <kevin.k.wong@intel.com>
Reviewed-on: https://chromium-review.googlesource.com/347370
Commit-Ready: David Hendricks <dhendrix@chromium.org>
Tested-by: Vijay P Hiremath <vijay.p.hiremath@intel.com>
Tested-by: David Hendricks <dhendrix@chromium.org>
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-by: Divya Jyothi <divya.jyothi@intel.com>
Diffstat (limited to 'board/reef')
-rw-r--r-- | board/reef/board.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/board/reef/board.c b/board/reef/board.c index 0b163866f0..c06277dc8a 100644 --- a/board/reef/board.c +++ b/board/reef/board.c @@ -290,6 +290,9 @@ static void chipset_pre_init(void) gpio_set_level(GPIO_EN_PP3300, 1); udelay(1500); /* Double the PG low to high delay for converter. */ + /* Enable PMIC */ + gpio_set_level(GPIO_V5A_EN, 1); + /* FIXME: for debugging */ cprintf(CC_HOOK, "PP3300_PG: %d", gpio_get_level(GPIO_PP3300_PG)); cprintf(CC_HOOK, "PP5000_PG: %d", gpio_get_level(GPIO_PP5000_PG)); |