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 /tools/perf/scripts/python/export-to-postgresql.py | |
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 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions