diff options
author | Ben Zhang <benzh@google.com> | 2021-05-16 08:44:47 -0400 |
---|---|---|
committer | Tim Wawrzynczak <twawrzynczak@chromium.org> | 2021-05-20 20:40:54 +0000 |
commit | f8b0eb8f3e9ddb3f198a09d1414ab75d9670caff (patch) | |
tree | 7b0e7e650b4249d487c52dfb978603e96784b8dc /src/mainboard/google/hatch/variants/dooly/gpio.c | |
parent | 3246c5803c7c39ee349b61ed06924046b33c061e (diff) | |
download | coreboot-f8b0eb8f3e9ddb3f198a09d1414ab75d9670caff.tar.xz |
mb/google/puff/var/dooly: Add gpio_keys for mic mute switch
UI monitors this input event and sends global mic mute command to CRAS
when the physical switch is toggled.
BUG=b:184593945
BRANCH=puff
TEST=build image and verify with evtest on DUT.
Apply crrev.com/c/2870806 with chrome cmdline flag and verify global
mute is triggered.
Verify sequences of switch toggle and suspend/resume.
Change-Id: Id89947885fdd96c5b5d598bda6db127daf298dc3
Signed-off-by: Ben Zhang <benzh@google.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/54333
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
Diffstat (limited to 'src/mainboard/google/hatch/variants/dooly/gpio.c')
-rw-r--r-- | src/mainboard/google/hatch/variants/dooly/gpio.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mainboard/google/hatch/variants/dooly/gpio.c b/src/mainboard/google/hatch/variants/dooly/gpio.c index 5fd88c254c..d28f1fe86b 100644 --- a/src/mainboard/google/hatch/variants/dooly/gpio.c +++ b/src/mainboard/google/hatch/variants/dooly/gpio.c @@ -42,7 +42,7 @@ static const struct pad_config gpio_table[] = { PAD_NC(GPP_C19, NONE), /* D16 : DMIC_ON_OFF MIC_SWITCH_L */ - PAD_CFG_GPI(GPP_D16, NONE, DEEP), + PAD_CFG_GPI_GPIO_DRIVER(GPP_D16, NONE, DEEP), /* E2 : EN_PP_MST_OD */ PAD_CFG_GPO(GPP_E2, 1, DEEP), |