Re: [PATCH] iio: accel: st_accel: add LIS2DS12

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, May 26, 2024 at 10:37 AM Kaustabh Chakraborty
<kauschluss@xxxxxxxxxxx> wrote:

> The LIS2DS12 accelerometer by STMicroelectronics is mostly compatible
> with the LIS2DE12 variant, except the WhoAmI value (0x43).
>
> Define sensor settings for LIS2DS12, and add support in the I2C
> driver.
>
> Signed-off-by: Kaustabh Chakraborty <kauschluss@xxxxxxxxxxx>

We usually add support for both I2C and SPI at the same time, so please
add the five lines or so to st_accel_spi.c to support the device over
SPI as well.

With that fixed:
Reviewed-by: Linus Walleij <linus.walleij@xxxxxxxxxx>

Yours,
Linus Walleij





[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]


  Powered by Linux