summaryrefslogtreecommitdiff
path: root/zephyr/shim/include/board.h
diff options
context:
space:
mode:
authorKeith Short <keithshort@chromium.org>2021-01-13 15:38:28 -0700
committerCommit Bot <commit-bot@chromium.org>2021-02-01 19:26:43 +0000
commitea2d207cae0dc8f46247d2fb70b5f78053ee005a (patch)
tree574ccea4b4b53f3aaf9c388ef871552e87b24b37 /zephyr/shim/include/board.h
parentae55d5c3cbc70dac5ac52cf79fbedb92958398f8 (diff)
downloadchrome-ec-ea2d207cae0dc8f46247d2fb70b5f78053ee005a.tar.gz
zephyr: Add PWM LED support
Enable CONFIG_LED_COMMON and CONFIG_LED_PWM options for Zephyr BUG=b:174851299 BRANCH=none TEST=make buildall TEST=zmake testall TEST=Verify power and charging LEDs on Volteer. Signed-off-by: Keith Short <keithshort@chromium.org> Change-Id: I90d5272921a254a1651baffbff00864f3ff02b84 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2636482 Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'zephyr/shim/include/board.h')
-rw-r--r--zephyr/shim/include/board.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/zephyr/shim/include/board.h b/zephyr/shim/include/board.h
index 87ec7ed33a..4c94ac0a0e 100644
--- a/zephyr/shim/include/board.h
+++ b/zephyr/shim/include/board.h
@@ -21,6 +21,10 @@
#include "i2c_map.h"
#endif
+#ifdef CONFIG_PWM
+#include "pwm_map.h"
+#endif
+
/* Include board specific sensor configuration if motionsense is enabled */
#ifdef CONFIG_MOTIONSENSE
#include "sensor_map.h"