Files
OpenCellular/include
Wai-Hong Tam f7aec0ceb5 cheza: Add SDM845 power sequence for rev-0 board
This is the power sequence for rev-0 board. Confirmed the behavior of
reprogramming the PMIC registers to enable the instant reset and
shutdown.

BRANCH=none
BUG=b:74395451
TEST=make buildall -j
TEST=Tried the following cases:
* Cold reset:
  $ dut-control cold_reset:on sleep:0.2 cold_reset:off
  Result: G3 -> S0
* Long power press to shutdown:
  $ dut-control pwr_button:press sleep:8.2 pwr_button:release
  Result: S0 -> S5 -> G3
* Long power press to power-on but then shutdown:
  $ dut-control pwr_button:press sleep:8.2 pwr_button:release
  Result: G3 -> S0 -> S5 -> G3
* Short power press to power-on:
  $ dut-control pwr_button:press sleep:0.2 pwr_button:release
  Result: G3 -> S0
* Console command: apreset
  Result: S0 -> S5 -> S0
* Console command: power off
  Result: S0 -> S5 -> G3
* Console command: power on
  Result: G3 -> S0
* Console command: apshutdown
  Result: S0 -> S5 -> G3
* Lid open to power-on:
  $ dut-control lid_open:no sleep:0.2 lid_open:yes
  Result: G3 -> S0

Change-Id: Ia9d44b1dccac66b5b580c08c6c1697ef5989b923
Signed-off-by: Wai-Hong Tam <waihong@google.com>
Signed-off-by: Alexandru M Stan <amstan@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/969702
2018-05-04 03:02:16 -07:00
..
2017-02-17 04:09:37 -08:00
2018-03-09 20:05:06 -08:00
2016-05-26 16:17:26 -07:00
2013-12-17 21:27:53 +00:00
2017-11-17 20:18:38 -08:00
2018-03-19 17:04:53 -07:00
2017-12-18 20:32:58 -08:00
2015-07-27 22:19:16 +00:00
2014-02-08 00:14:48 +00:00
2018-04-04 18:52:15 -07:00
2013-10-25 20:12:49 +00:00
2015-06-10 18:24:05 +00:00
2015-05-27 03:58:16 +00:00
2017-12-28 12:35:08 -08:00
2015-05-27 03:58:16 +00:00
2013-06-26 09:08:23 -07:00
2018-02-05 23:05:39 -08:00
2018-03-26 17:03:27 -07:00
2011-12-07 19:10:02 +00:00
2016-11-08 17:11:28 -08:00
2017-06-02 10:38:57 -07:00
2012-10-25 14:12:11 -07:00
2017-07-28 17:45:13 -07:00
2018-03-20 19:30:06 -07:00
2015-06-18 19:07:00 +00:00
2017-10-10 22:13:43 -07:00
2015-06-18 19:07:00 +00:00
2018-02-09 05:24:46 -08:00
2016-11-15 17:41:53 -08:00
2018-01-08 17:22:48 -08:00
2018-04-25 22:59:58 -07:00
2016-11-08 17:11:28 -08:00
2015-09-16 14:49:46 -07:00
2017-02-23 11:36:21 -08:00
2017-06-29 10:37:40 -07:00
2017-06-29 10:37:40 -07:00
2018-03-26 23:33:33 -07:00
2015-06-18 19:07:00 +00:00
2018-02-24 01:22:46 -08:00
2017-09-22 10:18:50 -07:00
2018-03-20 19:30:17 -07:00
2015-01-20 20:56:43 +00:00