ARM: OMAP3: Revert "Make I2C bus 2 configurable for BeagleBoard"
cover ARM: OMAP3: Revert "Make I2C bus 2 configurable for BeagleBoard"
Hi
This Dirk's patch is not needed anymore since Tony pushed my RFC patches for command line option "i2c_bus=bus_id,clkrate" in.
Note this revert removes also worth OMAP I2C help text change so would you Dirk like to bring it back by sending it to linux-i2c list?
I tested this by hooking older I2C eeprom X24C16P into second I2C bus of Beagle, adding platform data and i2c_register_board_info for it and by defining "i2c_bus=2,100" command line option. Surprisingly I was able to read that EEPROM even it is rated for 2.7-5.5 V while Beagle I2C2 is in 1.8 V IO (and from what domain I powered the X24C16P) :-)
Signature · 1 line
Jarkko
PATCH 1/1 ARM: OMAP3: Revert "Make I2C bus 2 configurable for BeagleBoard"
This is manual revert for commit bae4b6a716ccf3247a1991d3c20b5e58ddd52890. CONFIG_I2C2_OMAP_BEAGLE is not needed anymore since additional busses can be registered on the command line by the commit ea9fcdaff4e9a6830833f3351eb44f6025df60e4.
This change makes drivers/i2c/busses/Kconfig sync with the mainline.
--- arch/arm/mach-omap2/board-omap3beagle.c | 3 --- drivers/i2c/busses/Kconfig | 20 ++------------------ 2 files changed, 2 insertions(+), 21 deletions(-)
arch/arm/mach-omap2/board-omap3beagle.c +0 -3
@@ -240,9 +240,6 @@ static int __init omap3_beagle_i2c_init(void) {omap_register_i2c_bus (1 ,2600 , beagle_i2c_boardinfo,ARRAY_SIZE (beagle_i2c_boardinfo)); -#ifdef CONFIG_I2C2_OMAP_BEAGLE -omap_register_i2c_bus (2 ,400 ,NULL ,0 ); -#endif /* Bus 3 is attached to the DVI port where devices like the pico DLP * projector don't work reliably with 400kHz */ omap_register_i2c_bus (3 ,100 ,NULL ,0 );
drivers/i2c/busses/Kconfig +2 -18
@@ -418,26 +418,10 @@ config I2C_OMAP default y if MACH_OMAP_H3 || MACH_OMAP_OSK help If you say yes to this option, support will be included for the - I2C interface on the Texas Instruments OMAP1/2/3 family of - processors. - Like OMAP1510/1610/1710/5912, OMAP242x, OMAP34x and OMAP35x. + I2C interface on the Texas Instruments OMAP1/2 family of processors. + Like OMAP1510/1610/1710/5912 and OMAP242x. For details see http://www.ti.com/omap. -config I2C2_OMAP_BEAGLE - bool "Enable I2C2 for OMAP3 BeagleBoard" - depends on ARCH_OMAP && MACH_OMAP3_BEAGLE - select OMAP_MUX - default n - help - Say Y here if you want to enable I2C bus 2 at OMAP3 based - BeagleBoard. - I2C2 at BeagleBoard is connected to expansion connector, i.e. unused - if nothing is connected to this connector. As internal OMAP3 pull up - resistors are not strong enough, enabled but unused I2C2 bus results - in error messages (e.g. I2C timeouts). Enable this only if you have - something connected to I2C2 at board's expansion connector and this - extension has additional pull up resistors for I2C2 bus. - config I2C_PASEMI tristate "PA Semi SMBus interface" depends on PPC_PASEMI && PCI
Signature · 1 line
1.5.6.5