[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20201007011735.1346994-1-swboyd@chromium.org>
Date: Tue, 6 Oct 2020 18:17:29 -0700
From: Stephen Boyd <swboyd@...omium.org>
To: Jonathan Cameron <jic23@...nel.org>
Cc: linux-kernel@...r.kernel.org, linux-iio@...r.kernel.org,
Daniel Campello <campello@...omium.org>,
Lars-Peter Clausen <lars@...afoo.de>,
Peter Meerwald-Stadler <pmeerw@...erw.net>,
Douglas Anderson <dianders@...omium.org>,
Gwendal Grignou <gwendal@...omium.org>,
Evan Green <evgreen@...omium.org>,
Rob Herring <robh+dt@...nel.org>, devicetree@...r.kernel.org
Subject: [PATCH v3 0/6] iio: sx9310: Support setting various settings
I need to configure various settings such as thresholds, gain factors,
etc. on this device. Some settings matter at boot, while others can wait
for userspace to configure things. This patch series adds support to
set these various bits in the registers of this device.
Changes from v2 (https://lore.kernel.org/r/20200930075728.2410327-1-swboyd@chromium.org)
- Rolled in a fix from Gwendal on last patch to simplify if-else logic
- Fixed binding and picked up Rob's reviewed-by tag
Changes from v1 (https://lore.kernel.org/r/20200903221828.3657250-1-swboyd@chromium.org)
- A bunch more patches for userspace settings
- Removed body thresholds as they're probably not used
- Removed compensate common as it probably doesn't matter
- Moved thresholds, gain factor, hysteresis, debounce to userspace
Stephen Boyd (6):
iio: sx9310: Support hardware gain factor
iio: sx9310: Support setting proximity thresholds
iio: sx9310: Support setting hysteresis values
iio: sx9310: Support setting debounce values
dt-bindings: iio: sx9310: Add various settings as DT properties
iio: sx9310: Set various settings from DT
.../iio/proximity/semtech,sx9310.yaml | 63 +++
drivers/iio/proximity/sx9310.c | 508 +++++++++++++++++-
2 files changed, 565 insertions(+), 6 deletions(-)
Cc: Daniel Campello <campello@...omium.org>
Cc: Lars-Peter Clausen <lars@...afoo.de>
Cc: Peter Meerwald-Stadler <pmeerw@...erw.net>
Cc: Douglas Anderson <dianders@...omium.org>
Cc: Gwendal Grignou <gwendal@...omium.org>
Cc: Evan Green <evgreen@...omium.org>
Cc: Rob Herring <robh+dt@...nel.org>
Cc: <devicetree@...r.kernel.org>
base-commit: 1bebdcb928eba880f3a119bacb8149216206958a
--
Sent by a computer, using git, on the internet
Powered by blists - more mailing lists