i2c: designware: get fast plus and high speed *CNT configuration
authorWeifeng Voon <weifeng.voon@intel.com>
Fri, 12 Aug 2016 14:02:48 +0000 (17:02 +0300)
committerWolfram Sang <wsa@the-dreams.de>
Thu, 25 Aug 2016 22:42:03 +0000 (00:42 +0200)
commita92ec1746f10e339220bf186c4f6cce531b8a7ee
tree885970678d525d0ed62e3aaa6e196e175539424a
parent19c0a5399fe46218c2b5a5c17a01cf60f91ff5ae
i2c: designware: get fast plus and high speed *CNT configuration

I2C designware controller can run at fast mode plus and high speed. This
patch adds the capability to get the HCNT, LCNT configuration via
FPCN (fast plus) and HSCN (high speed) ACPI method.

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.h
drivers/i2c/busses/i2c-designware-platdrv.c