Skip to content

Add settle time support to iio-mux

Vincent Whitchurch linux-devicetree linux-iio lkml 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest3 patches 17 repliesIn review
  2. v12 patches 1 replySuperseded

Changes in v2 from the cover letter

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

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3mux: add support for delay after muxingdrivers/mux/core.c include/linux/mux/consumer.h include/linux/mux/driver.h+54 -90 replies
2/3dt-bindings: iio: io-channel-mux: Add property for settle timeDocumentation/devicetree/bindings/iio/multiplexer/io-channel-mux.yaml+5 -010 replies
3/3iio: multiplexer: iio-mux: Support settle-time-us propertydrivers/iio/multiplexer/iio-mux.c+6 -10 replies

Reviews trailers per patch

1 of 3 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchLars-Peter ClausenPeter RosinRob Herring
SeriesR-b A-b R-b T-b A-b
1/3
2/3R-b A-b A-b
3/3

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v2 thread

Cover letter [PATCH v2 0/3] Add settle time support to iio-mux

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.

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

v1: https://lore.kernel.org/all/[email protected]/

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(-)
Signature · 1 line
2.28.0