]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitc7c5a490e3a0112309d948a84667acae5524acfb
treedb5abf2de8a390ddf456e2ac7f899f65c93bf7e8
parentc6aa22f06c6e1c6d7c872382991a67d5e6865e42
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