diff options
Diffstat (limited to 'src/mainboard/system76/whl-u')
-rw-r--r-- | src/mainboard/system76/whl-u/acpi/backlight.asl | 31 | ||||
-rw-r--r-- | src/mainboard/system76/whl-u/acpi/mainboard.asl | 3 | ||||
-rw-r--r-- | src/mainboard/system76/whl-u/dsdt.asl | 1 |
3 files changed, 34 insertions, 1 deletions
diff --git a/src/mainboard/system76/whl-u/acpi/backlight.asl b/src/mainboard/system76/whl-u/acpi/backlight.asl new file mode 100644 index 0000000000..f020234450 --- /dev/null +++ b/src/mainboard/system76/whl-u/acpi/backlight.asl @@ -0,0 +1,31 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ + +#include <drivers/intel/gma/acpi/gma.asl> + +Scope (GFX0) +{ + Name (BRIG, Package (22) { + 40, /* default AC */ + 40, /* default Battery */ + 5, + 10, + 15, + 20, + 25, + 30, + 35, + 40, + 45, + 50, + 55, + 60, + 65, + 70, + 75, + 80, + 85, + 90, + 95, + 100 + }) +} diff --git a/src/mainboard/system76/whl-u/acpi/mainboard.asl b/src/mainboard/system76/whl-u/acpi/mainboard.asl index ade0bb2625..2495377d68 100644 --- a/src/mainboard/system76/whl-u/acpi/mainboard.asl +++ b/src/mainboard/system76/whl-u/acpi/mainboard.asl @@ -6,6 +6,9 @@ Scope (\_SB) { #include "sleep.asl" + Scope (PCI0) { + #include "backlight.asl" + } } Scope (\_GPE) { diff --git a/src/mainboard/system76/whl-u/dsdt.asl b/src/mainboard/system76/whl-u/dsdt.asl index 982e226118..b633254edd 100644 --- a/src/mainboard/system76/whl-u/dsdt.asl +++ b/src/mainboard/system76/whl-u/dsdt.asl @@ -19,7 +19,6 @@ DefinitionBlock( { #include <soc/intel/common/block/acpi/acpi/northbridge.asl> #include <soc/intel/cannonlake/acpi/southbridge.asl> - #include <drivers/intel/gma/acpi/default_brightness_levels.asl> } #include <southbridge/intel/common/acpi/sleepstates.asl> |