mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2025-12-30 02:20:48 +00:00
ecfa69663813ec41aa79ed01c4af2f36723fe194
Lux base detection is a little trickier than previous bases, as the detection levels switch around when GPIO_EC_COMM_PD gets enabled: - When disconnected, low levels (~550mV) mean base got connected, and high levels (~3300mV) mean base is still disconnected. - When connected, low levels (~43mV) mean base got disconnected, and high levels (~2346mV) mean base is still connected. On reset, when base_status is unknown, we enable GPIO_EC_COMM_PD, to be able to differentiate between connected and disconnected. BRANCH=none BUG=b:67029560 TEST=Connect lux/wand, check that base gets detected correctly. TEST=Type reboot in EC console, base gets detected as well. Change-Id: I742def8e378a93c08e2dcc155b06cbca814e7fd8 Signed-off-by: Nicolas Boichat <drinkcat@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/845543 Commit-Ready: ChromeOS CL Exonerator Bot <chromiumos-cl-exonerator@appspot.gserviceaccount.com> Reviewed-by: Vincent Palatin <vpalatin@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%