From 49c5529c537e9968990789d3836f5deef676204c Mon Sep 17 00:00:00 2001 From: Tony Lindgren Date: Fri, 28 Oct 2005 10:18:39 -0700 Subject: [PATCH] ARM: OMAP: Disable second I2C on H4 It does not seem to be respond at all? --- arch/arm/mach-omap2/devices.c | 4 ++++ 1 file changed, 4 insertions(+) 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); -- 2.41.1