[2/2,Artful,SRU,Zesty] i2c: designware: Add ACPI HID for Hisilicon Hip07/08 I2C controller

Submitted by dann frazier on Aug. 2, 2017, 10:45 p.m.

Details

Message ID 20170802224502.31700-3-dann.frazier@canonical.com
State New
Headers show

Commit Message

dann frazier Aug. 2, 2017, 10:45 p.m.
From: Hanjun Guo <hanjun.guo@linaro.org>

BugLink: https://bugs.launchpad.net/bugs/1708293

Add ACPI HID HISI02A1 and HISI02A2 for Hisilicon Hip07/08,
which have different clock frequency.

Signed-off-by: Hanjun Guo <hanjun.guo@linaro.org>
Acked-by: Jarkko Nikula <jarkko.nikula@linux.intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
(cherry picked from commit 58dd8abfad028633d36e2ba81109bd62f6e6e215)
Signed-off-by: dann frazier <dann.frazier@canonical.com>
---
 drivers/i2c/busses/i2c-designware-platdrv.c | 2 ++
 1 file changed, 2 insertions(+)

Patch hide | download patch | download mbox

diff --git a/drivers/i2c/busses/i2c-designware-platdrv.c b/drivers/i2c/busses/i2c-designware-platdrv.c
index 6ce431323125..25776d4d89d6 100644
--- a/drivers/i2c/busses/i2c-designware-platdrv.c
+++ b/drivers/i2c/busses/i2c-designware-platdrv.c
@@ -128,6 +128,8 @@  static const struct acpi_device_id dw_i2c_acpi_match[] = {
 	{ "AMDI0010", ACCESS_INTR_MASK },
 	{ "AMDI0510", 0 },
 	{ "APMC0D0F", 0 },
+	{ "HISI02A1", 0 },
+	{ "HISI02A2", 0 },
 	{ }
 };
 MODULE_DEVICE_TABLE(acpi, dw_i2c_acpi_match);