[ARM] 5278/1: i2c-pxa fast mode support
authorJonathan Cameron <jic23@cam.ac.uk>
Fri, 3 Oct 2008 14:07:36 +0000 (15:07 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Fri, 3 Oct 2008 14:57:06 +0000 (15:57 +0100)
commitc46c948260f41af18b277c1eb1895d788d3605dc
treef073823d5b3dab9cb02d231dcce591343759fa8d
parent73b610affe0b24ecb808ef68a1b0a436a4cf7bd5
[ARM] 5278/1: i2c-pxa fast mode support

Add fast_mode option to i2c_pxa_platform_data and use it to set the
ICR_FM bit appropriately when i2c_pxa_reset is called. Parameter
called fast_mode rather than frequency as this driver is also used
for the i2c_pxa_pwr bus which has different normal and fast frequencies.

Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk>
Acked-by: Eric Miao <eric.miao@marvell.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mach-pxa/include/mach/i2c.h
arch/arm/mach-pxa/include/mach/pxa-regs.h
drivers/i2c/busses/i2c-pxa.c