Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1689120
| From | Eddie James <eajames@linux.vnet.ibm.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH v4 6/6] dt-bindings: i2c: Add FSI-attached I2C master dt binding documentation |
| Date | 2017-07-17 16:40 +0200 |
| Message-ID | <u4flN-6ht-37@gated-at.bofh.it> (permalink) |
| References | <u4flM-6ht-9@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
From: "Edward A. James" <eajames@us.ibm.com>
Document the bindings.
Signed-off-by: Edward A. James <eajames@us.ibm.com>
---
Documentation/devicetree/bindings/i2c/i2c-fsi.txt | 40 +++++++++++++++++++++++
1 file changed, 40 insertions(+)
create mode 100644 Documentation/devicetree/bindings/i2c/i2c-fsi.txt
diff --git a/Documentation/devicetree/bindings/i2c/i2c-fsi.txt b/Documentation/devicetree/bindings/i2c/i2c-fsi.txt
new file mode 100644
index 0000000..b1be2ce
--- /dev/null
+++ b/Documentation/devicetree/bindings/i2c/i2c-fsi.txt
@@ -0,0 +1,40 @@
+Device-tree bindings for FSI-attached I2C master and busses
+-----------------------------------------------------------
+
+Required properties:
+ - compatible = "ibm,i2c-fsi";
+ - reg = < address size >; : The FSI CFAM address and address
+ space size.
+ - #address-cells = <1>; : Number of address cells in child
+ nodes.
+ - #size-cells = <0>; : Number of size cells in child nodes.
+ - child nodes : Nodes to describe busses off the I2C
+ master.
+
+Child node required properties:
+ - reg = < port number > : The port number on the I2C master.
+
+Child node optional properties:
+ - child nodes : Nodes to describe devices on the I2C
+ bus.
+
+Examples:
+
+ i2c@1800 {
+ compatible = "ibm,i2c-fsi";
+ reg = < 0x1800 0x400 >;
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ i2c-bus@0 {
+ reg = <0>;
+ };
+
+ i2c-bus@1 {
+ reg = <1>;
+
+ eeprom@50 {
+ compatible = "vendor,dev-name";
+ };
+ };
+ };
--
1.8.3.1
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH v4 0/6] drivers/i2c: Add FSI-attached I2C master algorithm Eddie James <eajames@linux.vnet.ibm.com> - 2017-07-17 16:40 +0200
[PATCH v4 4/6] drivers/i2c: Add I2C master locking to FSI algorithm Eddie James <eajames@linux.vnet.ibm.com> - 2017-07-17 16:40 +0200
[PATCH v4 6/6] dt-bindings: i2c: Add FSI-attached I2C master dt binding documentation Eddie James <eajames@linux.vnet.ibm.com> - 2017-07-17 16:40 +0200
Re: [PATCH v4 6/6] dt-bindings: i2c: Add FSI-attached I2C master dt binding documentation Rob Herring <robh@kernel.org> - 2017-07-17 18:50 +0200
[PATCH v4 3/6] drivers/i2c: Add transfer implementation for FSI algorithm Eddie James <eajames@linux.vnet.ibm.com> - 2017-07-17 16:40 +0200
[PATCH v4 2/6] drivers/i2c: Add port structure to FSI algorithm Eddie James <eajames@linux.vnet.ibm.com> - 2017-07-17 16:40 +0200
[PATCH v4 1/6] drivers/i2c: Add FSI-attached I2C master algorithm Eddie James <eajames@linux.vnet.ibm.com> - 2017-07-17 16:40 +0200
csiph-web