mb/google/volteer: allow MKBP devices and disable TBMC device
Enable MKBP (Matrix Keyboard Protocol) interface for all volteer family to use for buttons and switches. Disable TBMC (Tablet Mode Switch device), as it is not needed anymore. BUG=b:171365305 TEST=manual test on Volteer: Volume Up/Down and Power buttons, Tablet Mode switch Signed-off-by: FrankChu <frank_chu@pegatron.corp-partner.google.com> Change-Id: I2bb2e895af17fa4280113e57e2b0ca780af8840e Reviewed-on: https://review.coreboot.org/c/coreboot/+/58741 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Boris Mittelberg <bmbm@google.com> Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
This commit is contained in:
parent
49ebce6777
commit
0d7e2a461a
|
@ -56,13 +56,13 @@
|
||||||
/* Enable EC backed ALS device in ACPI */
|
/* Enable EC backed ALS device in ACPI */
|
||||||
#define EC_ENABLE_ALS_DEVICE
|
#define EC_ENABLE_ALS_DEVICE
|
||||||
|
|
||||||
|
/* Enable MKBP for buttons and switches */
|
||||||
|
#define EC_ENABLE_MKBP_DEVICE
|
||||||
|
|
||||||
/* Enable LID switch and provide wake pin for EC */
|
/* Enable LID switch and provide wake pin for EC */
|
||||||
#define EC_ENABLE_LID_SWITCH
|
#define EC_ENABLE_LID_SWITCH
|
||||||
#define EC_ENABLE_WAKE_PIN GPE_EC_WAKE
|
#define EC_ENABLE_WAKE_PIN GPE_EC_WAKE
|
||||||
|
|
||||||
/* Enable Tablet switch */
|
|
||||||
#define EC_ENABLE_TBMC_DEVICE
|
|
||||||
|
|
||||||
#define SIO_EC_MEMMAP_ENABLE /* EC Memory Map Resources */
|
#define SIO_EC_MEMMAP_ENABLE /* EC Memory Map Resources */
|
||||||
#define SIO_EC_HOST_ENABLE /* EC Host Interface Resources */
|
#define SIO_EC_HOST_ENABLE /* EC Host Interface Resources */
|
||||||
#define SIO_EC_ENABLE_PS2K /* Enable PS/2 Keyboard */
|
#define SIO_EC_ENABLE_PS2K /* Enable PS/2 Keyboard */
|
||||||
|
|
Loading…
Reference in New Issue