aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/i2c
diff options
context:
space:
mode:
authorPeter Rosin <peda@axentia.se>2016-07-08 12:13:49 +0200
committerPeter Rosin <peda@axentia.se>2016-08-25 22:11:01 +0200
commit0ac8eb6452e128abd7af08e5d4a38768833da0ca (patch)
tree7488c1c165fdc8fcd747280e8e706858b2af32fc /drivers/i2c
parente8813c15be0a9e7f2c79c58d3329d92bcf056ecc (diff)
downloadkernel_replicant_linux-0ac8eb6452e128abd7af08e5d4a38768833da0ca.tar.gz
kernel_replicant_linux-0ac8eb6452e128abd7af08e5d4a38768833da0ca.tar.bz2
kernel_replicant_linux-0ac8eb6452e128abd7af08e5d4a38768833da0ca.zip
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 'drivers/i2c')
0 files changed, 0 insertions, 0 deletions