mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2026-01-02 05:05:09 +00:00
5774ebbd78ea78f04cc89e57e1d56f45c990af0b
This change adds battery operating temperature check. Host and EC will be turned off when overtemp. EC can be waked up by predefined external signals like key press or AC_PRESENT gpio. For safty reason, this change does not check battery temperature after EC deep sleep. Signed-off-by: Rong Chang <rongchang@chromium.org> BUG=chrome-os-partner:8451,9108 TEST=none Mock battery_temperature() fucntion to test. Change-Id: I3203515b3df86192f690f9b98901020209ce49b3
- EC Lib
This wraps Blizzard driverlib and implements the EC chip interface defined
by Google. See below diagram for architecture.
+--------------------+
| Host BIOS/OS |
+--------------------+
---- host interface ----
+--------------------+
| Google EC features |
+--------------------+
---- chip interface ---- The interface is defined in
src/platform/ec/chip_interface/*.
+--------------------+ But the real implementation is in EC Lib.
| EC Lib |
+--------------------+
| Blizzard low level |
| driver, the |
| driverlib. |
+--------------------+
Description
Languages
C
64.7%
Lasso
20.7%
ASL
3.6%
JavaScript
3.2%
C#
2.9%
Other
4.6%