summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorEdward Hill <ecgh@chromium.org>2019-03-13 15:31:15 -0600
committerMartin Roth <martinroth@google.com>2019-03-14 22:13:11 +0000
commit301d47fdd6547125f8e0418f2c05b3b586bd03cf (patch)
treee88d54b76b9b50dc0487dabec47179a6b77c2014 /src
parentffea237038f05823796570554f6a84c1f898d900 (diff)
downloadcoreboot-301d47fdd6547125f8e0418f2c05b3b586bd03cf.tar.xz
mb/google/kahlee/aleena: Add EC_ENABLE_TBMC_DEVICE
Enable ACPI TBMC notification on tablet mode change to support convertible Aleena devices. BUG=b:124132058 BRANCH=grunt TEST=evtest shows tablet mode events Change-Id: Iaf8ef031d4660f0791b5f664880437e6dfa58dc8 Signed-off-by: Edward Hill <ecgh@chromium.org> Reviewed-on: https://review.coreboot.org/c/coreboot/+/31893 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Furquan Shaikh <furquan@google.com> Reviewed-by: Martin Roth <martinroth@google.com>
Diffstat (limited to 'src')
-rw-r--r--src/mainboard/google/kahlee/variants/aleena/include/variant/ec.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mainboard/google/kahlee/variants/aleena/include/variant/ec.h b/src/mainboard/google/kahlee/variants/aleena/include/variant/ec.h
index 12c6de6255..0aa2e213bb 100644
--- a/src/mainboard/google/kahlee/variants/aleena/include/variant/ec.h
+++ b/src/mainboard/google/kahlee/variants/aleena/include/variant/ec.h
@@ -16,6 +16,9 @@
/* Enable EC backed Keyboard Backlight in ACPI */
#define EC_ENABLE_KEYBOARD_BACKLIGHT
+/* Enable Tablet switch */
+#define EC_ENABLE_TBMC_DEVICE
+
/*
* Enable EC sync interrupt via GPIO controller, EC_SYNC_IRQ is defined in
* variant/gpio.h