]> git.karo-electronics.de Git - karo-tx-linux.git/commit
i2c-designware: Move retriveving the clock speed out of core code.
authorDirk Brandewie <dirk.brandewie@gmail.com>
Thu, 6 Oct 2011 18:26:30 +0000 (11:26 -0700)
committerBen Dooks <ben-linux@fluff.org>
Mon, 10 Oct 2011 23:50:11 +0000 (00:50 +0100)
commitadef5f984dcbb22924bf58b394e7cc6103ba424c
treed9fce324279cf7dc6662899ff3927182dfd3670a
parente19e848eedb9c70f7394a9b88a187634ef408b21
i2c-designware: Move retriveving the clock speed out of core code.

The clock frequecy supplied to the IP core is specific to a single
instance of the driver.  This patch makes it possible to have multiple
Designware I2C cores in the system possibly running at different core
frequencies.

Signed-off-by: Dirk Brandewie <dirk.brandewie@gmail.com>
Signed-off-by: Ben Dooks <ben-linux@fluff.org>
drivers/i2c/busses/i2c-designware-core.c
drivers/i2c/busses/i2c-designware-core.h
drivers/i2c/busses/i2c-designware-platdrv.c