summaryrefslogtreecommitdiff
path: root/zephyr/Kconfig.motionsense
Commit message (Collapse)AuthorAgeFilesLines
* zephyr: Add Tablet Mode Switch configDawid Niedzwiecki2021-05-181-0/+7
| | | | | | | | | | | | | | | Add the Tablet Mode Switch config for Zephyr. It is used by some boards to indicate the Tablet Mode state via MKBP protocol. BUG=b:188147017 BRANCH=none TEST=zmake testall Signed-off-by: Dawid Niedzwiecki <dn@semihalf.com> Change-Id: I7cba3808783679921af9041497daea4df736e202 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2897238 Reviewed-by: Keith Short <keithshort@chromium.org> Commit-Queue: Keith Short <keithshort@chromium.org>
* zephyr: fix Kconfig name for console commandsKeith Short2021-03-121-5/+5
| | | | | | | | | | | | | | | Cleanup Kconfig options to match the convention of starting with CONFIG_PLATFORM_EC_CONSOLE_CMD_*. BUG=b:181794644 BRANCH=none TEST=zmake testall Signed-off-by: Keith Short <keithshort@chromium.org> Change-Id: Ibed3d0371483b26c17f8f8c05c088694b6f3728d Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2756981 Reviewed-by: Simon Glass <sjg@chromium.org> Commit-Queue: Simon Glass <sjg@chromium.org>
* zephyr: add Kconfig for accel_spoof commandKeith Short2021-03-101-0/+19
| | | | | | | | | | | | | | | | Add CONFIG_PLATFORM_EC_CMD_ACCEL_SPOOF option to enable the the accel_spoof console command. BUG=b:173508126 BRANCH=none TEST=make buildall, zmake testall TEST=On Volteer, enable accel_spoof and verify on the console. Signed-off-by: Keith Short <keithshort@chromium.org> Change-Id: I56c4eaec292f9acf030c7e313517493c8e664c35 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2737537 Commit-Queue: Jack Rosenthal <jrosenth@chromium.org> Reviewed-by: Jack Rosenthal <jrosenth@chromium.org>
* Zephyr: Moved CMD_ACCELS and CMD_ACCEL_INFO to kconfigShine Liu2021-02-101-0/+26
| | | | | | | | | | | | | | Moved PLATFORM_EC_CMD_ACCELS and PLATFORM_EC_CMD_ACCEL_INFO to kconfig BUG=b:173507858 BRANCH=none TEST=make buildall -j8 build volteer on zephyr Signed-off-by: Shine Liu <shine.liu@intel.corp-partner.google.com> Change-Id: I303e22e507dd648e69a668fa26c2776fb4286c3d Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2680006 Reviewed-by: Simon Glass <sjg@chromium.org>
* Zephyr: Add LID_ANGLE_UPDATE supportHyungwoo Yang2021-01-291-4/+16
| | | | | | | | | | | | | | | | Add Lig Angle Update supports which is used to manage peripheral devices based on the measured lid angle. BUG=b:173507858 BRANCH=none TEST=make buildall -j8 build volteer on zephyr Change-Id: I02a467293dec459a8c8ae330059688059b2336ac Signed-off-by: Hyungwoo Yang <hyungwoo.yang@intel.corp-partner.google.com> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2657436 Reviewed-by: Jack Rosenthal <jrosenth@chromium.org> Reviewed-by: Keith Short <keithshort@chromium.org>
* zephyr: add bmi260, bma2x2,and tcs3400 supportHyungwoo Yang2021-01-221-0/+2
| | | | | | | | | | | | | | Add BMI260, BMA2x2, and TCS3400 support to zephyr. BUG=b:173508071,b:173508128,b:173507878 BRANCH=none TEST=make buildall -j8 build volteer on zephyr Signed-off-by: Hyungwoo Yang <hyungwoo.yang@intel.corp-partner.google.com> Change-Id: Ibc22ed08b4f6db6cf70e3a62c3d16ef750e69de2 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2639733 Reviewed-by: Simon Glass <sjg@chromium.org>
* zephyr: add motion sense supportHyungwoo Yang2021-01-221-0/+124
Add support for motion sense in zephyr. This change adds basic functions for motion sense task to do meaningful work. sensor_map.h included by board.h will be used to get board specific sensor configuration. BUG=b:173507858 BRANCH=none TEST=make buildall -j8 build volteer on zephyr Signed-off-by: Hyungwoo Yang <hyungwoo.yang@intel.corp-partner.google.com> Change-Id: I906316d2e97428cf46b9a15071666c8e3b039b18 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2638909 Reviewed-by: Jack Rosenthal <jrosenth@chromium.org> Commit-Queue: Jack Rosenthal <jrosenth@chromium.org> Tested-by: Jack Rosenthal <jrosenth@chromium.org>