summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/siox
diff options
context:
space:
mode:
authorStephen Boyd <swboyd@chromium.org>2020-10-07 04:17:32 +0300
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2020-10-10 19:38:37 +0300
commit08f0411c48f27703f0db2bd287890fdedf5bef5e (patch)
tree18d7f09018b77cc64c3aa3eb236d0afd35c3bb89 /Documentation/devicetree/bindings/siox
parentad2b473e2ba39b43df4d2cad77ab6130665d8c31 (diff)
downloadlinux-08f0411c48f27703f0db2bd287890fdedf5bef5e.tar.xz
iio: sx9310: Support setting hysteresis values
Add support for setting the hysteresis as a shifted value of a channel's proximity threshold. Each channel can have a different threshold, but the hysteresis applies to all channels as a right shift factor. Therefore, duplicate the hysteresis value across all channels and make it depend on the channel's proximity threshold. This is sort of odd but seems to work in practice as most of the time only one channel is used. Signed-off-by: Stephen Boyd <swboyd@chromium.org> Cc: Daniel Campello <campello@chromium.org> Cc: Lars-Peter Clausen <lars@metafoo.de> Cc: Peter Meerwald-Stadler <pmeerw@pmeerw.net> Cc: Douglas Anderson <dianders@chromium.org> Cc: Gwendal Grignou <gwendal@chromium.org> Cc: Evan Green <evgreen@chromium.org> Link: https://lore.kernel.org/r/20201007011735.1346994-4-swboyd@chromium.org Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'Documentation/devicetree/bindings/siox')
0 files changed, 0 insertions, 0 deletions