diff options
author | Moritz Fischer <moritz.fischer@ettus.com> | 2017-01-16 17:46:06 (GMT) |
---|---|---|
committer | Heiko Schocher <hs@denx.de> | 2017-01-18 05:37:57 (GMT) |
commit | 12e8d5841540ff3522db2596670be8996f07131a (patch) | |
tree | 262f8e98fa70723d5d8c861dc97cfbb22f42800d /drivers/crypto | |
parent | bfd07670a48d9fbf22646c93e07dcd8cbc8d0864 (diff) | |
download | u-boot-fsl-qoriq-12e8d5841540ff3522db2596670be8996f07131a.tar.xz |
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
Diffstat (limited to 'drivers/crypto')
0 files changed, 0 insertions, 0 deletions