Rajat Jain has uploaded this change for review.

View Change

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>
---
M src/mainboard/google/hatch/Kconfig.name
M src/mainboard/google/hatch/variants/jinlon/overridetree.cb
2 files changed, 12 insertions(+), 0 deletions(-)

git pull ssh://review.coreboot.org:29418/coreboot refs/changes/55/39155/1
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: 1
Gerrit-Owner: Rajat Jain <rajatja@google.com>
Gerrit-MessageType: newchange