]> git.karo-electronics.de Git - linux-beck.git/commit
i2c: designware: Add support for AMD I2C controller
authorCarl Peng <carlpeng008@gmail.com>
Tue, 30 Sep 2014 10:04:55 +0000 (13:04 +0300)
committerWolfram Sang <wsa@the-dreams.de>
Mon, 6 Oct 2014 17:50:21 +0000 (19:50 +0200)
commita445900c906092f3b49ee40a7365d0d54acc568e
tree93e68e3b3826d394d13f82ba89e52343f359a42c
parent925ddb240d6c76e56dd3aa22493f5755c452ba61
i2c: designware: Add support for AMD I2C controller

Add support for AMD version of the DW I2C host controller. The device is
enumerated from ACPI namespace with ACPI ID AMD0010. Because the core
driver needs an input source clock, and this is not an Intel LPSS device
where clocks are provided through drivers/acpi/acpi_lpss.c, we register the
clock ourselves if the clock rate is given in ->driver_data

Signed-off-by: Carl Peng <carlpeng008@gmail.com>
Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
drivers/i2c/busses/Kconfig
drivers/i2c/busses/i2c-designware-platdrv.c