mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2026-01-12 10:55:21 +00:00
096dec1adba5928fdff6c0d0b47d51545580a268
This signal should be active low, not active high. In addition, not only can we pull it low but so can other components. If something else asserts it, we need to react. This changes the polarity and sets up the interrupt handler. A future CL will be needed to make the handler do something useful. BUG=chrome-os-partner:52366 BRANCH=none TEST=make buildall; test on Cr50 On the test board, short M0 to ground to trigger the interrupt. Watch the input value with gpioget You can drive the output (and trigger the interrupt) with gpioset SYS_RST_L_OUT 0 gpioset SYS_RST_L_OUT 1 Change-Id: I3556963859601f43f990fc83f26d2cea919383c6 Signed-off-by: Bill Richardson <wfrichar@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/339214 Reviewed-by: Shawn N <shawnn@chromium.org>
For an overview of the Embedded Controller firmware, refer to http://www.chromium.org/chromium-os/2014-firmware-summit For instructions on building from source, refer to http://www.chromium.org/chromium-os/ec-development/getting-started-building-ec-images-quickly
Description
Languages
C
64.7%
Lasso
20.7%
ASL
3.6%
JavaScript
3.2%
C#
2.9%
Other
4.6%