Re: [PATCH v2 0/3] iio: Silan SC7A20 accelerometer support

From: Jonathan Cameron
Date: Sat Feb 05 2022 - 12:19:15 EST


On Wed, 2 Feb 2022 17:50:45 -0600
Samuel Holland <samuel@xxxxxxxxxxxx> wrote:

> 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.
Weird :)

I'm fine with the series, but as it contains a new vendor ID and the
dt-binding update I'll leave it on list for a bit longer to give
Rob time to sanity check that.

Thanks,

Jonathan

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