]> git.baikalelectronics.ru Git - kernel.git/commit
i2c: designware: Enable fast mode plus
authorWeifeng Voon <weifeng.voon@intel.com>
Fri, 12 Aug 2016 14:02:49 +0000 (17:02 +0300)
committerWolfram Sang <wsa@the-dreams.de>
Thu, 25 Aug 2016 22:42:05 +0000 (00:42 +0200)
commit5398aa1c7d28d1b3f267116a7cbae5f9072a88b0
treeb560469cebb07a4749afbed85c071a00c7203e7b
parent02aea5664b108de51fa16d45fc55e4e15ae77d36
i2c: designware: Enable fast mode plus

This patch enabled fast mode plus. The fast mode plus and fast speed
share the same HCNT and LCNT register. So, the fast mode plus will only
run when the HCNT and LCNT value is provided. Else, it will run at fast
speed as default.

Signed-off-by: Weifeng Voon <weifeng.voon@intel.com>
Signed-off-by: Jarkko Nikula <jarkko.nikula@linux.intel.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
drivers/i2c/busses/i2c-designware-core.c
drivers/i2c/busses/i2c-designware-platdrv.c