Angel Pons has uploaded this change for review. ( https://review.coreboot.org/c/libgfxinit/+/51133 )
Change subject: [WIP] LSPCON ......................................................................
[WIP] LSPCON
Change-Id: Idfa9bdff47a6591000cd5092d64a4cd4f8dbdc8d Signed-off-by: Angel Pons th3fanbus@gmail.com --- M common/Makefile.inc M common/hw-gfx-gma-config.ads.template 2 files changed, 5 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/libgfxinit refs/changes/33/51133/1
diff --git a/common/Makefile.inc b/common/Makefile.inc index b1ed074..15abacf 100644 --- a/common/Makefile.inc +++ b/common/Makefile.inc @@ -48,12 +48,14 @@ gfxinit-y += hw-gfx-framebuffer_filler.ads
CONFIG_GFX_GMA_PCH ?= No_PCH +CONFIG_GFX_GMA_LSPCON_PORT ?= Disabled CONFIG_GFX_GMA_PANEL_2_PORT ?= Disabled
CONFIG_GFX_GMA_GENERATION := $(call strip_quotes,$(CONFIG_GFX_GMA_GENERATION)) CONFIG_GFX_GMA_CPU := $(call strip_quotes,$(CONFIG_GFX_GMA_CPU)) CONFIG_GFX_GMA_CPU_VARIANT := $(call strip_quotes,$(CONFIG_GFX_GMA_CPU_VARIANT)) CONFIG_GFX_GMA_PCH := $(call strip_quotes,$(CONFIG_GFX_GMA_PCH)) +CONFIG_GFX_GMA_LSPCON_PORT := $(call strip_quotes,$(CONFIG_GFX_GMA_LSPCON_PORT)) CONFIG_GFX_GMA_PANEL_1_PORT := $(call strip_quotes,$(CONFIG_GFX_GMA_PANEL_1_PORT)) CONFIG_GFX_GMA_PANEL_2_PORT := $(call strip_quotes,$(CONFIG_GFX_GMA_PANEL_2_PORT)) CONFIG_GFX_GMA_ANALOG_I2C_PORT := $(call strip_quotes,$(CONFIG_GFX_GMA_ANALOG_I2C_PORT)) @@ -79,6 +81,7 @@ GFX_GMA_COMMON_SUBSTITUTIONS := \ -e's/<<GEN>>/$(CONFIG_GFX_GMA_GENERATION)/' \ -e's/<<PCH>>/$(CONFIG_GFX_GMA_PCH)/' \ + -e's/<<LSPCON_PORT>>/$(CONFIG_GFX_GMA_LSPCON_PORT)/' \ -e's/<<PANEL_1_PORT>>/$(CONFIG_GFX_GMA_PANEL_1_PORT)/' \ -e's/<<PANEL_2_PORT>>/$(CONFIG_GFX_GMA_PANEL_2_PORT)/' \ -e's/<<ANALOG_I2C_PORT>>/$(CONFIG_GFX_GMA_ANALOG_I2C_PORT)/' \ diff --git a/common/hw-gfx-gma-config.ads.template b/common/hw-gfx-gma-config.ads.template index 1177218..fb013f4 100644 --- a/common/hw-gfx-gma-config.ads.template +++ b/common/hw-gfx-gma-config.ads.template @@ -65,6 +65,8 @@ (Panel_1 => <<PANEL_1_PORT>>, Panel_2 => <<PANEL_2_PORT>>);
+ Lspcon_Port : constant Port_Type := <<LSPCON_PORT>>; + Analog_I2C_Port : constant PCH_Port := <<ANALOG_I2C_PORT>>;
EDP_Low_Voltage_Swing : constant Boolean := False;