dt-bindings: i2c: add bindings for nxp,pca9541
authorPeter Rosin <peda@axentia.se>
Mon, 27 Jun 2016 10:01:30 +0000 (12:01 +0200)
committerPeter Rosin <peda@axentia.se>
Thu, 25 Aug 2016 20:11:01 +0000 (22:11 +0200)
Fill the gap for this pre-existing driver.

Acked-by: Rob Herring <robh@kernel.org>
Reviewed-by: Wolfram Sang <wsa@the-dreams.de>
Signed-off-by: Peter Rosin <peda@axentia.se>
Documentation/devicetree/bindings/i2c/nxp,pca9541.txt [new file with mode: 0644]

diff --git a/Documentation/devicetree/bindings/i2c/nxp,pca9541.txt b/Documentation/devicetree/bindings/i2c/nxp,pca9541.txt
new file mode 100644 (file)
index 0000000..0fbbc69
--- /dev/null
@@ -0,0 +1,29 @@
+* NXP PCA9541 I2C bus master selector
+
+Required Properties:
+
+  - compatible: Must be "nxp,pca9541"
+
+  - reg: The I2C address of the device.
+
+  The following required properties are defined externally:
+
+  - I2C arbitration bus node. See i2c-arb.txt in this directory.
+
+
+Example:
+
+       i2c-arbitrator@74 {
+               compatible = "nxp,pca9541";
+               reg = <0x74>;
+
+               i2c-arb {
+                       #address-cells = <1>;
+                       #size-cells = <0>;
+
+                       eeprom@54 {
+                               compatible = "at,24c08";
+                               reg = <0x54>;
+                       };
+               };
+       };