summaryrefslogtreecommitdiff
path: root/src/mainboard/google/dedede/variants/bugzzy/gpio.c
diff options
context:
space:
mode:
authorSeunghwan Kim <sh_.kim@samsung.corp-partner.google.com>2021-11-08 15:55:52 +0900
committerTim Wawrzynczak <twawrzynczak@chromium.org>2022-01-19 03:12:10 +0000
commit58b2d86bb9aba8f299569fe994c77d537d572539 (patch)
tree45f8fd3eed34986f182c2eb44bb620ef048b57c9 /src/mainboard/google/dedede/variants/bugzzy/gpio.c
parent14a1c2778fda7e4ed25d6cd4aecfb2d4e672dbed (diff)
mb/google/dedede/var/bugzzy: Add SAR sensor
Present the Semtech SX9360 SAR sensor that protects the LTE antenna. The sensor is connected to i2c bus I2C1. BUG=b:194318328 BRANCH=dedede TEST=emerge-dedede coreboot Signed-off-by: Seunghwan Kim <sh_.kim@samsung.corp-partner.google.com> Signed-off-by: Gwendal Grignou <gwendal@chromium.org> Change-Id: I9feef9d132c60738bafb22ceb7d3468c798fab9b Reviewed-on: https://review.coreboot.org/c/coreboot/+/59609 Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/mainboard/google/dedede/variants/bugzzy/gpio.c')
-rw-r--r--src/mainboard/google/dedede/variants/bugzzy/gpio.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mainboard/google/dedede/variants/bugzzy/gpio.c b/src/mainboard/google/dedede/variants/bugzzy/gpio.c
index 16cf61b22c..6d94cece96 100644
--- a/src/mainboard/google/dedede/variants/bugzzy/gpio.c
+++ b/src/mainboard/google/dedede/variants/bugzzy/gpio.c
@@ -46,6 +46,8 @@ static const struct pad_config gpio_table[] = {
PAD_NC(GPP_E0, NONE),
/* E1 : EMR_RESET_L */
PAD_CFG_GPO(GPP_E1, 0, DEEP),
+ /* E10 : LTE_SAR_SENSOR_INT */
+ PAD_CFG_GPI_APIC(GPP_E10, NONE, PLTRST, LEVEL, NONE),
/* E13 : DDI0_DDC_SCL */
PAD_CFG_NF(GPP_E13, NONE, DEEP, NF1),
/* E14 : DDI0_DDC_SDA */