mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2025-12-29 18:11:05 +00:00
The VCC_PWRGD pin is used as an indication of VCC2 state and controls the internal VCC_PWRGD signal. On Glower, the pin is floating so we can't use it as is. Instead, configure the pin as a GPIO so that the internal VCC_PWRGD is gated high. Without this, nSIO_RESET would be kept asserted and most LPC-related peripheral won't work. BRANCH=None BUG=chrome-os-partner:35308 TEST=Without this, the interrupt status of LRESET# cannot be cleared. After applying this patch, LRESET# interrupt can be cleared properly. Change-Id: I6e250b8dff5d38e61ee84500da8236db35395a81 Signed-off-by: Vic Yang <victoryang@google.com> Reviewed-on: https://chromium-review.googlesource.com/242130 Tested-by: Vic Yang <victoryang@chromium.org> Reviewed-by: Randall Spangler <rspangler@chromium.org> Commit-Queue: Vic Yang <victoryang@chromium.org>