mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2026-01-08 16:41:55 +00:00
c1ad33b24db07814069c1c8f6ce1806bd3e1e5b4
Enable deep sleep on rk3399 devices and start using SYS_RST_L to track the AP state. We can only release this once the EC has the proper support. It needs to assert SYS_RST_L in S5. If we have an old EC and this change in the Cr50 firmware, Cr50 won't be able to tell when the AP is off. I think this will just cause an interrupt storm on the AP UART and might not go into regular sleep in S5. If the EC change gets released before Cr50, Cr50 won't go to sleep in S5, because SYS_RST_L is a wake on low pin. Cr50 will immediately wake up from the SYS_RST_L pin when it enters sleep. BUG=b:35647982 BRANCH=cr50 TEST=run firmware_Cr50DeepSleepStress on Bob Change-Id: Iaf46f46eb5963e9479bba40457253a6ccc91ad32 Signed-off-by: Mary Ruthven <mruthven@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/699295 Reviewed-by: Randall Spangler <rspangler@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%