summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMary Ruthven <mruthven@chromium.org>2022-02-28 15:03:25 -0600
committerCommit Bot <commit-bot@chromium.org>2022-03-01 20:46:00 +0000
commit9ea42018d44c9f3d9c0f857a280fc55332aa8db5 (patch)
tree129490ada7bbcfa6a6f50c7f4597464896d5c124
parentbba90682d743dd6947751dcfd50871525c2224a2 (diff)
downloadchrome-ec-9ea42018d44c9f3d9c0f857a280fc55332aa8db5.tar.gz
gpio: change A1 pinmux flag to DIO_INPUT instead of GPIO_INPUT
The DIOA1 PINMUX definition uses a GPIO flag instead of a DIO flag. It doesn't matter that much, because GPIO_INPUT maps to DIO_DIRECT_INPUT which is a noop. i2cp_set_pinmux configures the DIOA1 input in existing images. This change just modifies the flag for correctness. BUG=b:221090807 TEST=check pinmux output on spi and i2c boards. Verify it doesn't change. Change-Id: I227156e5799d872da32a87a7bcab4ae638c18c08 Signed-off-by: Mary Ruthven <mruthven@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3495872 Reviewed-by: Vadim Sukhomlinov <sukhomlinov@chromium.org> Commit-Queue: Vadim Sukhomlinov <sukhomlinov@chromium.org>
-rw-r--r--board/cr50/gpio.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/cr50/gpio.inc b/board/cr50/gpio.inc
index a89aae20b5..12ed576291 100644
--- a/board/cr50/gpio.inc
+++ b/board/cr50/gpio.inc
@@ -245,7 +245,7 @@ PINMUX(GPIO(INT_AP_L), A5, DIO_INPUT)
PINMUX(GPIO(DIOM4), M4, DIO_INPUT)
PINMUX(GPIO(EC_FLASH_SELECT), B2, DIO_INPUT)
-PINMUX(GPIO(MONITOR_I2CP_SDA), A1, GPIO_INPUT)
+PINMUX(GPIO(MONITOR_I2CP_SDA), A1, DIO_INPUT)
/*
* Update closed_source_set1.c if pinmux for EN_PP3300_INA_L is changed or