summaryrefslogtreecommitdiff
path: root/include/power.h
diff options
context:
space:
mode:
authorAseda Aboagye <aaboagye@google.com>2020-01-29 23:31:37 -0800
committerCommit Bot <commit-bot@chromium.org>2020-02-05 08:28:44 +0000
commit5b9636c37e42afecca1d2577722ccc8e1a6cfd21 (patch)
tree4ee3fd9db938ab32ee7d2c1f79088b427f8ffd54 /include/power.h
parent5d4a91818b08cee77fef812ea5acf9d31e110f27 (diff)
downloadchrome-ec-5b9636c37e42afecca1d2577722ccc8e1a6cfd21.tar.gz
dedede: Change PP3300_A PGOOD update method
We cannot read the ADCs in interrupt context, therefore we are changing the method in which we determine the PP3300_A_PGOOD status. This commit adds a ADC threshold interrupt for the PP3300_A PGOOD signal which updates a variable in SRAM. This way, the chipset task can simply use that variable for the PGOOD status instead of performing an ADC conversion in interrupt context. BUG=b:148169171 BRANCH=None TEST=Build and flash waddledoo, verify that PP3300_A PGOOD is updated correctly. TEST=Verify that DUT does not panic while power sequencing Change-Id: Ia88e0d1d95ea97c41dc4094997c0633ca1027cac Signed-off-by: Aseda Aboagye <aaboagye@google.com> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2030205 Tested-by: Aseda Aboagye <aaboagye@chromium.org> Commit-Queue: Aseda Aboagye <aaboagye@chromium.org> Reviewed-by: Diana Z <dzigterman@chromium.org>
Diffstat (limited to 'include/power.h')
0 files changed, 0 insertions, 0 deletions