Matt DeVillier has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/62447 )
Change subject: mb/google/glados: Restore ChromeEC tablet mode switch for caroline, cave ......................................................................
mb/google/glados: Restore ChromeEC tablet mode switch for caroline, cave
Commit 017b5c45 [ec/google/chromeec/acpi: Rename EC_ENABLE_TABLET_EVENT config] broke tablet mode on google/caroline and cave in mainline Linux kernels by changing the inclusion of the ChromeEC tablet mode ACPI handler. Fix this by add it back (using the updated name guarding the inclusion of the tmbc ACPI).
Test: build/boot google/cave under Linux 5.16, observe tablet mode handled correctly.
Change-Id: Ie0ae5b6a61f104b5e973383344d289cc2e2a7b8d Signed-off-by: Matt DeVillier matt.devillier@gmail.com --- M src/mainboard/google/glados/variants/caroline/include/variant/ec.h M src/mainboard/google/glados/variants/cave/include/variant/ec.h 2 files changed, 6 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/47/62447/1
diff --git a/src/mainboard/google/glados/variants/caroline/include/variant/ec.h b/src/mainboard/google/glados/variants/caroline/include/variant/ec.h index d0001b4..a03b43e 100644 --- a/src/mainboard/google/glados/variants/caroline/include/variant/ec.h +++ b/src/mainboard/google/glados/variants/caroline/include/variant/ec.h @@ -2,3 +2,6 @@
/* EC ENABLE MULTIPLE DPTF PROFILES */ #define EC_ENABLE_MULTIPLE_DPTF_PROFILES + +/* Enable Tablet switch */ +#define EC_ENABLE_TBMC_DEVICE diff --git a/src/mainboard/google/glados/variants/cave/include/variant/ec.h b/src/mainboard/google/glados/variants/cave/include/variant/ec.h index 8f6aa5e..293cb69 100644 --- a/src/mainboard/google/glados/variants/cave/include/variant/ec.h +++ b/src/mainboard/google/glados/variants/cave/include/variant/ec.h @@ -8,3 +8,6 @@
/* EC ENABLE MULTIPLE DPTF PROFILES */ #define EC_ENABLE_MULTIPLE_DPTF_PROFILES + +/* Enable Tablet switch */ +#define EC_ENABLE_TBMC_DEVICE