diff options
author | Wai-Hong Tam <waihong@google.com> | 2018-07-26 17:04:05 -0700 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2018-08-31 05:22:50 -0700 |
commit | 224667711a684241ef24cc3338b112097b10eba4 (patch) | |
tree | 069b19a42898754b77e24bfc852d856c7e7e96d6 /cts | |
parent | 1d4471de578c799d9428f78fe3ce3fee6246daef (diff) | |
download | chrome-ec-224667711a684241ef24cc3338b112097b10eba4.tar.gz |
cheza: Use POWER_GOOD signal instead of AP_RST_L
The AP_RST_L is not a good signal to indicate power good. For an AP
initiated warm reset (the Qualcomm way), AP pulls down PS_HOLD for a
short pulse, and then PMIC pulls down AP_RST_L for another short pulse.
This short pulse confuses EC from a power-lost. We use a confirmation
logic to differentiate this case as a workaround. This CL uses another
signal POWER_GOOD, which is SRC_PP1800_S4A from PMIC, as an indicator.
CQ-DEPEND=CL:1169952
BRANCH=none
BUG=b:78455067
TEST=Checked "power on", "power off", "apshutdown", and "apreset".
Verifed the power-off sequence:
* if the PMIC registers not programmed, it forces off switchcap.
* if the PMIC registers programmed, it does graceful PMIC shutdown.
Change-Id: I847eef5d4202485b70354b3f65ce24cd1ccb7ece
Signed-off-by: Wai-Hong Tam <waihong@google.com>
Reviewed-on: https://chromium-review.googlesource.com/1169953
Reviewed-by: Stephen Boyd <swboyd@chromium.org>
Diffstat (limited to 'cts')
0 files changed, 0 insertions, 0 deletions