| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
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>
|