diff options
author | Frank Wu <frank_wu@compal.corp-partner.google.com> | 2022-03-14 15:52:00 +0800 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2022-03-15 19:19:21 +0000 |
commit | bd0ba391720920afe231a033f0af7383d1511684 (patch) | |
tree | 4dac78d599aaebe1acbb0669c836d5cc475c77ea /src/mainboard | |
parent | 9b565de3a020106a3dc4bb0f1e23ad964974c4e9 (diff) |
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>
Diffstat (limited to 'src/mainboard')
-rw-r--r-- | src/mainboard/google/brya/variants/banshee/gpio.c | 4 | ||||
-rw-r--r-- | src/mainboard/google/brya/variants/banshee/overridetree.cb | 1 |
2 files changed, 3 insertions, 2 deletions
diff --git a/src/mainboard/google/brya/variants/banshee/gpio.c b/src/mainboard/google/brya/variants/banshee/gpio.c index 9bf6518da0..75a274336d 100644 --- a/src/mainboard/google/brya/variants/banshee/gpio.c +++ b/src/mainboard/google/brya/variants/banshee/gpio.c @@ -180,8 +180,8 @@ static const struct pad_config override_gpio_table[] = { PAD_NC_LOCK(GPP_F16, NONE, LOCK_CONFIG), /* F17 : THC1_SPI2_RST# ==> EC_PCH_INT_ODL */ /* F18 : THC1_SPI2_INT# ==> EC_IN_RW_OD */ - /* F19 : SRCCLKREQ6# ==> NC */ - PAD_NC(GPP_F19, NONE), + /* F19 : SRCCLKREQ6# ==> CAM_SW */ + PAD_CFG_GPI_INT(GPP_F19, NONE, PLTRST, EDGE_BOTH), /* F20 : EXT_PWR_GATE# ==> NC */ PAD_NC(GPP_F20, NONE), /* F21 : EXT_PWR_GATE2# ==> NC */ diff --git a/src/mainboard/google/brya/variants/banshee/overridetree.cb b/src/mainboard/google/brya/variants/banshee/overridetree.cb index 8729b3a599..9601d0579b 100644 --- a/src/mainboard/google/brya/variants/banshee/overridetree.cb +++ b/src/mainboard/google/brya/variants/banshee/overridetree.cb @@ -312,6 +312,7 @@ chip soc/intel/alderlake chip drivers/usb/acpi register "desc" = ""USB2 Camera"" register "type" = "UPC_TYPE_INTERNAL" + register "privacy_gpio" = "ACPI_GPIO_INPUT_ACTIVE_LOW(GPP_F19)" device ref usb2_port6 on end end chip drivers/usb/acpi |