mb/google/brya/var/banshee: Add camera privacy setting

Using the GPP_F19 as privacy switch for camera in banshee.

BUG=b:223712143, b:216110896
TEST=emerge-brya coreboot chromeos-bootimage

Signed-off-by: Frank Wu <frank_wu@compal.corp-partner.google.com>
Change-Id: I67d65347ceac7152f1951018a633a2e93ee84e14
Reviewed-on: https://review.coreboot.org/c/coreboot/+/62780
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Eric Lai <eric_lai@quanta.corp-partner.google.com>
This commit is contained in:
Frank Wu 2022-03-14 15:52:00 +08:00 committed by Felix Held
parent 9b565de3a0
commit bd0ba39172
2 changed files with 3 additions and 2 deletions

View File

@ -180,8 +180,8 @@ static const struct pad_config override_gpio_table[] = {
PAD_NC_LOCK(GPP_F16, NONE, LOCK_CONFIG), PAD_NC_LOCK(GPP_F16, NONE, LOCK_CONFIG),
/* F17 : THC1_SPI2_RST# ==> EC_PCH_INT_ODL */ /* F17 : THC1_SPI2_RST# ==> EC_PCH_INT_ODL */
/* F18 : THC1_SPI2_INT# ==> EC_IN_RW_OD */ /* F18 : THC1_SPI2_INT# ==> EC_IN_RW_OD */
/* F19 : SRCCLKREQ6# ==> NC */ /* F19 : SRCCLKREQ6# ==> CAM_SW */
PAD_NC(GPP_F19, NONE), PAD_CFG_GPI_INT(GPP_F19, NONE, PLTRST, EDGE_BOTH),
/* F20 : EXT_PWR_GATE# ==> NC */ /* F20 : EXT_PWR_GATE# ==> NC */
PAD_NC(GPP_F20, NONE), PAD_NC(GPP_F20, NONE),
/* F21 : EXT_PWR_GATE2# ==> NC */ /* F21 : EXT_PWR_GATE2# ==> NC */

View File

@ -312,6 +312,7 @@ chip soc/intel/alderlake
chip drivers/usb/acpi chip drivers/usb/acpi
register "desc" = ""USB2 Camera"" register "desc" = ""USB2 Camera""
register "type" = "UPC_TYPE_INTERNAL" register "type" = "UPC_TYPE_INTERNAL"
register "privacy_gpio" = "ACPI_GPIO_INPUT_ACTIVE_LOW(GPP_F19)"
device ref usb2_port6 on end device ref usb2_port6 on end
end end
chip drivers/usb/acpi chip drivers/usb/acpi