summaryrefslogtreecommitdiff
path: root/board/arcada_ish/board.h
diff options
context:
space:
mode:
authorJett Rink <jettrink@chromium.org>2019-05-06 10:33:11 -0600
committerchrome-bot <chrome-bot@chromium.org>2019-05-28 21:11:21 -0700
commite11d78dcf4ca4ecfe6ceecad0b892fd4993cb67c (patch)
tree72a3ce27d0980e14d901b51f07d11f3e0082215a /board/arcada_ish/board.h
parent325d65d3b08903e7bd3c70d14875cc1dfbf1686d (diff)
downloadchrome-ec-e11d78dcf4ca4ecfe6ceecad0b892fd4993cb67c.tar.gz
arcada_ish: hook up 360 hall sensor to ISR
Ensure that 360-degree-hall sensor is hooked up to the tablet mode ISR, which should in turn ignore any weird lid angle calculations when the hall sensor is active (i.e. lid is at 360 degrees) BRANCH=R75 BUG=b:131785573 TEST=arcada does not have spurious edges on the NB_MODE# signal when the lid is all the way open in 360 degree mode. Cq-Depend: chrome-internal:1329664 Change-Id: I1756bd909e5ecba7caa4565376f98f6d0dad6b06 Signed-off-by: Jett Rink <jettrink@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/1597190 Legacy-Commit-Queue: Commit Bot <commit-bot@chromium.org> Reviewed-by: Jack Rosenthal <jrosenth@chromium.org>
Diffstat (limited to 'board/arcada_ish/board.h')
-rw-r--r--board/arcada_ish/board.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/board/arcada_ish/board.h b/board/arcada_ish/board.h
index 26592923fc..8101180b30 100644
--- a/board/arcada_ish/board.h
+++ b/board/arcada_ish/board.h
@@ -51,6 +51,9 @@
#define CONFIG_LID_ANGLE_SENSOR_LID LID_ACCEL
#define CONFIG_TABLET_MODE
+#define CONFIG_HALL_SENSOR
+#define CONFIG_HALL_SENSOR_CUSTOM
+#define HALL_SENSOR_GPIO_L GPIO_TABLET_MODE_L
/* DMA paging between SRAM and DRAM */
#define CONFIG_DMA_PAGING