diff options
author | 2024-07-30 10:46:31 +0200 | |
---|---|---|
committer | 2024-08-10 11:17:34 +0100 | |
commit | 0737158aabc278526c784f63b8dd8963cdc558a9 (patch) | |
tree | abee89fc7a94ac0e5f63aa9c65d99ac9e8c71e3d /tools/perf/scripts/python/export-to-postgresql.py | |
parent | dt-bindings: iio: asahi-kasei,ak8975: drop incorrect AK09116 compatible (diff) | |
download | wireguard-linux-0737158aabc278526c784f63b8dd8963cdc558a9.tar.xz wireguard-linux-0737158aabc278526c784f63b8dd8963cdc558a9.zip |
iio: add read scale and offset services to iio backend framework
Add iio_backend_read_scale() and iio_backend_read_offset() services
to read channel scale and offset from an IIO backbend device.
Also add a read_raw callback which replicates the read_raw callback of
the IIO framework, and is intended to request miscellaneous channel
attributes from the backend device.
Both scale and offset helpers use this callback.
Signed-off-by: Olivier Moysan <olivier.moysan@foss.st.com>
Reviewed-by: Nuno Sa <nuno.sa@analog.com>
Link: https://patch.msgid.link/20240730084640.1307938-2-olivier.moysan@foss.st.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions