i2c-omap: Add high-speed support to omap-i2c
authorSyed Mohammed Khasim <x0khasim@ti.com>
Fri, 21 Nov 2008 21:39:45 +0000 (13:39 -0800)
committerTony Lindgren <tony@atomide.com>
Fri, 21 Nov 2008 21:39:45 +0000 (13:39 -0800)
commit4574eb6892a13bc91aac8676457d46798935d653
treea73fea64da35f918cc472aee00ac9a1fb59c60c6
parent0cbbcffdf5f30ef60d918549014684eada4f5b3f
i2c-omap: Add high-speed support to omap-i2c

Omap2430 has additional support for high-speed I2C.

This patch moves I2C speed parameter (from module) to platform data.
Also added basic High Speed support based on I2C bus speed.

This patch is tested for high speed I2C (with TWL4030 Keypad) and works as
expected.

Also change the 2430 i2chs_fck names to use the standard naming.

Cc: Russell King <linux@arm.linux.org.uk>
Signed-off-by: Syed Mohammed Khasim <x0khasim@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/clock24xx.h
drivers/i2c/busses/i2c-omap.c