From 4c2a4cd925e872971074bf433cbd6f5a02c2e41a Mon Sep 17 00:00:00 2001 From: Wisley Chen Date: Tue, 11 Mar 2025 08:42:07 +0800 Subject: [PATCH] mb/google/brya/var/anahera: Disable smart card reader power saving Disable smart card reader power saving as W/A to avoid detect issue BUG=b:383375529 TEST=Check whether the smart card reader exists without a card inserted localhost~# lsusb Bus 004 Device 009: ID 2cb7:0007 Fibocom Wireless Inc. L850-GL Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 003 Device 010: ID 058f:9540 Alcor Micro Corp. AU9540 Smartcard Reader Bus 003 Device 002: ID 0408:5479 Quanta Computer, Inc. HP 5M Camera Bus 003 Device 012: ID 0bda:8153 Realtek Semiconductor Corp. USB 10/100/1000 LAN Bus 003 Device 004: ID 8087:0033 Intel Corp. Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Change-Id: Idfff67b8fadd2ca07572fb3dad8bdffbbf7acad0 Signed-off-by: Wisley Chen Reviewed-on: https://review.coreboot.org/c/coreboot/+/86805 Tested-by: build bot (Jenkins) Reviewed-by: Eric Lai Reviewed-by: Subrata Banik --- src/mainboard/google/brya/variants/anahera/gpio.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/mainboard/google/brya/variants/anahera/gpio.c b/src/mainboard/google/brya/variants/anahera/gpio.c index 9c7332011a..90b0bf8e52 100644 --- a/src/mainboard/google/brya/variants/anahera/gpio.c +++ b/src/mainboard/google/brya/variants/anahera/gpio.c @@ -61,8 +61,11 @@ static const struct pad_config override_gpio_table[] = { PAD_CFG_GPO(GPP_E16, 1, DEEP), /* E20 : USB_C1_LSX_SOC_TX ==> EN_PP3300_eMMC */ PAD_CFG_GPO(GPP_E20, 1, DEEP), - /* E22 : DDPA_CTRLCLK ==> SC_PWR_SV */ - PAD_CFG_GPO(GPP_E22, 1, DEEP), + /* + * E22 : DDPA_CTRLCLK ==> SC_PWR_SV + * 0: normal mode; 1: power saving mode + */ + PAD_CFG_GPO(GPP_E22, 0, DEEP), /* E23 : DDPA_CTRLDATA ==> NC */ PAD_NC(GPP_E23, NONE),