i2c: add SLIMpro I2C device driver on APM X-Gene platform
authorFeng Kan <fkan@apm.com>
Fri, 24 Apr 2015 22:17:50 +0000 (15:17 -0700)
committerWolfram Sang <wsa@the-dreams.de>
Tue, 12 May 2015 20:06:05 +0000 (22:06 +0200)
Add SLIMpro I2C device driver on APM X-Gene platform. This I2C
device driver use the SLIMpro Mailbox driver to tunnel message to
the SLIMpro coprocessor to do the work of accessing I2C components.

Signed-off-by: Feng Kan <fkan@apm.com>
Signed-off-by: Hieu Le <hnle@apm.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Documentation/devicetree/bindings/i2c/i2c-xgene-slimpro.txt [new file with mode: 0644]
drivers/i2c/busses/Kconfig
drivers/i2c/busses/Makefile
drivers/i2c/busses/i2c-xgene-slimpro.c [new file with mode: 0644]

diff --git a/Documentation/devicetree/bindings/i2c/i2c-xgene-slimpro.txt b/Documentation/devicetree/bindings/i2c/i2c-xgene-slimpro.txt
new file mode 100644 (file)
index 0000000..f6b2c20
--- /dev/null
@@ -0,0 +1,15 @@
+APM X-Gene SLIMpro Mailbox I2C Driver
+
+An I2C controller accessed over the "SLIMpro" mailbox.
+
+Required properties :
+
+ - compatible : should be "apm,xgene-slimpro-i2c"
+ - mboxes : use the label reference for the mailbox as the first parameter.
+           The second parameter is the channel number.
+
+Example :
+       i2cslimpro {
+               compatible = "apm,xgene-slimpro-i2c";
+               mboxes = <&mailbox 0>;
+       };
Simple merge
Simple merge