mb/google/hatch (baseboard): add ACPI backlight support

Add ACPI backlight support for boards selecting BOARD_GOOGLE_BASEBOARD_HATCH.

PUFF-based variants do not have an internal panel, so do not need this.

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

Change-Id: I5ce4c6e1c78299e89760a1356da452d56ba0aee6
Signed-off-by: Matt DeVillier <matt.devillier@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/49058
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Reviewed-by: Michael Niewöhner <foss@mniewoehner.de>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
Matt DeVillier 2020-06-07 04:05:55 -05:00 committed by Patrick Georgi
parent 2ece21244e
commit c5a3a4a602
13 changed files with 39 additions and 0 deletions

View File

@ -26,6 +26,9 @@ DefinitionBlock(
{
#include <soc/intel/common/block/acpi/acpi/northbridge.asl>
#include <soc/intel/cannonlake/acpi/southbridge.asl>
#if CONFIG(BOARD_GOOGLE_BASEBOARD_HATCH)
#include <drivers/intel/gma/acpi/default_brightness_levels.asl>
#endif
}
}

View File

@ -72,6 +72,9 @@ chip soc/intel/cannonlake
register "ScsEmmcHs400Enabled" = "1"
device domain 0 on
device pci 02.0 on # Integrated Graphics Device
register "gfx" = "GMA_DEFAULT_PANEL(0)"
end
device pci 14.0 on
chip drivers/usb/acpi
register "desc" = ""Root Hub""

View File

@ -69,6 +69,9 @@ chip soc/intel/cannonlake
register "ScsEmmcHs400Enabled" = "1"
device domain 0 on
device pci 02.0 on # Integrated Graphics Device
register "gfx" = "GMA_DEFAULT_PANEL(0)"
end
device pci 14.0 on
chip drivers/usb/acpi
device usb 0.0 on

View File

@ -68,6 +68,9 @@ chip soc/intel/cannonlake
register "sdcard_cd_gpio" = "vSD3_CD_B"
device domain 0 on
device pci 02.0 on # Integrated Graphics Device
register "gfx" = "GMA_DEFAULT_PANEL(0)"
end
device pci 15.0 on
chip drivers/i2c/generic
register "hid" = ""ELAN0000""

View File

@ -60,6 +60,9 @@ chip soc/intel/cannonlake
}"
device domain 0 on
device pci 02.0 on # Integrated Graphics Device
register "gfx" = "GMA_DEFAULT_PANEL(0)"
end
device pci 14.0 on
chip drivers/usb/acpi
device usb 0.0 on

View File

@ -76,6 +76,9 @@ chip soc/intel/cannonlake
}"
device domain 0 on
device pci 02.0 on # Integrated Graphics Device
register "gfx" = "GMA_DEFAULT_PANEL(0)"
end
device pci 14.0 on
chip drivers/usb/acpi
device usb 0.0 on

View File

@ -69,6 +69,9 @@ chip soc/intel/cannonlake
register "ScsEmmcHs400Enabled" = "1"
device domain 0 on
device pci 02.0 on # Integrated Graphics Device
register "gfx" = "GMA_DEFAULT_PANEL(0)"
end
device pci 02.0 on
chip drivers/gfx/generic
register "device_count" = "1"

View File

@ -105,6 +105,9 @@ chip soc/intel/cannonlake
register "common_soc_config.emmc_dll.emmc_rx_strobe_cntl" = "0x1515"
device domain 0 on
device pci 02.0 on # Integrated Graphics Device
register "gfx" = "GMA_DEFAULT_PANEL(0)"
end
device pci 15.0 on
chip drivers/i2c/generic
register "hid" = ""ELAN0000""

View File

@ -73,6 +73,9 @@ chip soc/intel/cannonlake
}"
device domain 0 on
device pci 02.0 on # Integrated Graphics Device
register "gfx" = "GMA_DEFAULT_PANEL(0)"
end
device pci 14.0 on
chip drivers/usb/acpi
device usb 0.0 on

View File

@ -88,6 +88,9 @@ chip soc/intel/cannonlake
register "sdcard_cd_gpio" = "vSD3_CD_B"
device domain 0 on
device pci 02.0 on # Integrated Graphics Device
register "gfx" = "GMA_DEFAULT_PANEL(0)"
end
device pci 15.0 on
chip drivers/i2c/generic
register "hid" = ""ELAN0000""

View File

@ -121,6 +121,9 @@ chip soc/intel/cannonlake
register "common_soc_config.emmc_dll.emmc_rx_strobe_cntl" = "0x1515"
device domain 0 on
device pci 02.0 on # Integrated Graphics Device
register "gfx" = "GMA_DEFAULT_PANEL(0)"
end
device pci 14.0 on
chip drivers/usb/acpi
device usb 0.0 on

View File

@ -57,6 +57,9 @@ chip soc/intel/cannonlake
}"
device domain 0 on
device pci 02.0 on # Integrated Graphics Device
register "gfx" = "GMA_DEFAULT_PANEL(0)"
end
device pci 14.0 on
chip drivers/usb/acpi
device usb 0.0 on

View File

@ -58,6 +58,9 @@ chip soc/intel/cannonlake
register "sdcard_cd_gpio" = "vSD3_CD_B"
device domain 0 on
device pci 02.0 on # Integrated Graphics Device
register "gfx" = "GMA_DEFAULT_PANEL(0)"
end
device pci 14.0 on
chip drivers/usb/acpi
register "desc" = ""Root Hub""