mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2025-12-31 02:51:26 +00:00
9936df2b8b1cf697357123756d8eb09a0db09428
This has been useful for me to be able to test lid behavior remotely since it is not available via servo. This also has a minor change to send a task message after sending the power button pulse so the state machine behaves properly. BUG=none TEST=Execute 'lidclose' and 'lidopen' commands via ec uart and see the appropriate events set and wake behavior when the system is off. With a (not yet published) coreboot I am able to handle lid close events to enter suspend. Change-Id: Iec1c68121d42b66305ba5dfd20e81453538a97e2 Signed-off-by: Duncan Laurie <dlaurie@chromium.org>
- 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%