summaryrefslogtreecommitdiff
path: root/driver/led/oz554.h
diff options
context:
space:
mode:
authorDaisuke Nojiri <dnojiri@chromium.org>2018-12-06 09:29:10 -0800
committerchrome-bot <chrome-bot@chromium.org>2018-12-13 19:28:01 -0800
commit145f3271f7459f7a2fec6ba941f14c1ae00c14a6 (patch)
treec306cf327350892f1d8610858e55fc7c761f88c2 /driver/led/oz554.h
parent4bf4a6ab644b7217dffa0b31bb572db7e8409411 (diff)
downloadchrome-ec-145f3271f7459f7a2fec6ba941f14c1ae00c14a6.tar.gz
oz554: Move oz554 driver code to common directory
This patch moves oz554 LED driver code from Karma. Signed-off-by: Daisuke Nojiri <dnojiri@chromium.org> BUG=none BRANCH=none TEST=buildall Change-Id: Ia2808563b9c113e5ea3376f9327dff2578e20906 Reviewed-on: https://chromium-review.googlesource.com/1366015 Commit-Ready: Daisuke Nojiri <dnojiri@chromium.org> Tested-by: Daisuke Nojiri <dnojiri@chromium.org> Reviewed-by: Jett Rink <jettrink@chromium.org>
Diffstat (limited to 'driver/led/oz554.h')
-rw-r--r--driver/led/oz554.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/driver/led/oz554.h b/driver/led/oz554.h
new file mode 100644
index 0000000000..d9b5400111
--- /dev/null
+++ b/driver/led/oz554.h
@@ -0,0 +1,15 @@
+/* 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.
+ *
+ * O2 Micro OZ554 LED driver.
+ */
+
+#ifndef __CROS_EC_OZ554_H
+#define __CROS_EC_OZ554_H
+
+#include "gpio.h"
+
+void backlight_enable_interrupt(enum gpio_signal signal);
+
+#endif