summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Feng <ian_feng@compal.corp-partner.google.com>2023-02-23 18:01:35 +0800
committerFelix Held <felix-coreboot@felixheld.de>2023-02-27 16:45:05 +0000
commit01816e6a4f1848c89bccaea0bb87affc8c2b1f90 (patch)
treef48134596f9c66e5647ca4f02fd505810460eead
parentbd86b0c2f71bf9d04b23519147c49a2f6ec35d6e (diff)
mb/google/nissa/var/xivu: Disable world-facing microphone
Remove world-facing microphone for xivu360. Switching to world-facing camera will use the user-facing microphone to record sound. BUG=b:263927799 TEST=emerge-nissa coreboot chromeos-bootimage Change-Id: Ibb720974b6488ce4453081e0bc5b4e7f34a6b0f6 Signed-off-by: Ian Feng <ian_feng@compal.corp-partner.google.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/73233 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Reka Norman <rekanorman@chromium.org> Reviewed-by: Frank Wu <frank_wu@compal.corp-partner.google.com> Reviewed-by: John Su <john_su@compal.corp-partner.google.com> Reviewed-by: Dtrain Hsu <dtrain_hsu@compal.corp-partner.google.com>
-rw-r--r--src/mainboard/google/brya/variants/xivu/fw_config.c4
-rw-r--r--src/mainboard/google/brya/variants/xivu/gpio.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/mainboard/google/brya/variants/xivu/fw_config.c b/src/mainboard/google/brya/variants/xivu/fw_config.c
index 0bf0626bdb..9008b95d24 100644
--- a/src/mainboard/google/brya/variants/xivu/fw_config.c
+++ b/src/mainboard/google/brya/variants/xivu/fw_config.c
@@ -15,10 +15,6 @@ static const struct pad_config wfc_disable_pads[] = {
PAD_NC_LOCK(GPP_D16, NONE, LOCK_CONFIG),
/* H22 : WCAM_MCLK_R */
PAD_NC(GPP_H22, NONE),
- /* R6 : DMIC_WCAM_CLK_R */
- PAD_NC(GPP_R6, NONE),
- /* R7 : DMIC_WCAM_DATA */
- PAD_NC(GPP_R7, NONE),
};
void fw_config_gpio_padbased_override(struct pad_config *padbased_table)
diff --git a/src/mainboard/google/brya/variants/xivu/gpio.c b/src/mainboard/google/brya/variants/xivu/gpio.c
index 12fb39d59f..842699708e 100644
--- a/src/mainboard/google/brya/variants/xivu/gpio.c
+++ b/src/mainboard/google/brya/variants/xivu/gpio.c
@@ -25,6 +25,10 @@ static const struct pad_config override_gpio_table[] = {
PAD_NC(GPP_F4, NONE),
/* F5 : CRF_XTAL_CLKREQ ==> NC */
PAD_NC(GPP_F5, NONE),
+ /* R6 : DMIC_CLK_A_1A ==> NC */
+ PAD_NC(GPP_R6, NONE),
+ /* R7 : DMIC_DATA_1A ==> NC */
+ PAD_NC(GPP_R7, NONE),
};
/* Early pad configuration in bootblock */