]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit
i2c: thunderx: Add i2c driver for ThunderX SOC
authorJan Glauber <jglauber@cavium.com>
Wed, 24 Aug 2016 21:25:44 +0000 (23:25 +0200)
committerKleber Sacilotto de Souza <kleber.souza@canonical.com>
Tue, 20 Jun 2017 10:17:05 +0000 (12:17 +0200)
commit45d013377300011cf952ec12ae62797316573a70
tree0785da7fa9ff35bbdfa6103506080d726b42f791
parente5a6086877a03ebf285f2d81171109dbef050504
i2c: thunderx: Add i2c driver for ThunderX SOC

BugLink: https://bugs.launchpad.net/bugs/1688132
The ThunderX SOC uses the same i2c block as the Octeon SOC.
The main difference is that on ThunderX the device is a PCI device
so device probing is done via PCI, interrupts are MSI-X. The
clock rates can be set via device tree or ACPI.

Signed-off-by: Jan Glauber <jglauber@cavium.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
(cherry picked from commit 22d40209de3bb50cbffcc6b79f2f7c5d689d185f)
Signed-off-by: dann frazier <dann.frazier@canonical.com>
Acked-by: Colin King <colin.king@canonical.com>
Acked-by: Stefan Bader <stefan.bader@canonical.com>
Signed-off-by: Thadeu Lima de Souza Cascardo <cascardo@canonical.com>
drivers/i2c/busses/Kconfig
drivers/i2c/busses/Makefile
drivers/i2c/busses/i2c-octeon-core.h
drivers/i2c/busses/i2c-thunderx-pcidrv.c [new file with mode: 0644]