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:
parent
2ece21244e
commit
c5a3a4a602
|
@ -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
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -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""
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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""
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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""
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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""
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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""
|
||||
|
|
Loading…
Reference in New Issue