i2c: thunderx: Add i2c driver for ThunderX SOC
authorJan Glauber <jglauber@cavium.com>
Wed, 24 Aug 2016 21:25:44 +0000 (23:25 +0200)
committerWolfram Sang <wsa@the-dreams.de>
Thu, 25 Aug 2016 22:41:55 +0000 (00:41 +0200)
commit22d40209de3bb50cbffcc6b79f2f7c5d689d185f
tree82ca6035a1c12f5b3b4a91bfaaeae5d39a4734d4
parentad83665b4687f5a4456009487af1ea640b9b1b1b
i2c: thunderx: Add i2c driver for ThunderX SOC

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>
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]