i2c: designware-pci: set ideal HCNT, LCNT and SDA hold time value
authorChew, Chiau Ee <chiau.ee.chew@intel.com>
Tue, 11 Mar 2014 11:33:45 +0000 (19:33 +0800)
committerWolfram Sang <wsa@the-dreams.de>
Wed, 12 Mar 2014 07:14:04 +0000 (08:14 +0100)
commit8efd1e9ee3bd55e20cb36e56ca53096cf2b3a930
treedb5abf2de8a390ddf456e2ac7f899f65c93bf7e8
parent4fda99627dc037d3b316c3b3250075645cfcbe4d
i2c: designware-pci: set ideal HCNT, LCNT and SDA hold time value

On Intel BayTrail, there was case whereby the resulting fast mode
bus speed becomes slower (~20% slower compared to expected speed)
if using the HCNT/LCNT calculated in the core layer. Thus, this
patch is added to allow pci glue layer to pass in optimal
HCNT/LCNT/SDA hold time values to core layer since the core
layer supports cofigurable HCNT/LCNT/SDA hold time values now.

Signed-off-by: Chew, Chiau Ee <chiau.ee.chew@intel.com>
Acked-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
drivers/i2c/busses/i2c-designware-pcidrv.c