mb/google/reef (and variants): add ACPI backlight support

Enables backlight control under Windows 10.

Test: build/boot Windows 10 20H2 on google/reef, verify
display backlight controls functional.

Change-Id: I4ce613badbdcfb9c843f52408df26c6cbb4b82a2
Signed-off-by: Matt DeVillier <matt.devillier@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/49057
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Reviewed-by: Michael Niewöhner <foss@mniewoehner.de>
This commit is contained in:
Matt DeVillier 2020-04-30 10:55:32 -05:00 committed by Patrick Georgi
parent 4f980425b1
commit 2ece21244e
6 changed files with 16 additions and 5 deletions

View File

@ -25,6 +25,7 @@ DefinitionBlock(
#include <soc/intel/apollolake/acpi/northbridge.asl> #include <soc/intel/apollolake/acpi/northbridge.asl>
#include <soc/intel/apollolake/acpi/southbridge.asl> #include <soc/intel/apollolake/acpi/southbridge.asl>
#include <soc/intel/apollolake/acpi/pch_hda.asl> #include <soc/intel/apollolake/acpi/pch_hda.asl>
#include <drivers/intel/gma/acpi/default_brightness_levels.asl>
} }
} }

View File

@ -125,7 +125,9 @@ chip soc/intel/apollolake
device pci 00.0 on end # - Host Bridge device pci 00.0 on end # - Host Bridge
device pci 00.1 on end # - DPTF device pci 00.1 on end # - DPTF
device pci 00.2 on end # - NPK device pci 00.2 on end # - NPK
device pci 02.0 on end # - Gen device pci 02.0 on # - Gen
register "gfx" = "GMA_DEFAULT_PANEL(0)"
end
device pci 03.0 on end # - Iunit device pci 03.0 on end # - Iunit
device pci 0d.0 on end # - P2SB device pci 0d.0 on end # - P2SB
device pci 0d.1 on end # - PMC device pci 0d.1 on end # - PMC

View File

@ -125,7 +125,9 @@ chip soc/intel/apollolake
device pci 00.0 on end # - Host Bridge device pci 00.0 on end # - Host Bridge
device pci 00.1 on end # - DPTF device pci 00.1 on end # - DPTF
device pci 00.2 on end # - NPK device pci 00.2 on end # - NPK
device pci 02.0 on end # - Gen device pci 02.0 on # - Gen
register "gfx" = "GMA_DEFAULT_PANEL(0)"
end
device pci 03.0 on end # - Iunit device pci 03.0 on end # - Iunit
device pci 0d.0 on end # - P2SB device pci 0d.0 on end # - P2SB
device pci 0d.1 on end # - PMC device pci 0d.1 on end # - PMC

View File

@ -134,7 +134,9 @@ chip soc/intel/apollolake
device pci 00.0 on end # - Host Bridge device pci 00.0 on end # - Host Bridge
device pci 00.1 on end # - DPTF device pci 00.1 on end # - DPTF
device pci 00.2 on end # - NPK device pci 00.2 on end # - NPK
device pci 02.0 on end # - Gen device pci 02.0 on # - Gen
register "gfx" = "GMA_DEFAULT_PANEL(0)"
end
device pci 03.0 on end # - Iunit device pci 03.0 on end # - Iunit
device pci 0d.0 on end # - P2SB device pci 0d.0 on end # - P2SB
device pci 0d.1 on end # - PMC device pci 0d.1 on end # - PMC

View File

@ -121,7 +121,9 @@ chip soc/intel/apollolake
device pci 00.0 on end # - Host Bridge device pci 00.0 on end # - Host Bridge
device pci 00.1 on end # - DPTF device pci 00.1 on end # - DPTF
device pci 00.2 on end # - NPK device pci 00.2 on end # - NPK
device pci 02.0 on end # - Gen device pci 02.0 on # - Gen
register "gfx" = "GMA_DEFAULT_PANEL(0)"
end
device pci 03.0 on end # - Iunit device pci 03.0 on end # - Iunit
device pci 0d.0 on end # - P2SB device pci 0d.0 on end # - P2SB
device pci 0d.1 on end # - PMC device pci 0d.1 on end # - PMC

View File

@ -130,7 +130,9 @@ chip soc/intel/apollolake
device pci 00.0 on end # - Host Bridge device pci 00.0 on end # - Host Bridge
device pci 00.1 on end # - DPTF device pci 00.1 on end # - DPTF
device pci 00.2 on end # - NPK device pci 00.2 on end # - NPK
device pci 02.0 on end # - Gen device pci 02.0 on # - Gen
register "gfx" = "GMA_DEFAULT_PANEL(0)"
end
device pci 03.0 on end # - Iunit device pci 03.0 on end # - Iunit
device pci 0d.0 on end # - P2SB device pci 0d.0 on end # - P2SB
device pci 0d.1 on end # - PMC device pci 0d.1 on end # - PMC