diff --git a/src/mainboard/system76/adl/acpi/backlight.asl b/src/mainboard/system76/adl/acpi/backlight.asl deleted file mode 100644 index f0202344508..00000000000 --- a/src/mainboard/system76/adl/acpi/backlight.asl +++ /dev/null @@ -1,31 +0,0 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ - -#include - -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/adl/acpi/mainboard.asl b/src/mainboard/system76/adl/acpi/mainboard.asl index f7453fc339e..88a968326a9 100644 --- a/src/mainboard/system76/adl/acpi/mainboard.asl +++ b/src/mainboard/system76/adl/acpi/mainboard.asl @@ -11,8 +11,6 @@ Scope (\_SB) { #include "sleep.asl" Scope (PCI0) { - #include "backlight.asl" - #if CONFIG(DRIVERS_GFX_NVIDIA) Scope (PEG2) { #include diff --git a/src/mainboard/system76/adl/dsdt.asl b/src/mainboard/system76/adl/dsdt.asl index cbf9e6a7e99..f20df7ea4fd 100644 --- a/src/mainboard/system76/adl/dsdt.asl +++ b/src/mainboard/system76/adl/dsdt.asl @@ -20,6 +20,7 @@ DefinitionBlock( #include #include #include + #include } #include diff --git a/src/mainboard/system76/cml-u/acpi/backlight.asl b/src/mainboard/system76/cml-u/acpi/backlight.asl deleted file mode 100644 index f0202344508..00000000000 --- a/src/mainboard/system76/cml-u/acpi/backlight.asl +++ /dev/null @@ -1,31 +0,0 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ - -#include - -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/cml-u/acpi/mainboard.asl b/src/mainboard/system76/cml-u/acpi/mainboard.asl index 3335ba8fdd8..416cc5a1511 100644 --- a/src/mainboard/system76/cml-u/acpi/mainboard.asl +++ b/src/mainboard/system76/cml-u/acpi/mainboard.asl @@ -6,9 +6,6 @@ Scope (\_SB) { #include "sleep.asl" - Scope (PCI0) { - #include "backlight.asl" - } } Scope (\_GPE) { diff --git a/src/mainboard/system76/cml-u/dsdt.asl b/src/mainboard/system76/cml-u/dsdt.asl index b633254edd3..982e226118a 100644 --- a/src/mainboard/system76/cml-u/dsdt.asl +++ b/src/mainboard/system76/cml-u/dsdt.asl @@ -19,6 +19,7 @@ DefinitionBlock( { #include #include + #include } #include diff --git a/src/mainboard/system76/gaze15/acpi/backlight.asl b/src/mainboard/system76/gaze15/acpi/backlight.asl deleted file mode 100644 index f0202344508..00000000000 --- a/src/mainboard/system76/gaze15/acpi/backlight.asl +++ /dev/null @@ -1,31 +0,0 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ - -#include - -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/gaze15/acpi/mainboard.asl b/src/mainboard/system76/gaze15/acpi/mainboard.asl index 610cdd12bad..2f01acc0bc4 100644 --- a/src/mainboard/system76/gaze15/acpi/mainboard.asl +++ b/src/mainboard/system76/gaze15/acpi/mainboard.asl @@ -9,7 +9,6 @@ Scope (\_SB) { #include "sleep.asl" Scope (PCI0) { - #include "backlight.asl" Device (PEGP) { Name (_ADR, CONFIG_DRIVERS_GFX_NVIDIA_BRIDGE << 16) #include diff --git a/src/mainboard/system76/gaze15/dsdt.asl b/src/mainboard/system76/gaze15/dsdt.asl index a48382b578f..d2bd57d78aa 100644 --- a/src/mainboard/system76/gaze15/dsdt.asl +++ b/src/mainboard/system76/gaze15/dsdt.asl @@ -18,6 +18,7 @@ DefinitionBlock( Device (\_SB.PCI0) { #include #include + #include } #include diff --git a/src/mainboard/system76/kbl-u/acpi/backlight.asl b/src/mainboard/system76/kbl-u/acpi/backlight.asl deleted file mode 100644 index f0202344508..00000000000 --- a/src/mainboard/system76/kbl-u/acpi/backlight.asl +++ /dev/null @@ -1,31 +0,0 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ - -#include - -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/kbl-u/acpi/mainboard.asl b/src/mainboard/system76/kbl-u/acpi/mainboard.asl index a36923f4673..11735e8e019 100644 --- a/src/mainboard/system76/kbl-u/acpi/mainboard.asl +++ b/src/mainboard/system76/kbl-u/acpi/mainboard.asl @@ -1,10 +1,6 @@ /* SPDX-License-Identifier: GPL-2.0-only */ Scope (\_SB) { - Scope (PCI0) { - #include "backlight.asl" - } - #include "ac.asl" #include "battery.asl" #include "buttons.asl" diff --git a/src/mainboard/system76/kbl-u/dsdt.asl b/src/mainboard/system76/kbl-u/dsdt.asl index f93c3f68a80..8607cad4636 100644 --- a/src/mainboard/system76/kbl-u/dsdt.asl +++ b/src/mainboard/system76/kbl-u/dsdt.asl @@ -19,6 +19,7 @@ DefinitionBlock( { #include #include + #include } #include diff --git a/src/mainboard/system76/oryp5/acpi/backlight.asl b/src/mainboard/system76/oryp5/acpi/backlight.asl deleted file mode 100644 index f0202344508..00000000000 --- a/src/mainboard/system76/oryp5/acpi/backlight.asl +++ /dev/null @@ -1,31 +0,0 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ - -#include - -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/oryp5/acpi/mainboard.asl b/src/mainboard/system76/oryp5/acpi/mainboard.asl index f816e3f2dad..e0132f0d234 100644 --- a/src/mainboard/system76/oryp5/acpi/mainboard.asl +++ b/src/mainboard/system76/oryp5/acpi/mainboard.asl @@ -10,7 +10,6 @@ Scope (\_SB) { #include "sleep.asl" Scope (PCI0) { - #include "backlight.asl" Device (PEGP) { Name (_ADR, CONFIG_DRIVERS_GFX_NVIDIA_BRIDGE << 16) #include diff --git a/src/mainboard/system76/oryp5/dsdt.asl b/src/mainboard/system76/oryp5/dsdt.asl index b633254edd3..982e226118a 100644 --- a/src/mainboard/system76/oryp5/dsdt.asl +++ b/src/mainboard/system76/oryp5/dsdt.asl @@ -19,6 +19,7 @@ DefinitionBlock( { #include #include + #include } #include diff --git a/src/mainboard/system76/oryp6/acpi/backlight.asl b/src/mainboard/system76/oryp6/acpi/backlight.asl deleted file mode 100644 index f0202344508..00000000000 --- a/src/mainboard/system76/oryp6/acpi/backlight.asl +++ /dev/null @@ -1,31 +0,0 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ - -#include - -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/oryp6/acpi/mainboard.asl b/src/mainboard/system76/oryp6/acpi/mainboard.asl index 610cdd12bad..2f01acc0bc4 100644 --- a/src/mainboard/system76/oryp6/acpi/mainboard.asl +++ b/src/mainboard/system76/oryp6/acpi/mainboard.asl @@ -9,7 +9,6 @@ Scope (\_SB) { #include "sleep.asl" Scope (PCI0) { - #include "backlight.asl" Device (PEGP) { Name (_ADR, CONFIG_DRIVERS_GFX_NVIDIA_BRIDGE << 16) #include diff --git a/src/mainboard/system76/oryp6/dsdt.asl b/src/mainboard/system76/oryp6/dsdt.asl index a48382b578f..d2bd57d78aa 100644 --- a/src/mainboard/system76/oryp6/dsdt.asl +++ b/src/mainboard/system76/oryp6/dsdt.asl @@ -18,6 +18,7 @@ DefinitionBlock( Device (\_SB.PCI0) { #include #include + #include } #include diff --git a/src/mainboard/system76/rpl/acpi/backlight.asl b/src/mainboard/system76/rpl/acpi/backlight.asl deleted file mode 100644 index f0202344508..00000000000 --- a/src/mainboard/system76/rpl/acpi/backlight.asl +++ /dev/null @@ -1,31 +0,0 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ - -#include - -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/rpl/acpi/mainboard.asl b/src/mainboard/system76/rpl/acpi/mainboard.asl index 63ccf020d55..5e96b27bb4b 100644 --- a/src/mainboard/system76/rpl/acpi/mainboard.asl +++ b/src/mainboard/system76/rpl/acpi/mainboard.asl @@ -11,8 +11,6 @@ Scope (\_SB) { #include "sleep.asl" Scope (PCI0) { - #include "backlight.asl" - #if CONFIG(DRIVERS_GFX_NVIDIA) #if CONFIG(SOC_INTEL_ALDERLAKE_PCH_P) || CONFIG(BOARD_SYSTEM76_BONW15) || CONFIG(BOARD_SYSTEM76_BONW15_B) Scope (PEG2) { diff --git a/src/mainboard/system76/rpl/dsdt.asl b/src/mainboard/system76/rpl/dsdt.asl index cbf9e6a7e99..f20df7ea4fd 100644 --- a/src/mainboard/system76/rpl/dsdt.asl +++ b/src/mainboard/system76/rpl/dsdt.asl @@ -20,6 +20,7 @@ DefinitionBlock( #include #include #include + #include } #include diff --git a/src/mainboard/system76/tgl-h/acpi/backlight.asl b/src/mainboard/system76/tgl-h/acpi/backlight.asl deleted file mode 100644 index f0202344508..00000000000 --- a/src/mainboard/system76/tgl-h/acpi/backlight.asl +++ /dev/null @@ -1,31 +0,0 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ - -#include - -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/tgl-h/acpi/mainboard.asl b/src/mainboard/system76/tgl-h/acpi/mainboard.asl index 1cf2a28bcad..a65455124ec 100644 --- a/src/mainboard/system76/tgl-h/acpi/mainboard.asl +++ b/src/mainboard/system76/tgl-h/acpi/mainboard.asl @@ -9,7 +9,6 @@ Scope (\_SB) { #include "sleep.asl" Scope (PCI0) { - #include "backlight.asl" Scope (PEG1) { #include } diff --git a/src/mainboard/system76/tgl-h/dsdt.asl b/src/mainboard/system76/tgl-h/dsdt.asl index 904073cc7de..fb40a5d67f8 100644 --- a/src/mainboard/system76/tgl-h/dsdt.asl +++ b/src/mainboard/system76/tgl-h/dsdt.asl @@ -20,6 +20,7 @@ DefinitionBlock( #include #include #include + #include } #include diff --git a/src/mainboard/system76/tgl-u/acpi/backlight.asl b/src/mainboard/system76/tgl-u/acpi/backlight.asl deleted file mode 100644 index f0202344508..00000000000 --- a/src/mainboard/system76/tgl-u/acpi/backlight.asl +++ /dev/null @@ -1,31 +0,0 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ - -#include - -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/tgl-u/acpi/mainboard.asl b/src/mainboard/system76/tgl-u/acpi/mainboard.asl index 6adceba1fdd..fcc4f04059b 100644 --- a/src/mainboard/system76/tgl-u/acpi/mainboard.asl +++ b/src/mainboard/system76/tgl-u/acpi/mainboard.asl @@ -11,7 +11,6 @@ Scope (\_SB) { #include "sleep.asl" Scope (PCI0) { - #include "backlight.asl" #if CONFIG(BOARD_SYSTEM76_GALP5) Scope (RP01) { // Remapped from RP05 #include diff --git a/src/mainboard/system76/tgl-u/dsdt.asl b/src/mainboard/system76/tgl-u/dsdt.asl index 904073cc7de..fb40a5d67f8 100644 --- a/src/mainboard/system76/tgl-u/dsdt.asl +++ b/src/mainboard/system76/tgl-u/dsdt.asl @@ -20,6 +20,7 @@ DefinitionBlock( #include #include #include + #include } #include diff --git a/src/mainboard/system76/whl-u/acpi/backlight.asl b/src/mainboard/system76/whl-u/acpi/backlight.asl deleted file mode 100644 index f0202344508..00000000000 --- a/src/mainboard/system76/whl-u/acpi/backlight.asl +++ /dev/null @@ -1,31 +0,0 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ - -#include - -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 2495377d68e..ade0bb2625a 100644 --- a/src/mainboard/system76/whl-u/acpi/mainboard.asl +++ b/src/mainboard/system76/whl-u/acpi/mainboard.asl @@ -6,9 +6,6 @@ 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 b633254edd3..982e226118a 100644 --- a/src/mainboard/system76/whl-u/dsdt.asl +++ b/src/mainboard/system76/whl-u/dsdt.asl @@ -19,6 +19,7 @@ DefinitionBlock( { #include #include + #include } #include