Skip to content

Adding support for IIO SCMI based sensors

Jyoti Bhayana linux-iio lkml 7 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v7 Latest1 patch 14 repliesIn review
  2. v61 patch 9 repliesSuperseded
  3. v51 patch 9 repliesSuperseded
Earlier versions · 4
VersionPostedPatchesRepliesStatus
v4 RFC1 patch8 repliesSuperseded
v3 RFC1 patch6 repliesSuperseded
v2 RFC1 patch18 repliesSuperseded
v1 RFC1 patch2 repliesSuperseded

Changes in v7 from the cover letter

- Fixed the error reported by kernel test robot

Patches in v7 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/1iio/scmi: Adding support for IIO SCMI Based SensorsMAINTAINERS drivers/firmware/arm_scmi/driver.c drivers/iio/common/Kconfig +4 more+715 -114 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v7 yet.

Read the v7 thread

Cover letter [PATCH v7 0/1] Adding support for IIO SCMI based sensors

Hi,

This series adds support for ARM SCMI Protocol based IIO Device.

This driver provides support for Accelerometer and Gyroscope sensor using SCMI Sensor Protocol extensions added in the SCMIv3.0 ARM specification, which is available at

https://developer.arm.com/documentation/den0056/c/

This version of the patch series has been tested using version 5.4.21 branch of Android common kernel.

Any feedback welcome,

Thanks,

Jyoti Bhayana

v6 --> v7
- Fixed the error reported by kernel test robot

v5 --> v6
- Fixed the warning by kernel test robot
- Incorporated the feedback comments from v5
- Fixed the bug found in scmi_iio_set_odr_val
for calculating the multiplier

v4 --> v5
- Dropped the RFC tag
- Added channel ext_info for raw_available
- Incorporated the feedback comments from v4 review of the patch

v3 --> v4
- Incorporated the feedback comments from v3 review of the patch

v2 --> v3
- Incorporated the feedback comments from v2 review of the patch

v1 --> v2
- Incorporated the feedback comments from v1 review of the patch
- Regarding the new ABI for sensor_power,sensor_max_range, and sensor_resolution, these are some of the sensor attributes which Android passes to the apps. If there is any other way of getting those values, please let us know

Jyoti Bhayana (1):
iio/scmi: Adding support for IIO SCMI Based Sensors

 MAINTAINERS                                |   6 +
 drivers/firmware/arm_scmi/driver.c         |   2 +-
 drivers/iio/common/Kconfig                 |   1 +
 drivers/iio/common/Makefile                |   1 +
 drivers/iio/common/scmi_sensors/Kconfig    |  18 +
 drivers/iio/common/scmi_sensors/Makefile   |   5 +
 drivers/iio/common/scmi_sensors/scmi_iio.c | 683 +++++++++++++++++++++
 7 files changed, 715 insertions(+), 1 deletion(-)
 create mode 100644 drivers/iio/common/scmi_sensors/Kconfig
 create mode 100644 drivers/iio/common/scmi_sensors/Makefile
 create mode 100644 drivers/iio/common/scmi_sensors/scmi_iio.c
Signature · 1 line
2.30.1.766.gb4fecdf3b7-goog