diff options
author | David Lechner <dlechner@baylibre.com> | 2023-10-05 19:50:26 -0500 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2023-10-11 15:54:40 +0100 |
commit | 6c5cc2b4a01e8e10d38bad17720ec55ae60a5299 (patch) | |
tree | a182f653b4d73cd4daf972c14999f07c7c35fc8d /tools/perf/scripts/python/gecko.py | |
parent | af8b284f23a600a86bb51a591d27e85d5f861b93 (diff) |
staging: iio: resolver: ad2s1210: convert DOS overrange threshold to event attr
The AD2S1210 has a programmable threshold for the degradation of signal
(DOS) overrange fault. This fault is triggered when either the sine or
cosine input rises above the threshold voltage.
This patch converts the custom device DOS overrange threshold attribute
to an event rising edge threshold attribute on the monitor signal
channel.
The attribute now uses millivolts instead of the raw register value in
accordance with the IIO ABI.
Emitting the event will be implemented in a later patch.
Signed-off-by: David Lechner <dlechner@baylibre.com>
Link: https://lore.kernel.org/r/20231005-ad2s1210-mainline-v4-9-ec00746840fc@baylibre.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'tools/perf/scripts/python/gecko.py')
0 files changed, 0 insertions, 0 deletions