iio: multiplexer: iio-mux: Support settle-time-us property
authorVincent Whitchurch <vincent.whitchurch@axis.com>
Thu, 7 Oct 2021 13:46:41 +0000 (15:46 +0200)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Thu, 21 Oct 2021 19:02:54 +0000 (20:02 +0100)
commit39aa50400794080e401a0334fbf0b058a67fc16c
tree55f5ee850017173fbc1ea42ff5fc7fb33ba6df4e
parentb9221f71c285d4ce557c0a2a95e168f641f3396d
iio: multiplexer: iio-mux: Support settle-time-us property

If the devicetree specifies that the hardware requires a settle time,
pass this time on to the mux APIs.

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-4-vincent.whitchurch@axis.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/multiplexer/iio-mux.c