From: Tony Lindgren Date: Fri, 28 Oct 2005 17:18:39 +0000 (-0700) Subject: ARM: OMAP: Disable second I2C on H4 X-Git-Tag: v2.6.15-omap2~122 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=49c5529c537e9968990789d3836f5deef676204c;p=linux-2.6-omap-h63xx.git ARM: OMAP: Disable second I2C on H4 It does not seem to be respond at all? --- diff --git a/arch/arm/mach-omap2/devices.c b/arch/arm/mach-omap2/devices.c index f3d9e1bb835..1cf70d38276 100644 --- a/arch/arm/mach-omap2/devices.c +++ b/arch/arm/mach-omap2/devices.c @@ -59,6 +59,10 @@ static struct platform_device omap_i2c_device2 = { /* See also arch/arm/plat-omap/devices.c for first I2C on 24xx */ static void omap_init_i2c(void) { + /* REVISIT: Second I2C not in use on H4? */ + if (machine_is_omap_h4()) + return; + omap_cfg_reg(J15_24XX_I2C2_SCL); omap_cfg_reg(H19_24XX_I2C2_SDA); (void) platform_device_register(&omap_i2c_device2);