mbox series

[v7,0/2] iio/scmi: Add reading "raw" attribute.

Message ID 20211024091627.28031-1-andriy.tryshnivskyy@opensynergy.com (mailing list archive)
Headers show
Series iio/scmi: Add reading "raw" attribute. | expand

Message

Andriy Tryshnivskyy Oct. 24, 2021, 9:16 a.m. UTC
Introduce IIO_VAL_INT_64 to read 64-bit value for
channel attribute. Val is used as lower 32 bits.
Add IIO_CHAN_INFO_RAW to the mask and implement corresponding
reading "raw" attribute in scmi_iio_read_raw.

Patches are based on v5.14.

Any comments are very welcome.

Thanks,
Andriy.

Andriy Tryshnivskyy (2):
  iio: core: Introduce IIO_VAL_INT_64.
  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

Comments

Jonathan Cameron Oct. 30, 2021, 2:49 p.m. UTC | #1
On Sun, 24 Oct 2021 12:16:25 +0300
Andriy Tryshnivskyy <andriy.tryshnivskyy@opensynergy.com> wrote:

> Introduce IIO_VAL_INT_64 to read 64-bit value for
> channel attribute. Val is used as lower 32 bits.
> Add IIO_CHAN_INFO_RAW to the mask and implement corresponding
> reading "raw" attribute in scmi_iio_read_raw.
> 
> Patches are based on v5.14.
> 
> Any comments are very welcome.
> 
> Thanks,
> Andriy.
> 
> Andriy Tryshnivskyy (2):
>   iio: core: Introduce IIO_VAL_INT_64.
>   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

Applied to the togreg branch of iio.git which is pushed out as testing for
0-day to poke at it and see what we missed.

Note this is next cycle material now given merge window is about to open.
As such I'll be rebasing my tree after rc1.

Thanks,

Jonathan