]> git.baikalelectronics.ru Git - kernel.git/commit
i2c: Driver to expose PowerNV platform i2c busses
authorNeelesh Gupta <neelegup@linux.vnet.ibm.com>
Sat, 13 Dec 2014 18:01:05 +0000 (23:31 +0530)
committerMichael Ellerman <mpe@ellerman.id.au>
Sun, 14 Dec 2014 01:44:46 +0000 (12:44 +1100)
commit2b0606e8baa708354776ff2c8b28bff1a93df9b6
tree62cf343202cd77e25285d164bad5c5f6c0bc4877
parentb746accd52ac3278693bd02a72b72568b6066585
i2c: Driver to expose PowerNV platform i2c busses

The patch exposes the available i2c busses on the PowerNV platform
to the kernel and implements the bus driver to support i2c and
smbus commands.
The driver uses the platform device infrastructure to probe the busses
on the platform and registers them with the i2c driver framework.

Signed-off-by: Neelesh Gupta <neelegup@linux.vnet.ibm.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Acked-by: Wolfram Sang <wsa@the-dreams.de> (I2C part, excluding the bindings)
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Documentation/devicetree/bindings/i2c/i2c-opal.txt [new file with mode: 0644]
arch/powerpc/include/asm/opal.h
arch/powerpc/platforms/powernv/opal-wrappers.S
arch/powerpc/platforms/powernv/opal.c
drivers/i2c/busses/Kconfig
drivers/i2c/busses/Makefile
drivers/i2c/busses/i2c-opal.c [new file with mode: 0644]