summaryrefslogtreecommitdiff
path: root/src/mainboard/google/brya/variants/trulo/gpio.c
diff options
context:
space:
mode:
authorVarun Upadhyay <varun.upadhyay@intel.com>2024-09-13 17:28:54 +0530
committerSubrata Banik <subratabanik@google.com>2024-09-17 09:14:20 +0000
commit7cc5cdd38586f5f6eaccb03c134477c46406bcc0 (patch)
tree2874ec2aa0e47070e9633213f64bf0c1f804f826 /src/mainboard/google/brya/variants/trulo/gpio.c
parentb9a09786bcc7f98735d23a58a9119cb4a744b923 (diff)
mb/google/brya/var/trulo: Update ISH GPIO config for tablet mode switch
This patch configures the GPIO pins for ISH to notify EC about the tablet mode change in accordance with schematic_20240607. BUG=b:347811875 TEST=Build and boot google/trulo. Placed the device in tabletmode & on EC console,"tabletmode" command shows "tablet mode". Change-Id: Id22e397e46b522428ffdabe34a445ed7e4fb6fc5 Signed-off-by: Varun Upadhyay <varun.upadhyay@intel.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/84351 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Subrata Banik <subratabanik@google.com> Reviewed-by: V Sowmya <v.sowmya@intel.com> Reviewed-by: Eric Lai <ericllai@google.com>
Diffstat (limited to 'src/mainboard/google/brya/variants/trulo/gpio.c')
-rw-r--r--src/mainboard/google/brya/variants/trulo/gpio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mainboard/google/brya/variants/trulo/gpio.c b/src/mainboard/google/brya/variants/trulo/gpio.c
index 1651b082f6..ddbb0fb6f8 100644
--- a/src/mainboard/google/brya/variants/trulo/gpio.c
+++ b/src/mainboard/google/brya/variants/trulo/gpio.c
@@ -122,7 +122,7 @@ static const struct pad_config gpio_table[] = {
/* D1 : ISH_GP1 ==> SOC_GSEN2_INT# */
PAD_CFG_NF(GPP_D1, NONE, DEEP, NF1),
/* D2 : ISH_GP2 ==> SEN_MODE_EC_PCH_INT_ODL */
- PAD_CFG_GPI_LOCK(GPP_D2, NONE, LOCK_CONFIG),
+ PAD_CFG_NF(GPP_D2, NONE, DEEP, NF1),
/* D3 : NC */
PAD_NC_LOCK(GPP_D3, NONE, LOCK_CONFIG),
/* D4 : NC */