summaryrefslogtreecommitdiff
path: root/src/mainboard/google/brya
diff options
context:
space:
mode:
authorGwendal Grignou <gwendal@chromium.org>2022-10-17 12:33:35 -0700
committerNick Vaccaro <nvaccaro@google.com>2022-10-18 16:08:10 +0000
commit4ee037e8f0b305a164cddb9b9e8dc887b1211f86 (patch)
treedd90ad4def3049683e905d29ff0c59cc87a44792 /src/mainboard/google/brya
parent630fb548869c507e6f02ad2cfdaa64ea427becc9 (diff)
mainboard/google: Remove ACPI ALS device
Remove the ACPI ALS device from the EC configuration for newer devices, because some do not have light sensors, and those who do have their ALS presented through the new EC sensor interface already. Inspired from commit ("f13e2501525f ("UPSTREAM: mainboard/google/eve: Remove ACPI ALS device") BUG=b:253967865 BRANCH=none TEST=Boot a device and ensure that 'acpi-als' device is not present in /sys/bus/iio/devices. Change-Id: Ibcfa9e8c5a4679d557150998fd255789d3f8a272 Signed-off-by: Gwendal Grignou <gwendal@chromium.org> Reviewed-on: https://review.coreboot.org/c/coreboot/+/68493 Reviewed-by: Raul Rangel <rrangel@chromium.org> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/mainboard/google/brya')
-rw-r--r--src/mainboard/google/brya/variants/baseboard/brya/include/baseboard/ec.h2
-rw-r--r--src/mainboard/google/brya/variants/baseboard/nissa/include/baseboard/ec.h3
-rw-r--r--src/mainboard/google/brya/variants/baseboard/skolas/include/baseboard/ec.h2
3 files changed, 0 insertions, 7 deletions
diff --git a/src/mainboard/google/brya/variants/baseboard/brya/include/baseboard/ec.h b/src/mainboard/google/brya/variants/baseboard/brya/include/baseboard/ec.h
index 3c7fde5f54..61792e19f4 100644
--- a/src/mainboard/google/brya/variants/baseboard/brya/include/baseboard/ec.h
+++ b/src/mainboard/google/brya/variants/baseboard/brya/include/baseboard/ec.h
@@ -56,8 +56,6 @@
/*
* ACPI related definitions for ASL code.
*/
-/* Enable EC backed ALS device in ACPI */
-#define EC_ENABLE_ALS_DEVICE
/* Enable Keyboard Backlight */
#define EC_ENABLE_KEYBOARD_BACKLIGHT
/* Enable MKBP for buttons and switches */
diff --git a/src/mainboard/google/brya/variants/baseboard/nissa/include/baseboard/ec.h b/src/mainboard/google/brya/variants/baseboard/nissa/include/baseboard/ec.h
index fa5af03754..094d0c8929 100644
--- a/src/mainboard/google/brya/variants/baseboard/nissa/include/baseboard/ec.h
+++ b/src/mainboard/google/brya/variants/baseboard/nissa/include/baseboard/ec.h
@@ -62,9 +62,6 @@
/*
* ACPI related definitions for ASL code.
*/
-/* Enable EC backed ALS device in ACPI */
-#define EC_ENABLE_ALS_DEVICE
-
/* Enable Keyboard Backlight */
#define EC_ENABLE_KEYBOARD_BACKLIGHT
diff --git a/src/mainboard/google/brya/variants/baseboard/skolas/include/baseboard/ec.h b/src/mainboard/google/brya/variants/baseboard/skolas/include/baseboard/ec.h
index 3c7fde5f54..61792e19f4 100644
--- a/src/mainboard/google/brya/variants/baseboard/skolas/include/baseboard/ec.h
+++ b/src/mainboard/google/brya/variants/baseboard/skolas/include/baseboard/ec.h
@@ -56,8 +56,6 @@
/*
* ACPI related definitions for ASL code.
*/
-/* Enable EC backed ALS device in ACPI */
-#define EC_ENABLE_ALS_DEVICE
/* Enable Keyboard Backlight */
#define EC_ENABLE_KEYBOARD_BACKLIGHT
/* Enable MKBP for buttons and switches */