]> pilppa.org Git - linux-2.6-omap-h63xx.git/commit
ARM: OMAP: Add command line option for I2C bus speed
authorJarkko Nikula <jarkko.nikula@nokia.com>
Mon, 9 Feb 2009 07:59:56 +0000 (07:59 +0000)
committerTony Lindgren <tony@atomide.com>
Fri, 20 Feb 2009 18:58:35 +0000 (10:58 -0800)
commit2c3108e200ff4705e59208ad0e8cef41efb4e594
treedcdc9ae64d7c1bde5ab04a05d9201d3e4172a7e3
parent396acadff2b15c96f4bb91b73b2504e177d969d6
ARM: OMAP: Add command line option for I2C bus speed

This patch adds a new command line option "i2c_bus=bus_id,clkrate" into
I2C bus registration helper. Purpose of the option is to override the
default board specific bus speed which is supplied by the
omap_register_i2c_bus.

The default bus speed is typically set to speed of slowest I2C chip on the
bus and overriding allow to use some experimental configurations or updated
chip versions without any kernel modifications.

Signed-off-by: Jarkko Nikula <jarkko.nikula@nokia.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/plat-omap/i2c.c