[coreboot-gerrit] Patch set updated for coreboot: db8a295 exynos5250: Add a pinmux function to set up i2s bus 0

Patrick Georgi (patrick@georgi-clan.de) gerrit at coreboot.org
Sat Dec 21 21:19:22 CET 2013


Patrick Georgi (patrick at georgi-clan.de) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/4438

-gerrit

commit db8a2952d8f68c9f32fb37f30e3e3033dabb38f2
Author: Gabe Black <gabeblack at google.com>
Date:   Mon Aug 5 22:15:21 2013 -0700

    exynos5250: Add a pinmux function to set up i2s bus 0
    
    This bus is hooked up on snow and, as it's the only bus hooked up on some
    other boards, having it available in firmware to test is handy.
    
    Change-Id: Icb48b9af4a67d382bd6fbce1e4c6a320d811d365
    Signed-off-by: Gabe Black <gabeblack at google.com>
    Reviewed-on: https://gerrit.chromium.org/gerrit/64877
    Reviewed-by: Ronald G. Minnich <rminnich at chromium.org>
    Commit-Queue: Stefan Reinauer <reinauer at google.com>
    Tested-by: Stefan Reinauer <reinauer at google.com>
---
 src/cpu/samsung/exynos5250/pinmux.c | 10 ++++++++++
 src/cpu/samsung/exynos5250/pinmux.h |  1 +
 2 files changed, 11 insertions(+)

diff --git a/src/cpu/samsung/exynos5250/pinmux.c b/src/cpu/samsung/exynos5250/pinmux.c
index ab1b25e..b5406af 100644
--- a/src/cpu/samsung/exynos5250/pinmux.c
+++ b/src/cpu/samsung/exynos5250/pinmux.c
@@ -244,6 +244,16 @@ void exynos_pinmux_dphpd(void)
 	gpio_set_pull(GPIO_X07, GPIO_PULL_NONE);
 }
 
+void exynos_pinmux_i2s0(void)
+{
+	int i;
+
+	for (i = 0; i < 5; i++) {
+		gpio_cfg_pin(GPIO_Z0 + i, GPIO_FUNC(0x02));
+		gpio_set_pull(GPIO_Z0 + i, GPIO_PULL_NONE);
+	}
+}
+
 void exynos_pinmux_i2s1(void)
 {
 	int i;
diff --git a/src/cpu/samsung/exynos5250/pinmux.h b/src/cpu/samsung/exynos5250/pinmux.h
index e5cf699..227a280 100644
--- a/src/cpu/samsung/exynos5250/pinmux.h
+++ b/src/cpu/samsung/exynos5250/pinmux.h
@@ -52,6 +52,7 @@ void exynos_pinmux_i2c7(void);
 
 void exynos_pinmux_dphpd(void);
 
+void exynos_pinmux_i2s0(void);
 void exynos_pinmux_i2s1(void);
 
 #endif



More information about the coreboot-gerrit mailing list