Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

dt-bindings: i2c: Add FSI-attached I2C master dt binding documentation

Document the bindings.

Signed-off-by: Eddie James <eajames@linux.vnet.ibm.com>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>

authored by

Eddie James and committed by
Wolfram Sang
82d41d09 f7ff75e2

+40
+40
Documentation/devicetree/bindings/i2c/i2c-fsi.txt
··· 1 + Device-tree bindings for FSI-attached I2C master and busses 2 + ----------------------------------------------------------- 3 + 4 + Required properties: 5 + - compatible = "ibm,i2c-fsi"; 6 + - reg = < address size >; : The FSI CFAM address and address 7 + space size. 8 + - #address-cells = <1>; : Number of address cells in child 9 + nodes. 10 + - #size-cells = <0>; : Number of size cells in child nodes. 11 + - child nodes : Nodes to describe busses off the I2C 12 + master. 13 + 14 + Child node required properties: 15 + - reg = < port number > : The port number on the I2C master. 16 + 17 + Child node optional properties: 18 + - child nodes : Nodes to describe devices on the I2C 19 + bus. 20 + 21 + Examples: 22 + 23 + i2c@1800 { 24 + compatible = "ibm,i2c-fsi"; 25 + reg = < 0x1800 0x400 >; 26 + #address-cells = <1>; 27 + #size-cells = <0>; 28 + 29 + i2c-bus@0 { 30 + reg = <0>; 31 + }; 32 + 33 + i2c-bus@1 { 34 + reg = <1>; 35 + 36 + eeprom@50 { 37 + compatible = "vendor,dev-name"; 38 + }; 39 + }; 40 + };