linux-iio.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [RFC PATCH 0/2] iio: st-accel: Add support for Silan clones
@ 2020-08-11 13:48 Daniel Palmer
  2020-08-11 13:48 ` [RFC PATCH 1/2] dt-bindings: vendor-prefixes: Add vendor prefix for Silan Daniel Palmer
                   ` (2 more replies)
  0 siblings, 3 replies; 16+ messages in thread
From: Daniel Palmer @ 2020-08-11 13:48 UTC (permalink / raw)
  To: linux-iio; +Cc: daniel

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(-)

-- 
2.27.0


^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2020-08-20 12:57 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-08-11 13:48 [RFC PATCH 0/2] iio: st-accel: Add support for Silan clones Daniel Palmer
2020-08-11 13:48 ` [RFC PATCH 1/2] dt-bindings: vendor-prefixes: Add vendor prefix for Silan Daniel Palmer
2020-08-16  8:50   ` Jonathan Cameron
2020-08-11 13:48 ` [RFC PATCH 2/2] iio: st-accel: Add support for Silan SC7A20 and SC7A30E Daniel Palmer
2020-08-16  8:52   ` Jonathan Cameron
2020-08-16  9:27     ` Daniel Palmer
2020-08-16  9:40       ` Jonathan Cameron
2020-08-16  9:55   ` Andy Shevchenko
2020-08-16 11:59     ` Daniel Palmer
2020-08-19 18:19       ` Denis CIOCCA
2020-08-20  9:01         ` Jonathan Cameron
2020-08-20  9:17           ` Greg KH
2020-08-20 12:27         ` Daniel Palmer
2020-08-20 12:56           ` Andy Shevchenko
2020-08-20 12:34         ` Andy Shevchenko
2020-08-12  9:20 ` [RFC PATCH 0/2] iio: st-accel: Add support for Silan clones Jonathan Cameron

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).