From: Eddie James Date: Tue, 17 Jul 2018 15:30:59 +0000 (-0500) Subject: dt-bindings: i2c: Add FSI-attached I2C master dt binding documentation X-Git-Tag: v4.19~339^2~42 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=82d41d09743938e5bc399725ad64e12fa968e8ed;p=platform%2Fkernel%2Flinux-rpi3.git dt-bindings: i2c: Add FSI-attached I2C master dt binding documentation Document the bindings. Signed-off-by: Eddie James Acked-by: Rob Herring Signed-off-by: Wolfram Sang --- 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"; + }; + }; + };