OpenCloudOS-Kernel/drivers/i2c/muxes
Stephen Warren ae58d1e406 i2c: Add generic I2C multiplexer using pinctrl API
This is useful for SoCs whose I2C module's signals can be routed to
different sets of pins at run-time, using the pinctrl API.

                                 +-----+  +-----+
                                 | dev |  | dev |
    +------------------------+   +-----+  +-----+
    | SoC                    |      |        |
    |                   /----|------+--------+
    |   +---+   +------+     | child bus A, on first set of pins
    |   |I2C|---|Pinmux|     |
    |   +---+   +------+     | child bus B, on second set of pins
    |                   \----|------+--------+--------+
    |                        |      |        |        |
    +------------------------+  +-----+  +-----+  +-----+
                                | dev |  | dev |  | dev |
                                +-----+  +-----+  +-----+

Signed-off-by: Stephen Warren <swarren@nvidia.com>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Acked-by: Rob Herring <rob.herring@calxeda.com>
Signed-off-by: Wolfram Sang <w.sang@pengutronix.de>
2012-06-04 16:49:43 +02:00
..
Kconfig i2c: Add generic I2C multiplexer using pinctrl API 2012-06-04 16:49:43 +02:00
Makefile i2c: Add generic I2C multiplexer using pinctrl API 2012-06-04 16:49:43 +02:00
i2c-mux-gpio.c i2c: Rename last mux driver to standard pattern 2012-05-12 14:28:18 +02:00
i2c-mux-pca954x.c i2c: muxes: rename first set of drivers to a standard pattern 2012-05-12 14:28:17 +02:00
i2c-mux-pca9541.c i2c: muxes: rename first set of drivers to a standard pattern 2012-05-12 14:28:17 +02:00
i2c-mux-pinctrl.c i2c: Add generic I2C multiplexer using pinctrl API 2012-06-04 16:49:43 +02:00