exynos5250: When enabling the I2S pins, turn off pull ups/downs.

These pins will be driven by the internal controller which shouldn't have pull
ups or downs in the pin fighting with them.

Change-Id: I579aed84ace45d8f5f1d3ca64c064d98de842b57
Signed-off-by: Gabe Black <gabeblack@chromium.org>
Reviewed-on: http://review.coreboot.org/3649
Tested-by: build bot (Jenkins)
Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
This commit is contained in:
Gabe Black 2013-05-18 15:52:01 -07:00 committed by Stefan Reinauer
parent ea9c98d454
commit 63dd2cb62a
1 changed files with 3 additions and 1 deletions

View File

@ -286,8 +286,10 @@ int exynos_pinmux_config(enum periph_id peripheral, int flags)
gpio_set_pull(GPIO_X07, GPIO_PULL_NONE); gpio_set_pull(GPIO_X07, GPIO_PULL_NONE);
break; break;
case PERIPH_ID_I2S1: case PERIPH_ID_I2S1:
for (i = 0; i < 5; i++) for (i = 0; i < 5; i++) {
gpio_cfg_pin(GPIO_B00 + i, GPIO_FUNC(0x02)); gpio_cfg_pin(GPIO_B00 + i, GPIO_FUNC(0x02));
gpio_set_pull(GPIO_B00 + i, GPIO_PULL_NONE);
}
break; break;
default: default:
printk(BIOS_DEBUG, "%s: invalid peripheral %d", __func__, peripheral); printk(BIOS_DEBUG, "%s: invalid peripheral %d", __func__, peripheral);