mb/google/brya/var/redrix: Add privacy screen

Add privacy screen support.

BUG=b:198188272
TEST=build and check SSDT

Signed-off-by: Wisley Chen <wisley.chen@quanta.corp-partner.google.com>
Change-Id: Ied9d9138f68ba45c4d746aed1cd3f828d4ab7fae
Reviewed-on: https://review.coreboot.org/c/coreboot/+/57289
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
This commit is contained in:
Wisley Chen 2021-08-31 19:07:19 +06:00 committed by Felix Held
parent cd807213d8
commit d19d27ac3f
2 changed files with 18 additions and 0 deletions

View File

@ -34,6 +34,7 @@ config BOARD_GOOGLE_REDRIX
select DRIVERS_INTEL_MIPI_CAMERA
select SOC_INTEL_COMMON_BLOCK_IPU
select DRIVERS_GENESYSLOGIC_GL9755
select DRIVERS_GFX_GENERIC
config BOARD_GOOGLE_KANO
bool "-> Kano"

View File

@ -16,6 +16,10 @@ fw_config
option LTE_USB 1
option LTE_PCIE 2
end
field EPS 10 10
option PRIVACY_SCREEN_ABSENT 0
option PRIVACY_SCREEN 1
end
end
chip soc/intel/alderlake
register "SaGv" = "SaGv_Enabled"
@ -52,6 +56,19 @@ chip soc/intel/alderlake
},
}"
device domain 0 on
device ref igpu 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_H21)"
device generic 0 on
probe EPS PRIVACY_SCREEN
end
end
end # Integrated Graphics Device
device ref dtt on
chip drivers/intel/dptf
## sensor information