summaryrefslogtreecommitdiff
path: root/board/soraka
diff options
context:
space:
mode:
authorNicolas Boichat <drinkcat@google.com>2017-05-08 15:46:57 +0800
committerchrome-bot <chrome-bot@chromium.org>2017-05-18 06:03:52 -0700
commit0b077ad67173f11f8816b01213bc09f622326799 (patch)
treec788524e881233bb1c2e4691a56cea8f9b0db1bc /board/soraka
parent6959f42da69f0a7e1c496e14cca48893c3d2fd89 (diff)
downloadchrome-ec-0b077ad67173f11f8816b01213bc09f622326799.tar.gz
poppy/soraka: Basic LED support
This applies the simple rule: Charging port led is on, other is off. When charging, LED is amber, otherwise it's white. Open questions: - Do we want blinking on low battery? On which side(s)? In which AP states? - No blinking in S3? That's ok? - Need to add led blinking support for special debug mode - Recovery mode blinking does not work as LED is powered from a rail that is not on when AP is in S5. BRANCH=none BUG=b:37970194 TEST=Charge from one side, led is first amber, then white when battery is full. Switch side, led behaves the same way. Change-Id: I0531d72cd621148c0d0cce57a32b7310792d9936 Reviewed-on: https://chromium-review.googlesource.com/497372 Commit-Ready: Nicolas Boichat <drinkcat@chromium.org> Tested-by: Nicolas Boichat <drinkcat@chromium.org> Reviewed-by: Vincent Palatin <vpalatin@chromium.org>
Diffstat (limited to 'board/soraka')
l---------board/soraka/led.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/board/soraka/led.c b/board/soraka/led.c
new file mode 120000
index 0000000000..5e7dfa71bf
--- /dev/null
+++ b/board/soraka/led.c
@@ -0,0 +1 @@
+../poppy/led.c \ No newline at end of file