Re: st_accel: iis328dq support?

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

 



On Fri, 6 Jul 2018 09:18:53 +0200
Stefan Wahren <stefan.wahren@xxxxxxxx> wrote:

> Hi,
> i want to use the ST IIS328DQ [1] on a ARM board with Linux. The iio 
> subsystem has this st_accel driver. But i didn't find any reference to 
> the IIS328DQ, so i started comparing the datasheets and found the ST 
> LIS331DLH [2].

Given it reports the same WHO_AM_I of 0x32 it better be compatible
or they are being very unhelpful!

> 
> Since i didn't have the hardware yet, i've the following questions:
> 
> Does the st_accel driver support the IIS328DQ?

Not if it's not listed - though it might work.

> Should i choose the st,lis331dlh compatible for devicetree?

Ideal is to add the addition compatible string and device name etc
to the driver to support the part under this part number.

It's always nicer if a DT matches the part number on the part you
can see on the board!

Jonathan

p.s. If you don't fancy writing the patch, but will happily test
it really is compatible, let us know and I'm sure someone else
will pick it up if I don't.

> 
> Thanks in advance
> Stefan
> 
> [1] - https://www.st.com/resource/en/datasheet/iis328dq.pdf
> [2] - https://www.st.com/resource/en/datasheet/cd00213470.pdf
> --
> To unsubscribe from this list: send the line "unsubscribe linux-iio" in
> the body of a message to majordomo@xxxxxxxxxxxxxxx
> More majordomo info at  http://vger.kernel.org/majordomo-info.html


--
To unsubscribe from this list: send the line "unsubscribe linux-iio" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[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