[PATCH 2/2] i2c: designware: enable High-speed mode for pcidrv

2015-10-09 Thread wangxfdu
From: Xiang Wang 1. Support setting hs_hcnt and hs_lcnt 2. Get bus speed mode from ACPI companion of the i2c controller. Signed-off-by: Xiang Wang --- drivers/i2c/busses/i2c-designware-pcidrv.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/drivers/i2c/busses/i2c-designware-pcidrv.

[PATCH 1/2] i2c: designware: add High-speed mode support

2015-10-09 Thread wangxfdu
From: Xiang Wang 1. Add High-speed mode support in designware core 2. Add function i2c_dw_acpi_setup_speed to determine the bus speed from ACPI table. Signed-off-by: Xiang Wang --- drivers/i2c/busses/i2c-designware-core.c | 88 drivers/i2c/busses/i2c-designware