summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorvsujithk <vsujithk@codeaurora.org>2020-05-14 12:50:24 +0530
committerJulius Werner <jwerner@chromium.org>2020-09-09 22:08:19 +0000
commit32aed01c6a97d3ef53afbd22a1bff52ee6cc3061 (patch)
tree85710f1fa694eb88a9d1f810139e0794d44251fd /src
parentb05e5402179fb643fecd934ccced3cd4510947ab (diff)
sc7180: GPIO: Add I2S configuration for google/trogdor
Configure GPIO pins as I2S mode for audio speaker. The audio speaker does not work on Trogdor revision 1, as the layout was changed. Developer/Reviewer reference, be aware of this issue: https://partnerissuetracker.corp.google.com/issues/146533652 Change-Id: Ia4bbfea591a3231640b53e64f0e4e9d43c4437a3 Signed-off-by: vsujithk <vsujithk@codeaurora.org> Reviewed-on: https://review.coreboot.org/c/coreboot/+/41428 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Julius Werner <jwerner@chromium.org>
Diffstat (limited to 'src')
-rw-r--r--src/mainboard/google/trogdor/mainboard.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mainboard/google/trogdor/mainboard.c b/src/mainboard/google/trogdor/mainboard.c
index 4d6e352a85..349c3064c3 100644
--- a/src/mainboard/google/trogdor/mainboard.c
+++ b/src/mainboard/google/trogdor/mainboard.c
@@ -22,13 +22,13 @@ static void qi2s_configure_gpios(void)
{
gpio_configure(GPIO(49), GPIO49_FUNC_MI2S_1_SCK,
- GPIO_PULL_UP, GPIO_8MA, GPIO_OUTPUT);
+ GPIO_NO_PULL, GPIO_8MA, GPIO_OUTPUT);
gpio_configure(GPIO(50), GPIO50_FUNC_MI2S_1_WS,
- GPIO_PULL_UP, GPIO_8MA, GPIO_OUTPUT);
+ GPIO_NO_PULL, GPIO_8MA, GPIO_OUTPUT);
gpio_configure(GPIO(51), GPIO51_FUNC_MI2S_1_DATA0,
- GPIO_PULL_UP, GPIO_8MA, GPIO_OUTPUT);
+ GPIO_NO_PULL, GPIO_8MA, GPIO_OUTPUT);
}
static void load_qup_fw(void)