arm: tegra: p1852: Use GMI to untristate gpio X5/6
Amlan Kundu [Mon, 9 Apr 2012 10:39:39 +0000 (15:39 +0530)]
Using SPI1/SPI2 as initial pinmux for gpio X5/6 affecting spi
controller. GMI A26/27 can be pinmuxed for SPI1_CS0 and SPI1_SCK balls.
It will not affect GMI behavior because A26/27 presently not used on
p1852.

bug 927551
bug 875873

Reviewed-on: http://git-master/r/90551
(cherry-picked from 8b0123f835a671072b23abbe4fdb9d9aa16463cb)

Change-Id: If39c93daa7d1b73777b56c729b0c9b9149770440
Signed-off-by: Amlan Kundu <akundu@nvidia.com>
Reviewed-on: http://git-master/r/92499
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-by: Gerrit_Virtual_Submit

arch/arm/mach-tegra/board-p1852-pinmux.c

index 047170f..a59f659 100644 (file)
@@ -347,8 +347,8 @@ static __initdata struct tegra_pingroup_config p1852_pinmux_common[] = {
        DEFAULT_PINMUX(SDMMC3_DAT5,     SDMMC3,         NORMAL,         NORMAL,         INPUT),
        DEFAULT_PINMUX(SPI2_CS1_N,      SPI2,           NORMAL,         NORMAL,         INPUT),
        DEFAULT_PINMUX(SPDIF_OUT,       SAFE,           NORMAL,         NORMAL,         INPUT),
-       DEFAULT_PINMUX(SPI1_SCK,        SPI2,           NORMAL,         NORMAL,         INPUT),
-       DEFAULT_PINMUX(SPI1_CS0_N,      SPI2,           NORMAL,         NORMAL,         INPUT),
+       DEFAULT_PINMUX(SPI1_SCK,        GMI,            NORMAL,         NORMAL,         INPUT),
+       DEFAULT_PINMUX(SPI1_CS0_N,      GMI,            NORMAL,         NORMAL,         INPUT),
        DEFAULT_PINMUX(SPI1_MISO,       SAFE,           NORMAL,         NORMAL,         INPUT),
 };