Messages in this thread | | | From | Andriy Tryshnivskyy <> | Subject | [PATCH v6 0/1] iio/scmi: Add reading "raw" attribute. | Date | Tue, 19 Oct 2021 10:59:48 +0300 |
| |
iio/scmi: Add reading "raw" attribute.
Add IIO_CHAN_INFO_RAW to the mask and implement corresponding reading "raw" attribute in scmi_iio_read_raw. Introduce new type IIO_VAL_INT_64 to read 64-bit value for "raw" attribute.
The patch is based on v5.14.
Any comments are very welcome.
Thanks, Andriy.
Andriy Tryshnivskyy (1): iio/scmi: Add reading "raw" attribute.
drivers/iio/common/scmi_sensors/scmi_iio.c | 57 +++++++++++++++++++++- drivers/iio/industrialio-core.c | 3 ++ include/linux/iio/types.h | 1 + 3 files changed, 60 insertions(+), 1 deletion(-)
base-commit: 7d2a07b769330c34b4deabeed939325c77a7ec2f -- 2.17.1
| |