dt-bindings: fsi: Add optional chip-id to CFAMs
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Wed, 20 Jun 2018 05:15:00 +0000 (15:15 +1000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Mon, 23 Jul 2018 06:27:32 +0000 (16:27 +1000)
This represents a physical chip in the system and allows
a stable numbering scheme to be passed to udev for userspace
to recognize which chip is which.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Acked-by: Rob Herring <robh@kernel.org>
Documentation/devicetree/bindings/fsi/fsi.txt

index ab516c673a4b84341d4bbb86844218ac2805c560..afb4eccab13190d7959618e3bd3366eec79e57ac 100644 (file)
@@ -83,6 +83,10 @@ addresses and sizes in the slave address space:
     #address-cells = <1>;
     #size-cells = <1>;
 
+Optionally, a slave can provide a global unique chip ID which is used to
+identify the physical location of the chip in a system specific way
+
+    chip-id = <0>;
 
 FSI engines (devices)
 ---------------------
@@ -125,6 +129,7 @@ device tree if no extra platform information is required.
             reg = <0 0>;
             #address-cells = <1>;
             #size-cells = <1>;
+           chip-id = <0>;
 
             /* FSI engine at 0xc00, using a single page. In this example,
              * it's an I2C master controller, so subnodes describe the