From 561bebfbaa55d5ab0656fbfc4866de88722d9618 Mon Sep 17 00:00:00 2001 From: Nico Huber Date: Thu, 19 Jan 2017 16:28:18 +0100 Subject: drivers/intel/gma/vbt: Add Kconfig symbol for SSC ref The selection of the SSC reference frequency for LVDS was based on a completely unrelated clock. The `ssc_freq` flag should be set when the SSC reference runs at a different frequency than the general display reference clock (DREF). For most platforms, there is no choice, i.e. for i945 and gm45 the SSC reference always differs from the display reference clock (i945: 66Mhz SSC vs. 48MHz DREF; gm45: 100MHz SSC vs. 96Mhz DREF), for Nehalem and newer, it's the same frequency for SSC/non-SSC (120MHz). The only, currently supported platform with a choice seems to be Pineview, where the alternative is 100MHz vs. the default 96MHz. Change-Id: I7791754bd366c9fe6832c32eccef4657ba5f309b Signed-off-by: Nico Huber Reviewed-on: https://review.coreboot.org/18186 Tested-by: build bot (Jenkins) Reviewed-by: Martin Roth --- src/drivers/intel/gma/Kconfig | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'src/drivers/intel/gma/Kconfig') diff --git a/src/drivers/intel/gma/Kconfig b/src/drivers/intel/gma/Kconfig index 9c0f22783c..23290d56f4 100644 --- a/src/drivers/intel/gma/Kconfig +++ b/src/drivers/intel/gma/Kconfig @@ -2,6 +2,7 @@ ## This file is part of the coreboot project. ## ## Copyright 2013 Google Inc. +## Copyright 2016-2017 secunet Security Networks AG ## ## This program is free software; you can redistribute it and/or modify ## it under the terms of the GNU General Public License as published by @@ -37,6 +38,21 @@ config INTEL_GMA_ACPI bool default n +config INTEL_GMA_SSC_ALTERNATE_REF + bool + default n + help + Set when the SSC reference clock for LVDS runs at a different fre- + quency than the general display reference clock. + + To be set by northbridge or mainboard Kconfig. For most platforms, + there is no choice, i.e. for i945 and gm45 the SSC reference always + differs from the display reference clock (i945: 66Mhz SSC vs. 48MHz + DREF; gm45: 100MHz SSC vs. 96Mhz DREF), for Nehalem and newer, it's + the same frequency for SSC/non-SSC (120MHz). The only, currently + supported platform with a choice seems to be Pineview, where the + alternative is 100MHz vs. the default 96MHz. + config GFX_GMA_CPU string default "Skylake" if SOC_INTEL_SKYLAKE -- cgit v1.2.3