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. BUG=None TEST=Built and booted on snow. BRANCH=None Change-Id: Ia0fc84cd4575e80b2148dce27e14bb7e5042d473 Reviewed-on: https://gerrit.chromium.org/gerrit/55634 Commit-Queue: Stefan Reinauer <reinauer@google.com> Reviewed-by: Stefan Reinauer <reinauer@google.com> Tested-by: Stefan Reinauer <reinauer@google.com>
This commit is contained in:
parent
ab60566e91
commit
cc5eed84d0
1 changed files with 3 additions and 1 deletions
|
|
@ -286,8 +286,10 @@ int exynos_pinmux_config(enum periph_id peripheral, int flags)
|
|||
gpio_set_pull(GPIO_X07, GPIO_PULL_NONE);
|
||||
break;
|
||||
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_set_pull(GPIO_B00 + i, GPIO_PULL_NONE);
|
||||
}
|
||||
break;
|
||||
default:
|
||||
printk(BIOS_DEBUG, "%s: invalid peripheral %d", __func__, peripheral);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue