summaryrefslogtreecommitdiff
path: root/src/mainboard/google/guybrush
diff options
context:
space:
mode:
authorKevin Chiu <kevin.chiu.17802@gmail.com>2022-01-16 23:42:22 +0800
committerFelix Held <felix-coreboot@felixheld.de>2022-02-12 16:46:30 +0000
commitb3b17b2a3f1c12ebd4189da9993c97690694eb4b (patch)
tree4393913706fb2c168604b9c21f6bdabb1c83435c /src/mainboard/google/guybrush
parente80e53cac667709db9d357e3ab7ee171b9246e05 (diff)
mb/google/guybrush/var/nipperkin: Add _HID for privacy screen device
BUG=b:204401306 BRANCH=guybrush TEST=emerge-guybrush coreboot dump SSDT, see _HID instead of _ADR Change-Id: I3f45fabac1548cca39379f91cc42fed0cd04f8a3 Signed-off-by: Kevin Chiu <kevin.chiu.17802@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/61125 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Raul Rangel <rrangel@chromium.org>
Diffstat (limited to 'src/mainboard/google/guybrush')
-rw-r--r--src/mainboard/google/guybrush/Kconfig.name1
-rw-r--r--src/mainboard/google/guybrush/variants/nipperkin/overridetree.cb13
2 files changed, 14 insertions, 0 deletions
diff --git a/src/mainboard/google/guybrush/Kconfig.name b/src/mainboard/google/guybrush/Kconfig.name
index e8b1b32a1d..a682c76079 100644
--- a/src/mainboard/google/guybrush/Kconfig.name
+++ b/src/mainboard/google/guybrush/Kconfig.name
@@ -7,6 +7,7 @@ config BOARD_GOOGLE_GUYBRUSH
config BOARD_GOOGLE_NIPPERKIN
bool "-> Nipperkin"
select BOARD_GOOGLE_BASEBOARD_GUYBRUSH
+ select DRIVERS_GFX_GENERIC
config BOARD_GOOGLE_DEWATT
bool "-> Dewatt"
diff --git a/src/mainboard/google/guybrush/variants/nipperkin/overridetree.cb b/src/mainboard/google/guybrush/variants/nipperkin/overridetree.cb
index a22f36d6bd..b49c8a6ed7 100644
--- a/src/mainboard/google/guybrush/variants/nipperkin/overridetree.cb
+++ b/src/mainboard/google/guybrush/variants/nipperkin/overridetree.cb
@@ -178,6 +178,19 @@ chip soc/amd/cezanne
probe STORAGE STORAGE_SSD
end # NVMe
device ref gpp_bridge_a on # Internal GPP Bridge 0 to Bus A
+ device ref gfx on
+ chip drivers/gfx/generic
+ register "device_count" = "1"
+ register "device[0].name" = ""LCD""
+ # Use Chrome OS privacy screen _HID
+ register "device[0].hid" = ""GOOG0010""
+ # 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(GPIO_5)"
+ device generic 0.0 on end
+ end
+ end
device ref acp on
chip drivers/amd/i2s_machine_dev
register "hid" = ""10029836""