]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
ARM: OMAP: Add command line option for I2C bus speed, v2
authorJarkko Nikula <jarkko.nikula@nokia.com>
Tue, 24 Mar 2009 01:07:47 +0000 (18:07 -0700)
committerTony Lindgren <tony@atomide.com>
Tue, 24 Mar 2009 01:51:20 +0000 (18:51 -0700)
commit3a853fb933ddf9c5ea8c9f7c665dd8def26bceae
tree7fea1d04ad338993c3109b68f224525332831766
parentd4c58bf45a9a1668cb850e02a2e1aad785bd9325
ARM: OMAP: Add command line option for I2C bus speed, v2

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.

Cc: linux-i2c@vger.kernel.org
Signed-off-by: Jarkko Nikula <jarkko.nikula@nokia.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Documentation/kernel-parameters.txt
arch/arm/plat-omap/i2c.c