iio/scmi: Add reading "raw" attribute.
authorAndriy Tryshnivskyy <andriy.tryshnivskyy@opensynergy.com>
Sun, 24 Oct 2021 09:16:27 +0000 (12:16 +0300)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Wed, 17 Nov 2021 17:51:35 +0000 (17:51 +0000)
commit1fd85607e1e52dc6f3ac1a993f9ab57e416aa9ab
tree4ceb1b09fc65c1c417253718c8de40f429a99752
parent6bb835f3d00467c9a5e35f4955afa29df96a404e
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.

Signed-off-by: Andriy Tryshnivskyy <andriy.tryshnivskyy@opensynergy.com>
Acked-by: Jyoti Bhayana <jbhayana@google.com>
Link: https://lore.kernel.org/r/20211024091627.28031-3-andriy.tryshnivskyy@opensynergy.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/common/scmi_sensors/scmi_iio.c