summaryrefslogtreecommitdiff
path: root/board/poppy/base_detect_lux.c
diff options
context:
space:
mode:
authorNicolas Boichat <drinkcat@chromium.org>2017-09-28 16:27:38 +0800
committerchrome-bot <chrome-bot@chromium.org>2018-01-10 12:58:55 -0800
commit9a89170ed4878df8a04cb7d82ea3afc102179107 (patch)
treef6587e82b02fa5e75cd07e682cb1e65dcc6db93a /board/poppy/base_detect_lux.c
parentc20884cf4e1d8e059952e1e313a5a949e96be91b (diff)
downloadchrome-ec-9a89170ed4878df8a04cb7d82ea3afc102179107.tar.gz
lux: Add lux board
lux is a dual-battery poppy derivative. BRANCH=none BUG=b:67029560 TEST=make BOARD=lux -j Change-Id: I01fdb1e5e2b4803cdf7f03f9e6ee73603f84a7b8 Signed-off-by: Nicolas Boichat <drinkcat@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/845542 Reviewed-by: Vincent Palatin <vpalatin@chromium.org>
Diffstat (limited to 'board/poppy/base_detect_lux.c')
-rw-r--r--board/poppy/base_detect_lux.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/board/poppy/base_detect_lux.c b/board/poppy/base_detect_lux.c
new file mode 100644
index 0000000000..49192f368c
--- /dev/null
+++ b/board/poppy/base_detect_lux.c
@@ -0,0 +1,13 @@
+/* Copyright 2018 The Chromium OS Authors. All rights reserved.
+ * Use of this source code is governed by a BSD-style license that can be
+ * found in the LICENSE file.
+ */
+
+/* Lux base detection code */
+
+#include "gpio.h"
+
+void base_detect_interrupt(enum gpio_signal signal)
+{
+ /* TODO(b:67029560): Implement base detection for lux. */
+}