summaryrefslogtreecommitdiff
path: root/src/soc/intel/tigerlake/Kconfig
diff options
context:
space:
mode:
authorTim Crawford <tcrawford@system76.com>2021-09-21 21:50:49 -0600
committerNico Huber <nico.h@gmx.de>2021-10-07 11:04:48 +0000
commit1724b57729795f4eed9fb401572f634aa286ab0c (patch)
treee5529c0d632c516eacbb7e749357ca7dc19962bd /src/soc/intel/tigerlake/Kconfig
parent5afeba30a3637792d8619d52572f95b3e80e76fb (diff)
soc/intel/tigerlake: Hook up GMA ACPI brightness controls
Add function needed to generate ACPI backlight control SSDT, along with Kconfig values for accessing the registers. Tested by adding gfx register on system76/gaze16 and booting Windows. Display settings has a brightness setting, and can change the brightness level. Change-Id: Id8b14c0b4a7a681dc6cb95778c12a006a7e31373 Signed-off-by: Tim Crawford <tcrawford@system76.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/57823 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Nico Huber <nico.h@gmx.de>
Diffstat (limited to 'src/soc/intel/tigerlake/Kconfig')
-rw-r--r--src/soc/intel/tigerlake/Kconfig12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/soc/intel/tigerlake/Kconfig b/src/soc/intel/tigerlake/Kconfig
index 83d2e9f64e..37391782d2 100644
--- a/src/soc/intel/tigerlake/Kconfig
+++ b/src/soc/intel/tigerlake/Kconfig
@@ -305,4 +305,16 @@ config PCIEXP_HOTPLUG_PREFETCH_MEM
endif # SOC_INTEL_ENABLE_USB4_PCIE_RESOURCES
+config INTEL_GMA_BCLV_OFFSET
+ default 0xc8258
+
+config INTEL_GMA_BCLV_WIDTH
+ default 32
+
+config INTEL_GMA_BCLM_OFFSET
+ default 0xc8254
+
+config INTEL_GMA_BCLM_WIDTH
+ default 32
+
endif