mbox series

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

Message ID 20220512160312.3880433-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 12, 2022, 4:03 p.m. UTC
The current driver support sca3300 only, modified to support SCL3300.
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 V5:
Fix review findings in V5, reorder variables in the struct
sca3300_chip_info declaration and assignment.
Return errors first in the "for" loop code.


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                   | 312 +++++++++++++++---
 2 files changed, 260 insertions(+), 53 deletions(-)