[lkml]   [2021]   [Oct]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Subject[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.


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(-)


 \ /
  Last update: 2021-10-07 15:47    [W:0.303 / U:3.348 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site