Files
OpenCellular/common
Randall Spangler 6ecda4b0f1 pit: pulse AP_RESET_L when resetting EC or forcing AP shutdown
If the AP is suspended, it consumes little enough power that just
shutting its rails off doesn't cause it to reset to a known state.
This caused a problem where suspending the AP then rebooting the EC
would wedge the system; the EC would think the AP was on (since
XPSHOLD was asserted), but wouldn't be able to figure out how to turn
it back off.  Silego reset wouldn't help, because that again just
reset the EC.  Even setting PMIC_RESET to brown out the system
wouldn't drop power for long enough.

Simply pulsing AP_RESET_L low for 1 ms at EC boot (when not sysjump)
or AP force-shutdown forces the AP into a good state.

BUG=chrome-os-partner:22233
BRANCH=pit
TEST=from root shell, 'powerd_dbus_suspend'
     from ec console 'reboot' - or just power+refresh
     system should power on normally

Change-Id: I65f1239b5f6766f1c093c3064bce323df4acaf7d
Signed-off-by: Randall Spangler <rspangler@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/167355
Reviewed-by: Doug Anderson <dianders@chromium.org>
Commit-Queue: Doug Anderson <dianders@chromium.org>
2013-08-29 22:52:56 +00:00
..
2013-08-08 20:29:17 -07:00
2013-07-10 11:16:43 -07:00
2013-08-07 12:43:48 -07:00
2013-07-22 15:28:58 -07:00
2013-08-27 23:20:33 +00:00
2013-05-07 09:09:50 -07:00
2013-03-29 15:39:32 -07:00
2013-07-10 11:16:43 -07:00
2012-10-26 09:49:38 -07:00
2012-10-25 14:12:10 -07:00
2013-08-27 23:20:33 +00:00
2013-06-10 01:48:44 -07:00
2012-10-25 17:03:44 -07:00