arm: tegra: cardhu: Setting i2c pimux to normal and OpenDrain
Alok Chauhan [Mon, 28 Mar 2011 06:41:07 +0000 (11:41 +0530)]
Change the pull-up-down to NORMAL and enable the output drain
for i2c pins.

Original-Change-Id: I72a66cc0c348350f7459658ffdb6f54226be12f6
Reviewed-on: http://git-master/r/24438
Reviewed-by: Alok Chauhan <alokc@nvidia.com>
Tested-by: Alok Chauhan <alokc@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Original-Change-Id: Ibb8f2cddb74db035ad80952a161fa170bc577a9d

Rebase-Id: R3e6ffe1b00979741b2a8cf53e9605a180f65a7fa

arch/arm/mach-tegra/board-cardhu-pinmux.c [changed mode: 0644->0755]

old mode 100644 (file)
new mode 100755 (executable)
index 4ae6032..adfa05c
@@ -153,24 +153,24 @@ static __initdata struct tegra_pingroup_config cardhu_pinmux_common[] = {
        DEFAULT_PINMUX(SDMMC4_RST_N,    RSVD1,           PULL_DOWN,    NORMAL,     INPUT),
 
        /* I2C1 pinmux */
-       I2C_PINMUX(GEN1_I2C_SCL,        I2C1,           PULL_UP,        NORMAL, INPUT,  DISABLE,        DISABLE),
-       I2C_PINMUX(GEN1_I2C_SDA,        I2C1,           PULL_UP,        NORMAL, INPUT,  DISABLE,        DISABLE),
+       I2C_PINMUX(GEN1_I2C_SCL,        I2C1,           NORMAL, NORMAL, INPUT,  DISABLE,        ENABLE),
+       I2C_PINMUX(GEN1_I2C_SDA,        I2C1,           NORMAL, NORMAL, INPUT,  DISABLE,        ENABLE),
 
        /* I2C2 pinmux */
-       I2C_PINMUX(GEN2_I2C_SCL,        I2C2,           PULL_UP,        NORMAL, INPUT,  DISABLE,        DISABLE),
-       I2C_PINMUX(GEN2_I2C_SDA,        I2C2,           PULL_UP,        NORMAL, INPUT,  DISABLE,        DISABLE),
+       I2C_PINMUX(GEN2_I2C_SCL,        I2C2,           NORMAL, NORMAL, INPUT,  DISABLE,        ENABLE),
+       I2C_PINMUX(GEN2_I2C_SDA,        I2C2,           NORMAL, NORMAL, INPUT,  DISABLE,        ENABLE),
 
        /* I2C3 pinmux */
-       I2C_PINMUX(CAM_I2C_SCL,         I2C3,           PULL_UP,        NORMAL, INPUT,  DISABLE,        DISABLE),
-       I2C_PINMUX(CAM_I2C_SDA,         I2C3,           PULL_UP,        NORMAL, INPUT,  DISABLE,        DISABLE),
+       I2C_PINMUX(CAM_I2C_SCL,         I2C3,           NORMAL, NORMAL, INPUT,  DISABLE,        ENABLE),
+       I2C_PINMUX(CAM_I2C_SDA,         I2C3,           NORMAL, NORMAL, INPUT,  DISABLE,        ENABLE),
 
        /* I2C4 pinmux */
-       I2C_PINMUX(DDC_SCL,             I2C4,           PULL_UP,        NORMAL, INPUT,  DISABLE,        DISABLE),
-       I2C_PINMUX(DDC_SDA,             I2C4,           PULL_UP,        NORMAL, INPUT,  DISABLE,        DISABLE),
+       I2C_PINMUX(DDC_SCL,             I2C4,           NORMAL, NORMAL, INPUT,  DISABLE,        ENABLE),
+       I2C_PINMUX(DDC_SDA,             I2C4,           NORMAL, NORMAL, INPUT,  DISABLE,        ENABLE),
 
        /* Power I2C pinmux */
-       I2C_PINMUX(PWR_I2C_SCL,         I2CPWR,         PULL_UP,        NORMAL, INPUT,  DISABLE,        DISABLE),
-       I2C_PINMUX(PWR_I2C_SDA,         I2CPWR,         PULL_UP,        NORMAL, INPUT,  DISABLE,        DISABLE),
+       I2C_PINMUX(PWR_I2C_SCL,         I2CPWR,         NORMAL, NORMAL, INPUT,  DISABLE,        ENABLE),
+       I2C_PINMUX(PWR_I2C_SDA,         I2CPWR,         NORMAL, NORMAL, INPUT,  DISABLE,        ENABLE),
 
        DEFAULT_PINMUX(ULPI_DATA0,      UARTA,           NORMAL,    NORMAL,     OUTPUT),
        DEFAULT_PINMUX(ULPI_DATA1,      UARTA,           NORMAL,    NORMAL,     INPUT),