drivers/intel/gma/acpi: Add Kconfigs for backlight registers
commit612a8676779f873f2f7a3c8011ad0eac61ca38f9
authorNico Huber <nico.huber@secunet.com>
Tue, 19 Feb 2019 18:11:29 +0000 (19 19:11 +0100)
committerPatrick Georgi <pgeorgi@google.com>
Wed, 25 Mar 2020 10:54:38 +0000 (25 10:54 +0000)
tree0a4d78f1cce6226b4275723967a942e6fecd1f07
parent4f012694dd3a04fa1166f33656595951eda107b2
drivers/intel/gma/acpi: Add Kconfigs for backlight registers

Instead of adding more versions of the `*pch.asl`, unify the existing
ones and allow to override the register locations via Kconfig. The
current defaults should work for Skylake and some newer platforms.

TEST=Booted ThinkPad X201s, backlight control still works.

Change-Id: I0b21d9a0288f0f8d6cb0a4776909bffdae7576f5
Signed-off-by: Nico Huber <nico.huber@secunet.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/31503
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Reviewed-by: Wim Vervoorn <wvervoorn@eltan.com>
Reviewed-by: Benjamin Doron <benjamin.doron00@gmail.com>
12 files changed:
src/drivers/intel/gma/Kconfig
src/drivers/intel/gma/acpi/gma.asl [moved from src/drivers/intel/gma/acpi/non-pch.asl with 76% similarity]
src/drivers/intel/gma/acpi/pch.asl [deleted file]
src/northbridge/intel/gm45/Kconfig
src/northbridge/intel/gm45/acpi/gm45.asl
src/northbridge/intel/haswell/Kconfig
src/northbridge/intel/haswell/acpi/haswell.asl
src/northbridge/intel/ironlake/Kconfig
src/northbridge/intel/ironlake/acpi/ironlake.asl
src/northbridge/intel/sandybridge/Kconfig
src/northbridge/intel/sandybridge/acpi/sandybridge.asl
src/northbridge/intel/x4x/acpi/x4x.asl