Skip to content

RFC iio: st-accel: Add support for Silan clones

Daniel Palmer linux-iio 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest2 patches 13 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2dt-bindings: vendor-prefixes: Add vendor prefix for SilanDocumentation/devicetree/bindings/vendor-prefixes.yaml+2 -01 reply
2/2iio: st-accel: Add support for Silan SC7A20 and SC7A30Edrivers/iio/accel/st_accel.h drivers/iio/accel/st_accel_core.c drivers/iio/accel/st_accel_i2c.c+172 -111 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [RFC PATCH 0/2] iio: st-accel: Add support for Silan clones

This small series adds support for the Silan SC7A20 and SC7A30E accelerometers that seem to be clones or at least based on the LIS2DH from ST.

These chips seem to be widely used in car dash recorders and the midrived08 dash recorder that I'm trying to mainline support for has a SC7A20.

This is RFC because I'm not sure if adding clone chips into this driver is going to cause anyone trouble and I'm thinking there has to be a better way of supporting both of the chips that are basically the same but have different WAI register values than copy/pasting the block and changing the WAI value.

Daniel Palmer (2):
dt-bindings: vendor-prefixes: Add vendor prefix for Silan
iio: st-accel: Add support for Silan SC7A20 and SC7A30E

 .../devicetree/bindings/vendor-prefixes.yaml  |   2 +
 drivers/iio/accel/st_accel.h                  |   4 +
 drivers/iio/accel/st_accel_core.c             | 159 +++++++++++++++++-
 drivers/iio/accel/st_accel_i2c.c              |  10 ++
 4 files changed, 174 insertions(+), 1 deletion(-)
Signature · 1 line
2.27.0