i2c: muxes: Add support for TI PCA954X mux
authorMichal Simek <michal.simek@xilinx.com>
Mon, 25 Apr 2016 08:50:42 +0000 (10:50 +0200)
committerHeiko Schocher <hs@denx.de>
Tue, 17 May 2016 06:28:50 +0000 (08:28 +0200)
commitd79ac324789839b4b10b37e2ff64dd9e4a92441e
tree901b815c4d8ccbc84c5b42f463e72a087414def1
parentad72e7622bd587dc798fbac0351b558fb18caa97
i2c: muxes: Add support for TI PCA954X mux

Add support for common TI i2c mux which is available on ZynqMP zcu102
board.
DM i2c mux core code is selecting/deselecting bus before/after
every command is performed that's why only one channel is active at a
time. That's also the reason why deselect is just disable all available
channels.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Reviewed-by: Heiko Schocher <hs@denx.de>
Reviewed-by: Simon Glass <sjg@chromium.org>
drivers/i2c/muxes/Kconfig
drivers/i2c/muxes/Makefile
drivers/i2c/muxes/pca954x.c [new file with mode: 0644]