RFC iio: st-accel: Add support for Silan clones
Get series with b4
b4 am [email protected]Versions newest first
- v1 RFC Latest2 patches 13 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | dt-bindings: vendor-prefixes: Add vendor prefix for SilanDocumentation/ | +2 | 1 reply | |
| 2/2 | iio: st-accel: Add support for Silan SC7A20 and SC7A30Edrivers/ drivers/ drivers/ | +172 | 11 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
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