diff options
author | Peter Rosin <peda@axentia.se> | 2016-07-08 06:13:49 -0400 |
---|---|---|
committer | Peter Rosin <peda@axentia.se> | 2016-08-25 16:11:01 -0400 |
commit | 0ac8eb6452e128abd7af08e5d4a38768833da0ca (patch) | |
tree | 7488c1c165fdc8fcd747280e8e706858b2af32fc /MAINTAINERS | |
parent | e8813c15be0a9e7f2c79c58d3329d92bcf056ecc (diff) |
dt-bindings: i2c: add support for 'i2c-gate' subnode
Handle i2c gates similarly to how i2c arbitrators are handled.
This gets rid of a pointless 'reg' property for i2c gates.
I.e. this new and more compact style
some-gate {
i2c-gate {
#address-cells = <1>;
#size-cells = <0>;
some-i2c-device@50 {
reg = <0x50>;
};
};
};
instead of the old
some-gate {
#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>
Diffstat (limited to 'MAINTAINERS')
-rw-r--r-- | MAINTAINERS | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/MAINTAINERS b/MAINTAINERS index cde3e729df2c..353bfe6bbaca 100644 --- a/MAINTAINERS +++ b/MAINTAINERS | |||
@@ -5668,6 +5668,7 @@ F: Documentation/i2c/i2c-topology | |||
5668 | F: Documentation/i2c/muxes/ | 5668 | F: Documentation/i2c/muxes/ |
5669 | F: Documentation/devicetree/bindings/i2c/i2c-mux* | 5669 | F: Documentation/devicetree/bindings/i2c/i2c-mux* |
5670 | F: Documentation/devicetree/bindings/i2c/i2c-arb* | 5670 | F: Documentation/devicetree/bindings/i2c/i2c-arb* |
5671 | F: Documentation/devicetree/bindings/i2c/i2c-gate* | ||
5671 | F: drivers/i2c/i2c-mux.c | 5672 | F: drivers/i2c/i2c-mux.c |
5672 | F: drivers/i2c/muxes/ | 5673 | F: drivers/i2c/muxes/ |
5673 | F: include/linux/i2c-mux.h | 5674 | F: include/linux/i2c-mux.h |