]> git.baikalelectronics.ru Git - kernel.git/commit
mux: add support for delay after muxing
authorVincent Whitchurch <vincent.whitchurch@axis.com>
Thu, 7 Oct 2021 13:46:39 +0000 (15:46 +0200)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Thu, 21 Oct 2021 19:02:42 +0000 (20:02 +0100)
commitcb64868ca1324f6abf11098a57d84fd88a56a19f
treec0b7b88fc7c5bea50391a4322156218ed37fdfe8
parentdb04dd7eff7c664844b723dce8c3558431900bdf
mux: add support for delay after muxing

Hardware may require some time for the muxed analog signals to settle
after the muxing is changed.  Allow users of the mux subsystem to
specify this delay with the new mux_control_select_delay() function (and
the _try equivalent).

Signed-off-by: Vincent Whitchurch <vincent.whitchurch@axis.com>
Reviewed-by: Lars-Peter Clausen <lars@metafoo.de>
Tested-by: Lars-Peter Clausen <lars@metafoo.de>
Acked-by: Peter Rosin <peda@axentia.se>
Link: https://lore.kernel.org/r/20211007134641.13417-2-vincent.whitchurch@axis.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/mux/core.c
include/linux/mux/consumer.h
include/linux/mux/driver.h