diff options
| author | Stephen Boyd <[email protected]> | 2020-10-06 18:17:32 -0700 |
|---|---|---|
| committer | Jonathan Cameron <[email protected]> | 2020-10-10 17:38:37 +0100 |
| commit | 08f0411c48f27703f0db2bd287890fdedf5bef5e (patch) | |
| tree | 18d7f09018b77cc64c3aa3eb236d0afd35c3bb89 /tools/perf/scripts/python | |
| parent | ad2b473e2ba39b43df4d2cad77ab6130665d8c31 (diff) | |
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 <[email protected]>
Cc: Daniel Campello <[email protected]>
Cc: Lars-Peter Clausen <[email protected]>
Cc: Peter Meerwald-Stadler <[email protected]>
Cc: Douglas Anderson <[email protected]>
Cc: Gwendal Grignou <[email protected]>
Cc: Evan Green <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions