mbox series

[V4,0/5] iio: accel: sca3300: add compatible for scl3300

Message ID 20220509064928.2352796-1-Qing-wu.Li@leica-geosystems.com.cn (mailing list archive)
Headers show
Series iio: accel: sca3300: add compatible for scl3300 | expand

Message

LI Qingwu May 9, 2022, 6:49 a.m. UTC
The current driver support sca3300 only.
Modified for support SCL3300 as well.
Verified with SCL3300 on IMX8MM.

SCL3300 is a three-axis accelerometer sensor with angle output.
The change adds the support of scl3300 and inclination data output.

Change in V4:
Remove Reviewed-by tags, that were not explicitly given.
Fix all the review comments from V3.
Sort variables logically instead of length in the struct
sca3300_chip_info declaration and assignment.
Fixed the warning "unused variable scl3300_scan_masks".
Reported-by: kernel test robot <lkp@intel.com>.

LI Qingwu (5):
  dt-bindings: iio: accel: sca3300: Document murata,scl3300
  iio: accel: sca3300: add define for temp channel for reuse.
  iio: accel: sca3300: modified to support multi chips
  iio: accel: sca3300: Add support for SCL3300
  iio: accel: sca3300: Add inclination channels

 .../bindings/iio/accel/murata,sca3300.yaml    |   1 +
 drivers/iio/accel/sca3300.c                   | 307 +++++++++++++++---
 2 files changed, 255 insertions(+), 53 deletions(-)