Patrick Georgi submitted this change.

View Change

Approvals: build bot (Jenkins): Verified Mathew King: Looks good to me, approved
mb/google/hatch/var/jinlon: Enable gfx/generic driver

Enable the GFX device for Jinlon.

Change-Id: I6ba90bf464e315ec364b6f35e7670924a2aba25a
Signed-off-by: Rajat Jain <rajatja@google.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/39155
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Mathew King <mathewk@chromium.org>
---
M src/mainboard/google/hatch/Kconfig.name
M src/mainboard/google/hatch/variants/jinlon/overridetree.cb
2 files changed, 12 insertions(+), 0 deletions(-)

diff --git a/src/mainboard/google/hatch/Kconfig.name b/src/mainboard/google/hatch/Kconfig.name
index 2427b12..fc3a66e 100644
--- a/src/mainboard/google/hatch/Kconfig.name
+++ b/src/mainboard/google/hatch/Kconfig.name
@@ -19,6 +19,7 @@
bool "-> Jinlon"
select BOARD_GOOGLE_BASEBOARD_HATCH
select BOARD_ROMSIZE_KB_16384
+ select DRIVERS_GFX_GENERIC

config BOARD_GOOGLE_KOHAKU
bool "-> Kohaku"
diff --git a/src/mainboard/google/hatch/variants/jinlon/overridetree.cb b/src/mainboard/google/hatch/variants/jinlon/overridetree.cb
index f3f6c3b..f7ca7d5 100644
--- a/src/mainboard/google/hatch/variants/jinlon/overridetree.cb
+++ b/src/mainboard/google/hatch/variants/jinlon/overridetree.cb
@@ -65,6 +65,17 @@
register "ScsEmmcHs400Enabled" = "1"

device domain 0 on
+ device pci 02.0 on
+ chip drivers/gfx/generic
+ register "device_count" = "1"
+ register "device[0].name" = ""LCD""
+ # Internal panel on the first port of the graphics chip
+ register "device[0].addr" = "0x80010400"
+ register "device[0].privacy.enabled" = "1"
+ register "device[0].privacy.gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPP_E0)"
+ device generic 0 on end
+ end
+ end # Integrated Graphics Device
device pci 15.0 on
chip drivers/i2c/generic
register "hid" = ""ELAN0000""

To view, visit change 39155. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I6ba90bf464e315ec364b6f35e7670924a2aba25a
Gerrit-Change-Number: 39155
Gerrit-PatchSet: 3
Gerrit-Owner: Rajat Jain <rajatja@google.com>
Gerrit-Reviewer: Duncan Laurie <dlaurie@chromium.org>
Gerrit-Reviewer: Furquan Shaikh <furquan@google.com>
Gerrit-Reviewer: Mathew King <mathewk@chromium.org>
Gerrit-Reviewer: Patrick Georgi <pgeorgi@google.com>
Gerrit-Reviewer: Rajat Jain <rajatja@google.com>
Gerrit-Reviewer: Shelley Chen <shchen@google.com>
Gerrit-Reviewer: Tim Wawrzynczak <twawrzynczak@chromium.org>
Gerrit-Reviewer: build bot (Jenkins) <no-reply@coreboot.org>
Gerrit-MessageType: merged