arm: tegra: enterprise: Add the pull-up for ddc i2c
Alok Chauhan [Tue, 12 Jul 2011 04:51:48 +0000 (09:51 +0530)]
Add the pull-up for ddc i2c pins because there is
no internall pull-up present for ddc i2c pins.
Disable the output drain also for ddc i2c pins.

bug 833992

Original-Change-Id: Ibbc2011b74baff9177d0f26a381113a3e6a1cf7a
Reviewed-on: http://git-master/r/40541
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

Rebase-Id: R9b58d1485d786bc82773a2e5f2afdc92837b30e1

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

index 4e89f2c..0e3eaa9 100644 (file)
@@ -165,8 +165,8 @@ static __initdata struct tegra_pingroup_config enterprise_pinmux[] = {
        I2C_PINMUX(CAM_I2C_SDA,         I2C3,           NORMAL, NORMAL, INPUT,  DISABLE,        ENABLE),
 
        /* I2C4 pinmux */
-       I2C_PINMUX(DDC_SCL,             I2C4,           NORMAL, NORMAL, INPUT,  DISABLE,        ENABLE),
-       I2C_PINMUX(DDC_SDA,             I2C4,           NORMAL, NORMAL, INPUT,  DISABLE,        ENABLE),
+       I2C_PINMUX(DDC_SCL,             I2C4,           PULL_UP,NORMAL, INPUT,  DISABLE,        DISABLE),
+       I2C_PINMUX(DDC_SDA,             I2C4,           PULL_UP,NORMAL, INPUT,  DISABLE,        DISABLE),
 
        /* Power I2C pinmux */
        I2C_PINMUX(PWR_I2C_SCL,         I2CPWR,         NORMAL, NORMAL, INPUT,  DISABLE,        ENABLE),