summaryrefslogtreecommitdiff
path: root/src/soc/intel/apollolake/Kconfig
diff options
context:
space:
mode:
authorMatt DeVillier <matt.devillier@gmail.com>2020-04-21 01:23:10 -0500
committerMichael Niewöhner <foss@mniewoehner.de>2021-01-04 00:31:42 +0000
commitd7ef450d88e67f4aa47c40dc746500693c3ccfb0 (patch)
tree7760212a1551a101834972f839718d3c2de646aa /src/soc/intel/apollolake/Kconfig
parent95a181e432b39b64238273425dbe337bf723df9e (diff)
soc/intel/apollolake: Hook up GMA ACPI brightness controls
Add struct i915_gpu_controller_info for boards to supply info needed to generate ACPI backlight control SSDT. Hook into soc/common framework by implementing intel_igd_get_controller_info(). Add Kconfig entries to set the correct register offsets for backlight frequency and duty cycle. Change-Id: Ia62a88b58e7efd90f550000fc5b2cef0cb5fade7 Signed-off-by: Matt DeVillier <matt.devillier@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/40593 Reviewed-by: Angel Pons <th3fanbus@gmail.com> Reviewed-by: Michael Niewöhner <foss@mniewoehner.de> Reviewed-by: Nico Huber <nico.h@gmx.de> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/soc/intel/apollolake/Kconfig')
-rw-r--r--src/soc/intel/apollolake/Kconfig18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/soc/intel/apollolake/Kconfig b/src/soc/intel/apollolake/Kconfig
index 4f762a9cd0..62049b5abe 100644
--- a/src/soc/intel/apollolake/Kconfig
+++ b/src/soc/intel/apollolake/Kconfig
@@ -413,4 +413,22 @@ config RO_REGION_ONLY
string
default "pdpt pt"
+config INTEL_GMA_PANEL_2
+ bool
+ default n
+
+config INTEL_GMA_BCLV_OFFSET
+ default 0xc8358 if INTEL_GMA_PANEL_2
+ default 0xc8258
+
+config INTEL_GMA_BCLV_WIDTH
+ default 32
+
+config INTEL_GMA_BCLM_OFFSET
+ default 0xc8354 if INTEL_GMA_PANEL_2
+ default 0xc8254
+
+config INTEL_GMA_BCLM_WIDTH
+ default 32
+
endif