diff options
author | Peter Rosin <[email protected]> | 2016-07-08 12:13:49 +0200 |
---|---|---|
committer | Peter Rosin <[email protected]> | 2016-08-25 22:11:01 +0200 |
commit | 0ac8eb6452e128abd7af08e5d4a38768833da0ca (patch) | |
tree | 7488c1c165fdc8fcd747280e8e706858b2af32fc /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.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 <[email protected]>
Reviewed-by: Wolfram Sang <[email protected]>
Signed-off-by: Peter Rosin <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py')
0 files changed, 0 insertions, 0 deletions