Files
OpenCellular/common
Rong Chang 5458d7aa67 Check TPSCHROME VACG when power button is pressed
The AC status GPIO also indicates power button. When power button is
pressed, EC should return VACG in pmu_get_ac() funtion. If this function
is called in interrupt context with power button pressed, return 1.

Charging task will play nicely in charging mode without real AC. But in
discharging mode, it will shutdown application processor if battery
remaining capacity is too low.

Signed-off-by: Rong Chang <rongchang@chromium.org>
BRANCH=snow
BUG=chrome-os-partner:12738
TEST=manual
  With AC plugged, press and hold power button.
  Run uart console command "pmu" and check output, "ac gpio" should be 1.

Change-Id: I26d1a5a7a4ed2ff26a35e965a3ca2307a9c231e9
Reviewed-on: https://gerrit.chromium.org/gerrit/31112
Reviewed-by: Vic Yang <victoryang@chromium.org>
Commit-Ready: Rong Chang <rongchang@chromium.org>
Tested-by: Rong Chang <rongchang@chromium.org>
2012-08-22 23:40:20 -07:00
..
2012-08-06 00:05:51 -07:00
2012-08-07 19:06:33 -07:00
2012-07-10 14:56:05 -07:00
2012-07-17 13:11:44 -07:00
2012-07-17 13:11:44 -07:00
2012-08-09 19:18:20 -07:00
2012-08-09 14:38:16 -07:00
2012-06-27 00:55:04 -07:00
2012-06-25 07:15:50 -07:00
2012-05-25 13:34:06 -07:00
2012-07-30 13:41:33 -07:00
2012-08-09 17:40:37 -07:00
2012-08-07 19:06:43 -07:00
2012-05-25 13:34:06 -07:00
2012-07-23 23:30:33 -07:00
2012-08-06 12:06:43 -07:00
2012-08-13 14:22:23 -07:00