u-boot/drivers/i2c/muxes
Moritz Fischer 12e8d58415 i2c: mux: Allow muxes to work as children of i2c bus without i2c-parent
For mux check if the parent is already a device of UCLASS_I2C and if yes
just use that. Otherwise see if someone specified an i2c-parent phandle.
This mimics the behavior found in the Kernel, as it removes the
requirement to explicitly specify a i2c-parent phandle.

Signed-off-by: Moritz Fischer <moritz.fischer@ettus.com>
Cc: Heiko Schocher <hs@denx.de>
Cc: Bin Meng <bmeng.cn@gmail.com>
Cc: Simon Glass <sjg@chromium.org>
Cc: Michal Simek <michal.simek@xilinx.com>
Cc: u-boot@lists.denx.de
2017-01-18 06:37:57 +01:00
..
i2c-arb-gpio-challenge.c i2c: Add a mux for GPIO-based I2C bus arbitration 2015-08-05 21:06:10 -06:00
i2c-mux-uclass.c i2c: mux: Allow muxes to work as children of i2c bus without i2c-parent 2017-01-18 06:37:57 +01:00
Kconfig i2c: muxes: Add support for TI PCA954X mux 2016-05-17 08:28:50 +02:00
Makefile i2c: muxes: Add support for TI PCA954X mux 2016-05-17 08:28:50 +02:00
pca954x.c i2c: muxes: Add support for TI PCA954X mux 2016-05-17 08:28:50 +02:00