mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-12 05:24:12 +08:00
45b8ee7182
Some hardware need some time to switch from a bus to another. This can cause the first transfers following the selection of a bus to fail. There is no way to configure this kind of waiting time in the driver. Add support for the 'settle-time-us' device-tree property. When set, the i2c_mux_gpio_select() applies a delay before returning, leaving enough time to the hardware to switch to the new bus. Signed-off-by: Bastien Curutchet <bastien.curutchet@bootlin.com> Reviewed-by: Andi Shyti <andi.shyti@kernel.org> Acked-by: Peter Rosin <peda@axentia.se> Signed-off-by: Andi Shyti <andi.shyti@kernel.org> |
||
---|---|---|
.. | ||
i2c-arb-gpio-challenge.c | ||
i2c-demux-pinctrl.c | ||
i2c-mux-gpio.c | ||
i2c-mux-gpmux.c | ||
i2c-mux-ltc4306.c | ||
i2c-mux-mlxcpld.c | ||
i2c-mux-pca954x.c | ||
i2c-mux-pca9541.c | ||
i2c-mux-pinctrl.c | ||
i2c-mux-reg.c | ||
Kconfig | ||
Makefile |