summaryrefslogtreecommitdiff
path: root/src/mainboard/google/kahlee
diff options
context:
space:
mode:
authorChris Wang <chris.wang@amd.corp-partner.google.com>2019-08-16 18:34:43 +0800
committerMartin Roth <martinroth@google.com>2019-08-21 02:12:19 +0000
commitf0b1c1f9c3fc0f056f27a2f4d9a23ddda585bbb2 (patch)
tree2e7c42fc8d19bb50715fe88951deac71be6bbe00 /src/mainboard/google/kahlee
parent4fcf57b7821bfc1d8f724605a26762d24d678402 (diff)
mb/google/kahlee/treeya: Add EC_ENABLE_TBMC_DEVICE
Enable ACPI TBMC notification on tablet mode change to support convertible treeya devices. BUG=b:135551210 BRANCH=grunt TEST=emerge-grunt coreboot Signed-off-by: Chris Wang <chris.wang@amd.corp-partner.google.com> Change-Id: Id0618c8df66267b88008dc5057892de6b530629f Reviewed-on: https://review.coreboot.org/c/coreboot/+/34899 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Edward Hill <ecgh@chromium.org>
Diffstat (limited to 'src/mainboard/google/kahlee')
-rw-r--r--src/mainboard/google/kahlee/variants/treeya/include/variant/ec.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/mainboard/google/kahlee/variants/treeya/include/variant/ec.h b/src/mainboard/google/kahlee/variants/treeya/include/variant/ec.h
index 96388ae5e0..73e07aef30 100644
--- a/src/mainboard/google/kahlee/variants/treeya/include/variant/ec.h
+++ b/src/mainboard/google/kahlee/variants/treeya/include/variant/ec.h
@@ -1,4 +1,22 @@
+/*
+ * This file is part of the coreboot project.
+ *
+ * Copyright (C) 2019 Google Inc.
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; version 2 of the License.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ */
+
#include <baseboard/ec.h>
/* Enable EC backed Keyboard Backlight in ACPI */
#define EC_ENABLE_KEYBOARD_BACKLIGHT
+
+/* Enable Tablet switch */
+#define EC_ENABLE_TBMC_DEVICE