Commit 49c5529c authored by Tony Lindgren's avatar Tony Lindgren

ARM: OMAP: Disable second I2C on H4

It does not seem to be respond at all?
parent 11825ff4
...@@ -59,6 +59,10 @@ static struct platform_device omap_i2c_device2 = { ...@@ -59,6 +59,10 @@ static struct platform_device omap_i2c_device2 = {
/* See also arch/arm/plat-omap/devices.c for first I2C on 24xx */ /* See also arch/arm/plat-omap/devices.c for first I2C on 24xx */
static void omap_init_i2c(void) 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(J15_24XX_I2C2_SCL);
omap_cfg_reg(H19_24XX_I2C2_SDA); omap_cfg_reg(H19_24XX_I2C2_SDA);
(void) platform_device_register(&omap_i2c_device2); (void) platform_device_register(&omap_i2c_device2);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment