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]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Input]     [Linux Kernel]     [Linux SCSI]     [X.org]

  Powered by Linux