summaryrefslogtreecommitdiff
path: root/zephyr/Kconfig.keyboard
Commit message (Collapse)AuthorAgeFilesLines
* ish: Trim down the release branchstabilize-wristpin-14469.59.B-ishstabilize-voshyr-14637.B-ishstabilize-quickfix-14695.187.B-ishstabilize-quickfix-14695.124.B-ishstabilize-quickfix-14526.91.B-ishstabilize-14695.85.B-ishstabilize-14695.107.B-ishstabilize-14682.B-ishstabilize-14633.B-ishstabilize-14616.B-ishstabilize-14589.B-ishstabilize-14588.98.B-ishstabilize-14588.14.B-ishstabilize-14588.123.B-ishstabilize-14536.B-ishstabilize-14532.B-ishstabilize-14528.B-ishstabilize-14526.89.B-ishstabilize-14526.84.B-ishstabilize-14526.73.B-ishstabilize-14526.67.B-ishstabilize-14526.57.B-ishstabilize-14498.B-ishstabilize-14496.B-ishstabilize-14477.B-ishstabilize-14469.9.B-ishstabilize-14469.8.B-ishstabilize-14469.58.B-ishstabilize-14469.41.B-ishstabilize-14442.B-ishstabilize-14438.B-ishstabilize-14411.B-ishstabilize-14396.B-ishstabilize-14395.B-ishstabilize-14388.62.B-ishstabilize-14388.61.B-ishstabilize-14388.52.B-ishstabilize-14385.B-ishstabilize-14345.B-ishstabilize-14336.B-ishstabilize-14333.B-ishrelease-R99-14469.B-ishrelease-R98-14388.B-ishrelease-R102-14695.B-ishrelease-R101-14588.B-ishrelease-R100-14526.B-ishfirmware-cherry-14454.B-ishfirmware-brya-14505.B-ishfirmware-brya-14505.71.B-ishfactory-kukui-14374.B-ishfactory-guybrush-14600.B-ishfactory-cherry-14455.B-ishfactory-brya-14517.B-ishJack Rosenthal2021-11-051-177/+0
| | | | | | | | | | | | | | | | | | | | | | In the interest of making long-term branch maintenance incur as little technical debt on us as possible, we should not maintain any files on the branch we are not actually using. This has the added effect of making it extremely clear when merging CLs from the main branch when changes have the possibility to affect us. The follow-on CL adds a convenience script to actually pull updates from the main branch and generate a CL for the update. BUG=b:204206272 BRANCH=ish TEST=make BOARD=arcada_ish && make BOARD=drallion_ish Signed-off-by: Jack Rosenthal <jrosenth@chromium.org> Change-Id: I17e4694c38219b5a0823e0a3e55a28d1348f4b18 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3262038 Reviewed-by: Jett Rink <jettrink@chromium.org> Reviewed-by: Tom Hughes <tomhughes@chromium.org>
* zephyr: Add support for CONFIG_KEYBOARD_REFRESH_ROW3Wai-Hong Tam2021-08-181-0/+8
| | | | | | | | | | | | | Add Kconfig option for CONFIG_KEYBOARD_REFRESH_ROW3. BRANCH=None BUG=b:196885613 TEST=zmake testall Change-Id: Idd55e5bc3af4aab95aa9577b49eb3d8eb5e90630 Signed-off-by: Wai-Hong Tam <waihong@google.com> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3102286 Reviewed-by: Keith Short <keithshort@chromium.org>
* keyboard: Use __override for keyboard_scan_configDaisuke Nojiri2021-07-231-10/+0
| | | | | | | | | | | | | | | | | Currently keyboard_scan_config is defined by each board using CONFIG_KEYBOARD_BOARD_CONFIG. This patch makes it defined as __override hence removes CONFIG_KEYBOARD_BOARD_CONFIG. BUG=None BRANCH=None TEST=buildall Change-Id: I53a356741ba4d00e829ca59b74ee6dc704188728 Signed-off-by: Daisuke Nojiri <dnojiri@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3044403 Tested-by: Gwendal Grignou <gwendal@chromium.org> Commit-Queue: Gwendal Grignou <gwendal@chromium.org> Reviewed-by: Gwendal Grignou <gwendal@chromium.org>
* zephyr: add Kconfig for button simulation commandWai-Hong Tam2021-03-301-0/+6
| | | | | | | | | | | | | | | | The Kconfig adds the console command "button", which simulates button press. The buttons are like volume-up, volume-down, and recovery buttons. BRANCH=None BUG=b:182398910 TEST=With the following CLs, which enables the Kconfig, tested the console command. Change-Id: I55aa409f2d98a8794f99d788d3b9588619f316da Signed-off-by: Wai-Hong Tam <waihong@google.com> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2792694 Reviewed-by: Jack Rosenthal <jrosenth@chromium.org>
* zephyr: don't limit the console commands to 8042 protocolWai-Hong Tam2021-03-241-4/+10
| | | | | | | | | | | | | | | | The CrOS EC CONFIG_CMD_KEYBOARD also enables the commands ksstate and kbpress, which are not limited to 8042 protocol. Rename the Kconfig to drop the 8042 term and update the help. BRANCH=None BUG=b:183445211 TEST=Built the image correctly. With the following CLs, tested the keyboard working on Lazor. Change-Id: Ib53446f8264d6f72157f989a1506e1bac9bd9023 Signed-off-by: Wai-Hong Tam <waihong@google.com> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2782366 Reviewed-by: Simon Glass <sjg@chromium.org>
* zephyr: shim the MKBP-protocol keyboard supportWai-Hong Tam2021-03-241-0/+8
| | | | | | | | | | | | | | | | | The MKBP protocol is usually used on ARM-based platforms for keyboard communication. It sends the raw scan code, like (row, col), to the AP and the kernel driver will map the scan code to a key. BRANCH=None BUG=b:183445211 TEST=Built the image correctly. With the following CLs, tested the keyboard working on Lazor. Change-Id: I9453c3e6f6629fc11135e56bdfe909635844932c Signed-off-by: Wai-Hong Tam <waihong@google.com> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2782365 Reviewed-by: Simon Glass <sjg@chromium.org>
* zephyr: add Vivaldi keyboard supportFabio Baltieri2021-02-251-0/+13
| | | | | | | | | | | | | | Add support for building common/keyboard_vivaldi.c. This is enabled by default in ECOS as long as CONFIG_KEYBOARD_PROTOCOL_8042 is enabled too. BRANCH=none BUG=b:177604307 TEST=build and verified that the map is set and HC command is received Change-Id: I881cdfc0a14432a97ced27be757b4c30daf002b8 Signed-off-by: Fabio Baltieri <fabiobaltieri@google.com> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2712967 Reviewed-by: Keith Short <keithshort@chromium.org>
* zephyr: Update KEYBOARD_PWRBTN_ASSERTS_KSIx to be a choiceSimon Glass2021-02-051-4/+19
| | | | | | | | | | | | | | | | | We cannot have both KSI2 and KSI3 selected here, so convert this into a choice. Add a third choice for the case when neither is selected. BUG=b:167405015, b:179482109 BRANCH=none TEST=ninja -C /tmp/z/vol/build-ro/ menuconfig Check the menus look OK Build volteer for zephyr and check that we still have CONFIG_PLATFORM_EC_KEYBOARD_PWRBTN_ASSERTS_KSI2 selected Signed-off-by: Simon Glass <sjg@chromium.org> Change-Id: I0a8de0cf8d60e5d87d3d6d102fcf35c4b8fe06f9 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2678781 Reviewed-by: Keith Short <keithshort@chromium.org>
* zephyr: Support volume buttonsSimon Glass2021-02-051-0/+10
| | | | | | | | | | | | | | Add support for volume buttons in Zephyr. BUG=b:167405015 BRANCH=none TEST=with other CLs, build for volteer and see that the new code is included Signed-off-by: Simon Glass <sjg@chromium.org> Change-Id: Id8bd57c4dc36037fc5e4181291623a6f358b8381 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2674955 Reviewed-by: Keith Short <keithshort@chromium.org>
* zephyr: Support PWRBTN_ASSERTS_KSI2Simon Glass2021-02-051-0/+14
| | | | | | | | | | | | | | Support these two options for Zephyr. BUG=b:167405015 BRANCH=none TEST=build for volteer and see that the new code is included Signed-off-by: Simon Glass <sjg@chromium.org> Change-Id: I6887de388cf9fa8f2146129aad5058bf4889ff4b Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2674952 Reviewed-by: Jack Rosenthal <jrosenth@chromium.org> Reviewed-by: Keith Short <keithshort@chromium.org>
* zephyr: Support the keypadSimon Glass2021-02-051-0/+7
| | | | | | | | | | | | | Add support for a numeric keypad with Zephyr. BUG=b:167405015 BRANCH=none TEST=build for volteer and see that the new code is included Signed-off-by: Simon Glass <sjg@chromium.org> Change-Id: Ib45c320db979567169297ba7bead5707a3aada0a Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2674949 Reviewed-by: Jack Rosenthal <jrosenth@chromium.org>
* zephyr: Support custom keyboard configSimon Glass2021-02-041-0/+10
| | | | | | | | | | | | | Add support for CONFIG_KEYBOARD_BOARD_CONFIG. BUG=b:167405015 BRANCH=none TEST=with next CL, build for volteer and see that the new file is included Signed-off-by: Simon Glass <sjg@chromium.org> Change-Id: I55bfb942404a182824158fc4decefa74adc1ea8d Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2676821 Reviewed-by: Jack Rosenthal <jrosenth@chromium.org>
* zephyr: Add keyboard backlight supportKeith Short2021-02-011-0/+24
| | | | | | | | | | | | | | Add KConfig options for keyboard backlight support. BUG=b:17760430, b:177851031 BRANCH=none TEST=make buildall, zmake testall TEST=Run "kblight" command on Volteer Signed-off-by: Keith Short <keithshort@chromium.org> Change-Id: I7da36a7a685285562152e560f3dbe5da1b1ba04f Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2636483 Reviewed-by: Simon Glass <sjg@chromium.org>
* zephyr: Add help for keyboard protocol select.Keith Short2021-02-011-0/+5
| | | | | | | | | | | | | | Add additional help to the keyboard protocol selection. BUG=b:167405015 BRANCH=none TEST=make buildall TEST=zmake testall Signed-off-by: Keith Short <keithshort@chromium.org> Change-Id: I2c01484c91a76f5e3551da1f3638ec7e5d6796e4 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2657404 Reviewed-by: Simon Glass <sjg@chromium.org>
* zephyr: move keyboard KConfig into separate fileKeith Short2021-02-011-0/+61
Reorganinze KConfig options related to keyboard support into a separate file. BUG=b:167405015 BRANCH=none TEST=make buildall TEST=zmake testall Signed-off-by: Keith Short <keithshort@chromium.org> Change-Id: I6052f9b0c9be85265f0d42ac69f855d9f6854b40 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2657403 Reviewed-by: Simon Glass <sjg@chromium.org> Reviewed-by: Jack Rosenthal <jrosenth@chromium.org>