mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2026-01-09 09:01:35 +00:00
9a3e056af5840733d6082da67d42b784b205ad57
Note: This will not work on older (0.94 boards). - Use power button (KB_PWR_ON) to drive power sequencing events and disable EC_PWRON. This is because EC_PWRON and KB_PWR_ON shared an external interrupt line. Daisy v2.x will fix this so that both can be enabled. Note: KB_PWR_ON is active low, wihle EC_PWRON is active high. - Relay power button state to PMIC. Also, since we are driving PMIC_PWRON instead of PMIC_ACOK now, so updated the naming. - Add a keyboard power button debounce period to avoid accidentally powering the system back on after keyboard power-off. Signed-off-by: David Hendricks <dhendrix@chromium.org> BUG=None TEST=tested on daisy (frh@ verified behavior using a scope) Change-Id: I5338eebe42c9b43a07af371a450db23276b2a574
- 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%