Re: [PATCH v2 0/3] Add settle time support to iio-mux

From
Lars-Peter Clausen <lars@metafoo.de>
Date
2021-10-08 19:19:19
Also in
linux-iio, lkml
Reply to
Vincent Whitchurch, 2021-10-07
On 10/7/21 3:46 PM, Vincent Whitchurch wrote:
On one of our boards we use gpio-mux with iio-mux to read voltages using an ADC
from a few different channels, and on this board the input voltage needs some
time to stabilize after a switch of the mux.

This series add devicetree and driver support for this kind of hardware which
requries a settle time after muxing.
I have a board with the very same problem. And a similar solution, but you beat me with upstreaming. I've switched to your patchset.

Whole series

Reviewed-by: Lars-Peter Clausen <lars@metafoo.de>

Acked-by: Lars-Peter Clausen <lars@metafoo.de>

v1 -> v2:
- Move property support to iio-mux and delay handling to mux core as suggested
   by Peter.

v1: https://lore.kernel.org/all/20211004153640.20650-1-vincent.whitchurch@axis.com/ (local)

Vincent Whitchurch (3):
   mux: add support for delay after muxing
   dt-bindings: iio: io-channel-mux: Add property for settle time
   iio: multiplexer: iio-mux: Support settle-time-us property

  .../iio/multiplexer/io-channel-mux.yaml       |  5 +++
  drivers/iio/multiplexer/iio-mux.c             |  7 +++-
  drivers/mux/core.c                            | 36 ++++++++++++++++---
  include/linux/mux/consumer.h                  | 23 +++++++++---
  include/linux/mux/driver.h                    |  4 +++
  5 files changed, 65 insertions(+), 10 deletions(-)
  
Thread (21 messages) 21 messages, 5 authors, last reply 2021-10-21
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help