On Fri, 04 Jul 2008 08:26:55 +0200 "ext Dirk Behme" <dirk.behme@xxxxxxxxxxxxxx> wrote: > - Add configuration option for this > - Use configuration option in board-omap3beagle > - Ensure correct pin mux if I2C2 is enabled, independent of settings > done by bootloader > Why this CONFIG_I2C2_OMAP_BEAGLE in mux.c? Jarkko --- linux-beagle.orig/arch/arm/mach-omap2/mux.c +++ linux-beagle/arch/arm/mach-omap2/mux.c @@ -231,10 +231,12 @@ MUX_CFG_34XX("K21_34XX_I2C1_SCL", 0x1ba, OMAP34XX_MUX_MODE0 | OMAP34XX_PIN_INPUT_PULLUP) MUX_CFG_34XX("J21_34XX_I2C1_SDA", 0x1bc, OMAP34XX_MUX_MODE0 | OMAP34XX_PIN_INPUT_PULLUP) +#ifdef CONFIG_I2C2_OMAP_BEAGLE MUX_CFG_34XX("AF15_34XX_I2C2_SCL", 0x1be, OMAP34XX_MUX_MODE0 | OMAP34XX_PIN_INPUT_PULLUP) MUX_CFG_34XX("AE15_34XX_I2C2_SDA", 0x1c0, OMAP34XX_MUX_MODE0 | OMAP34XX_PIN_INPUT_PULLUP) +#endif MUX_CFG_34XX("AF14_34XX_I2C3_SCL", 0x1c2, OMAP34XX_MUX_MODE0 | OMAP34XX_PIN_INPUT_PULLUP) MUX_CFG_34XX("AG14_34XX_I2C3_SDA", 0x1c4, -- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html