From 45535e4a0555f26f000c9908a86bdf8f74aab952 Mon Sep 17 00:00:00 2001 From: Jeremy Soller Date: Sat, 9 May 2020 13:26:35 -0600 Subject: [PATCH] lemp9: add custom backlight levels --- .../system76/lemp9/acpi/backlight.asl | 27 +++++++++++++++++++ src/mainboard/system76/lemp9/dsdt.asl | 3 ++- 2 files changed, 29 insertions(+), 1 deletion(-) create mode 100644 src/mainboard/system76/lemp9/acpi/backlight.asl diff --git a/src/mainboard/system76/lemp9/acpi/backlight.asl b/src/mainboard/system76/lemp9/acpi/backlight.asl new file mode 100644 index 0000000000..8e8a75759f --- /dev/null +++ b/src/mainboard/system76/lemp9/acpi/backlight.asl @@ -0,0 +1,27 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ +/* This file is part of the coreboot project. */ + +Scope (GFX0) +{ + Name (BRIG, Package (0x12) + { + 100, /* default AC */ + 100, /* default Battery */ + 6, + 12, + 19, + 25, + 31, + 38, + 44, + 50, + 56, + 62, + 69, + 75, + 81, + 88, + 94, + 100, + }) +} diff --git a/src/mainboard/system76/lemp9/dsdt.asl b/src/mainboard/system76/lemp9/dsdt.asl index 0542be20a2..22990f24e8 100644 --- a/src/mainboard/system76/lemp9/dsdt.asl +++ b/src/mainboard/system76/lemp9/dsdt.asl @@ -19,7 +19,8 @@ DefinitionBlock( { #include #include - #include + #include + #include "acpi/backlight.asl" } #include