From 4e4141ac6c38a5982adf2248211e3f6a356554c7 Mon Sep 17 00:00:00 2001 From: Kornel Dulęba Date: Tue, 16 May 2023 12:20:39 +0000 Subject: mb/google/hatch/jinlon: Add HID to gfx ACPI node MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Reviewed-on: https://review.coreboot.org/c/coreboot/+/75289 Reviewed-by: Paul Menzel Tested-by: build bot (Jenkins) Reviewed-by: Jakub Czapiga Reviewed-by: Tarun Tuli --- src/mainboard/google/hatch/variants/jinlon/overridetree.cb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/mainboard/google/hatch/variants/jinlon/overridetree.cb b/src/mainboard/google/hatch/variants/jinlon/overridetree.cb index 5bf8ac87db..8d5ccaf47e 100644 --- a/src/mainboard/google/hatch/variants/jinlon/overridetree.cb +++ b/src/mainboard/google/hatch/variants/jinlon/overridetree.cb @@ -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" -- cgit v1.2.3