From 4ee037e8f0b305a164cddb9b9e8dc887b1211f86 Mon Sep 17 00:00:00 2001 From: Gwendal Grignou Date: Mon, 17 Oct 2022 12:33:35 -0700 Subject: 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 Reviewed-on: https://review.coreboot.org/c/coreboot/+/68493 Reviewed-by: Raul Rangel Tested-by: build bot (Jenkins) --- .../google/brya/variants/baseboard/brya/include/baseboard/ec.h | 2 -- .../google/brya/variants/baseboard/nissa/include/baseboard/ec.h | 3 --- .../google/brya/variants/baseboard/skolas/include/baseboard/ec.h | 2 -- 3 files changed, 7 deletions(-) (limited to 'src/mainboard/google/brya') 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 */ -- cgit v1.2.3