i2c: mux: inform the i2c mux core about how it is used
authorPeter Rosin <peda@axentia.se>
Thu, 11 Aug 2016 14:49:54 +0000 (16:49 +0200)
committerPeter Rosin <peda@axentia.se>
Thu, 25 Aug 2016 20:11:03 +0000 (22:11 +0200)
commit40839590f868d77ab8f84ac6e1b1297f553e3dea
treee5ccc7bb02608c933dd4b4304df0d6fa38f6ec4e
parentb2d57b56047b99f2992fc958d7ac5ead283e9088
i2c: mux: inform the i2c mux core about how it is used

The i2c mux core can then take appropriate action depending on if it is
used for an actual i2c mux, for a gate or for an arbitrator (the last
is the case for these drivers). This adds support for the new clearer
and more compact devicetree bindings that was added recently.

Reviewed-by: Wolfram Sang <wsa@the-dreams.de>
Signed-off-by: Peter Rosin <peda@axentia.se>
drivers/i2c/muxes/i2c-arb-gpio-challenge.c
drivers/i2c/muxes/i2c-mux-pca9541.c