From: Jonathan Cameron <jonathan.cameron@huawei.com>
To: Stefan Wahren <stefan.wahren@i2se.com>
Cc: Lorenzo Bianconi <lorenzo.bianconi83@gmail.com>,
Denis Ciocca <denis.ciocca@st.com>,
Jonathan Cameron <jic23@kernel.org>, <linux-iio@vger.kernel.org>
Subject: Re: st_accel: iis328dq support?
Date: Fri, 6 Jul 2018 18:02:01 +0100 [thread overview]
Message-ID: <20180706180201.000024a8@huawei.com> (raw)
In-Reply-To: <2bac9ecf-9d2e-967e-9020-1c950487d781@i2se.com>
On Fri, 6 Jul 2018 09:18:53 +0200
Stefan Wahren <stefan.wahren@i2se.com> 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@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
next prev parent reply other threads:[~2018-07-06 17:02 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-07-06 7:18 st_accel: iis328dq support? Stefan Wahren
2018-07-06 17:02 ` Jonathan Cameron [this message]
2018-07-06 17:16 ` Denis CIOCCA
2018-07-09 8:06 ` Stefan Wahren
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20180706180201.000024a8@huawei.com \
--to=jonathan.cameron@huawei.com \
--cc=denis.ciocca@st.com \
--cc=jic23@kernel.org \
--cc=linux-iio@vger.kernel.org \
--cc=lorenzo.bianconi83@gmail.com \
--cc=stefan.wahren@i2se.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).