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

dann frazier dann.frazier at canonical.com
Wed Aug 2 22:45:02 UTC 2017


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

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);
-- 
2.13.3





More information about the kernel-team mailing list