lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:   Sat, 9 Oct 2021 01:09:56 +0200
From:   Peter Rosin <peda@...ntia.se>
To:     Vincent Whitchurch <vincent.whitchurch@...s.com>, jic23@...nel.org,
        devicetree@...r.kernel.org
Cc:     kernel@...s.com, lars@...afoo.de, linux-iio@...r.kernel.org,
        robh+dt@...nel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2 0/3] Add settle time support to iio-mux

Hi Vincent!

On 2021-10-07 15:46, 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.
> 
> 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/
> 
> 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(-)
> 

This looks really nice, thank you! The only question I see is if it should
go via my (virtually unused) mux tree or via the iio tree. Yes, the meat is
in mux/core.c, but I'm happy to just ack these patches and have Jonathan
handle them. But, I'm also fine with handling it in the mux tree (but I'm
getting old and forgetful, and it's been so many moons that I need to
re-learn the steps).

Jonathan, you or me? If you, you can add:

Acked-by: Peter Rosin <peda@...ntia.se>

Cheers,
Peter

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ