summaryrefslogtreecommitdiff
path: root/board/drawcia
diff options
context:
space:
mode:
authorDiana Z <dzigterman@chromium.org>2020-08-17 11:49:49 -0600
committerCommit Bot <commit-bot@chromium.org>2020-08-21 18:27:22 +0000
commit906dea8f53aeca97488a73f5fcfc4d16106d7ea8 (patch)
tree167bb368837350f1b9aa792625af2a5ea8096ab5 /board/drawcia
parentf832dc1f14ee2086d1903c5e38e927485eb067dc (diff)
downloadchrome-ec-906dea8f53aeca97488a73f5fcfc4d16106d7ea8.tar.gz
Dedede: Move PWM to board level
Move the PWM related defines and arrays into the board level, to allow customization of what PWM channels boards use (if they choose to use the PWM at all). BRANCH=None BUG=None TEST=make -j buildall Signed-off-by: Diana Z <dzigterman@chromium.org> Change-Id: Id417a7be079511c17de9f2e5d03c729467435804 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2358899 Commit-Queue: Aseda Aboagye <aaboagye@chromium.org> Reviewed-by: Aseda Aboagye <aaboagye@chromium.org>
Diffstat (limited to 'board/drawcia')
-rw-r--r--board/drawcia/board.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/board/drawcia/board.h b/board/drawcia/board.h
index 94eb81c6ab..2633df9cb7 100644
--- a/board/drawcia/board.h
+++ b/board/drawcia/board.h
@@ -33,6 +33,9 @@
#define CONFIG_OCPC
#define CONFIG_OCPC_DEF_RBATT_MOHMS 5 /* R_DS(on) 5.3mOhm */
+/* PWM */
+#define CONFIG_PWM
+
/* Sensors */
#define CONFIG_ACCEL_BMA255 /* Lid accel */
#define CONFIG_ACCELGYRO_LSM6DSM /* Base accel */