mb/google/hatch/jinlon: Add HID to gfx ACPI node

The upstream kernel privacy screen driver uses HID GOOG0010 to look for
firmware node to use. This method is used on other boards, e.g. redrix.
See: drivers/platform/chrome/chromeos_privacy_screen.c in linux sources.
Update jinlon gfx ACPI node to work with that.

BUG=b:279092050
TEST=privacy protection screen works with 5.15 and 4.19 kernels

Change-Id: Icba41e7f2be7292f713fea10dbe69b3ca128bde7
Signed-off-by: Kornel Dulęba <korneld@google.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/75289
Reviewed-by: Paul Menzel <paulepanter@mailbox.org>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Jakub Czapiga <jacz@semihalf.com>
Reviewed-by: Tarun Tuli <taruntuli@google.com>
This commit is contained in:
Kornel Dulęba 2023-05-16 12:20:39 +00:00 committed by Jakub Czapiga
parent 721b2ec2dd
commit 4e4141ac6c
1 changed files with 2 additions and 0 deletions

View File

@ -74,6 +74,8 @@ chip soc/intel/cannonlake
chip drivers/gfx/generic
register "device_count" = "1"
register "device[0].name" = ""LCD""
# Use ChromeOS 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"