• Jarkko Nikula's avatar
    ARM: OMAP: Add command line option for I2C bus speed, v2 · 3a853fb9
    Jarkko Nikula authored
    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: default avatarJarkko Nikula <jarkko.nikula@nokia.com>
    Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
    3a853fb9
i2c.c 5.01 KB