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 ("f13e250152 ("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>
This commit is contained in:
parent
630fb54886
commit
4ee037e8f0
12 changed files with 0 additions and 34 deletions
|
|
@ -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 */
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
||||
|
|
|
|||
|
|
@ -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 */
|
||||
|
|
|
|||
|
|
@ -63,9 +63,6 @@
|
|||
* ACPI related definitions for ASL code.
|
||||
*/
|
||||
|
||||
/* Enable EC backed ALS device in ACPI */
|
||||
#define EC_ENABLE_ALS_DEVICE
|
||||
|
||||
/* Enable MKBP for buttons and switches */
|
||||
#define EC_ENABLE_MKBP_DEVICE
|
||||
|
||||
|
|
|
|||
|
|
@ -42,9 +42,6 @@
|
|||
* ACPI related definitions for ASL code.
|
||||
*/
|
||||
|
||||
/* Enable EC backed ALS device in ACPI */
|
||||
#define EC_ENABLE_ALS_DEVICE
|
||||
|
||||
/* Provide wake pin for EC */
|
||||
#define EC_ENABLE_WAKE_PIN GPE_EC_WAKE
|
||||
|
||||
|
|
|
|||
|
|
@ -53,9 +53,6 @@
|
|||
* ACPI related definitions for ASL code.
|
||||
*/
|
||||
|
||||
/* Enable EC backed ALS device in ACPI */
|
||||
#define EC_ENABLE_ALS_DEVICE
|
||||
|
||||
/* Enable EC backed PD MCU device in ACPI */
|
||||
#define EC_ENABLE_PD_MCU_DEVICE
|
||||
|
||||
|
|
|
|||
|
|
@ -53,9 +53,6 @@
|
|||
* ACPI related definitions for ASL code.
|
||||
*/
|
||||
|
||||
/* Enable EC backed ALS device in ACPI */
|
||||
#define EC_ENABLE_ALS_DEVICE
|
||||
|
||||
/* Enable EC backed PD MCU device in ACPI */
|
||||
#define EC_ENABLE_PD_MCU_DEVICE
|
||||
|
||||
|
|
|
|||
|
|
@ -5,7 +5,4 @@
|
|||
|
||||
#include <puff/ec.h>
|
||||
|
||||
/* Enable EC backed ALS device in ACPI */
|
||||
#define EC_ENABLE_ALS_DEVICE
|
||||
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -48,9 +48,6 @@
|
|||
* ACPI related definitions for ASL code.
|
||||
*/
|
||||
|
||||
/* Enable EC backed ALS device in ACPI */
|
||||
#define EC_ENABLE_ALS_DEVICE
|
||||
|
||||
/* Enable EC backed PD MCU device in ACPI */
|
||||
#define EC_ENABLE_PD_MCU_DEVICE
|
||||
|
||||
|
|
|
|||
|
|
@ -47,9 +47,6 @@
|
|||
* ACPI related definitions for ASL code.
|
||||
*/
|
||||
|
||||
/* Enable EC backed ALS device in ACPI */
|
||||
#define EC_ENABLE_ALS_DEVICE
|
||||
|
||||
/* Enable EC backed Keyboard Backlight in ACPI */
|
||||
#define EC_ENABLE_KEYBOARD_BACKLIGHT
|
||||
|
||||
|
|
|
|||
|
|
@ -53,9 +53,6 @@
|
|||
* ACPI related definitions for ASL code.
|
||||
*/
|
||||
|
||||
/* Enable EC backed ALS device in ACPI */
|
||||
#define EC_ENABLE_ALS_DEVICE
|
||||
|
||||
/* Enable MKBP for buttons and switches */
|
||||
#define EC_ENABLE_MKBP_DEVICE
|
||||
|
||||
|
|
|
|||
|
|
@ -56,9 +56,6 @@
|
|||
#define EC_ENABLE_LID_SWITCH
|
||||
#define EC_ENABLE_WAKE_PIN EC_WAKE_GPI
|
||||
|
||||
/* Enable EC backed ALS device in ACPI */
|
||||
#define EC_ENABLE_ALS_DEVICE
|
||||
|
||||
/* Enable EC backed PD MCU device in ACPI */
|
||||
#define EC_ENABLE_PD_MCU_DEVICE
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue