summaryrefslogtreecommitdiff
path: root/drivers/i2c/busses/i2c-xlp9xx.c
diff options
context:
space:
mode:
authorElie Morisse <syniurge@gmail.com>2019-03-05 18:13:19 +0300
committerWolfram Sang <wsa@the-dreams.de>2019-03-25 17:21:17 +0300
commit529766e0a0114438887382a68d97341fbf8349fb (patch)
treef395ffc1566849462bba7005cd81c8e22146bd71 /drivers/i2c/busses/i2c-xlp9xx.c
parent36ea73cb9a42aaf67451f6a9373777363a6ce508 (diff)
downloadlinux-529766e0a0114438887382a68d97341fbf8349fb.tar.xz
i2c: Add drivers for the AMD PCIe MP2 I2C controller
MP2 controllers have two separate busses, so may accommodate up to two I2C adapters. Those adapters are listed in the ACPI namespace with the "AMDI0011" HID, and probed by a platform driver. Communication with the MP2 takes place through MMIO registers, or through DMA for more than 32 bytes transfers. This is major rework of the patch submitted by Nehal-bakulchandra Shah from AMD (https://patchwork.kernel.org/patch/10597369/). Most of the event handling of v3 was rewritten to make it work with more than one bus (e.g on Ryzen-based Lenovo Yoga 530), and this version contains many other improvements. Signed-off-by: Elie Morisse <syniurge@gmail.com> Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Diffstat (limited to 'drivers/i2c/busses/i2c-xlp9xx.c')
0 files changed, 0 insertions, 0 deletions