dt-bindings: i2c: add support for 'i2c-arb' subnode
authorPeter Rosin <peda@axentia.se>
Fri, 8 Jul 2016 10:12:17 +0000 (12:12 +0200)
committerPeter Rosin <peda@axentia.se>
Thu, 25 Aug 2016 20:11:00 +0000 (22:11 +0200)
commite8813c15be0a9e7f2c79c58d3329d92bcf056ecc
tree4d8f0b29bcd34446ddf619edd4b089040428e4d6
parent374f8436ff3a450a2f95a0c1910a0b17212cede1
dt-bindings: i2c: add support for 'i2c-arb' subnode

This gets rid of the need for a pointless 'reg' property for i2c
arbitrators.

I.e. this new and more compact style

some-arbitrator {
i2c-arb {
#address-cells = <1>;
#size-cells = <0>;

some-i2c-device@50 {
reg = <0x50>;
};
};
};

instead of the old

some-arbitrator {
#address-cells = <1>;
#size-cells = <0>;

i2c@0 {
reg = <0>;

#address-cells = <1>;
#size-cells = <0>;

some-i2c-device@50 {
reg = <0x50>;
};
};
};

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/i2c-arb-gpio-challenge.txt
Documentation/devicetree/bindings/i2c/i2c-arb.txt [new file with mode: 0644]
MAINTAINERS