linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/3] iio: Silan SC7A20 accelerometer support
@ 2022-02-02 23:50 Samuel Holland
  2022-02-02 23:50 ` [PATCH v2 1/3] dt-bindings: vendor-prefixes: Add silan vendor prefix Samuel Holland
                   ` (4 more replies)
  0 siblings, 5 replies; 11+ messages in thread
From: Samuel Holland @ 2022-02-02 23:50 UTC (permalink / raw)
  To: Jonathan Cameron, Lars-Peter Clausen, Denis Ciocca,
	Linus Walleij, Rob Herring, devicetree
  Cc: linux-iio, linux-kernel, Samuel Holland

This chip is register-compatible with an ST part, so it works without
any issues when added to the existing driver.

Previously I called it a clone, but it's not really a clone, because
it's not a drop-in replacement for the other chips. The software
interface matches the ST parts, but the pinout does not. Instead, the
pinout matches the Kionix KX122 and KX132.

Changes in v2:
 - Move the new compatible to its own section
 - Add a comment about the WAI value
 - Update commit messages

Samuel Holland (3):
  dt-bindings: vendor-prefixes: Add silan vendor prefix
  dt-bindings: iio: st: Add Silan SC7A20 accelerometer
  iio: accel: st_accel: Add support for Silan SC7A20

 .../bindings/iio/st,st-sensors.yaml           |  3 +
 .../devicetree/bindings/vendor-prefixes.yaml  |  2 +
 drivers/iio/accel/st_accel.h                  |  2 +
 drivers/iio/accel/st_accel_core.c             | 83 +++++++++++++++++++
 drivers/iio/accel/st_accel_i2c.c              |  5 ++
 5 files changed, 95 insertions(+)

-- 
2.33.1


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

end of thread, other threads:[~2022-02-13 18:17 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-02-02 23:50 [PATCH v2 0/3] iio: Silan SC7A20 accelerometer support Samuel Holland
2022-02-02 23:50 ` [PATCH v2 1/3] dt-bindings: vendor-prefixes: Add silan vendor prefix Samuel Holland
2022-02-03 16:35   ` Linus Walleij
2022-02-09 21:59   ` Rob Herring
2022-02-02 23:50 ` [PATCH v2 2/3] dt-bindings: iio: st: Add Silan SC7A20 accelerometer Samuel Holland
2022-02-03 16:35   ` Linus Walleij
2022-02-09 21:59   ` Rob Herring
2022-02-02 23:50 ` [PATCH v2 3/3] iio: accel: st_accel: Add support for Silan SC7A20 Samuel Holland
2022-02-03 16:36   ` Linus Walleij
2022-02-05 17:25 ` [PATCH v2 0/3] iio: Silan SC7A20 accelerometer support Jonathan Cameron
2022-02-13 18:24 ` 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).