From: Jonathan Cameron <jic23@kernel.org>
To: Alexandru Ardelean <ardeleanalex@gmail.com>
Cc: LI Qingwu <Qing-wu.Li@leica-geosystems.com.cn>,
Lars-Peter Clausen <lars@metafoo.de>,
mchehab+huawei@kernel.org, linux-iio <linux-iio@vger.kernel.org>,
LKML <linux-kernel@vger.kernel.org>,
Rob Herring <robh+dt@kernel.org>,
Mike Looijmans <mike.looijmans@topic.nl>,
devicetree <devicetree@vger.kernel.org>
Subject: Re: [PATCH V2 6/6] dt-bindings: iio: accel: Add bmi085 and bmi090l bindings
Date: Sat, 14 May 2022 16:49:33 +0100 [thread overview]
Message-ID: <20220514164933.4edbc459@jic23-huawei> (raw)
In-Reply-To: <CA+U=DspAtKrDdgrzAyELDULQVjj6eFgMhsZjFCOXXYrxFAW6YQ@mail.gmail.com>
On Thu, 12 May 2022 10:32:55 +0300
Alexandru Ardelean <ardeleanalex@gmail.com> wrote:
> On Tue, May 10, 2022 at 5:18 PM LI Qingwu
> <Qing-wu.Li@leica-geosystems.com.cn> wrote:
> >
> > Adds the device-tree bindings for the Bosch
> > BMI085 and BMI090L IMU, the accelerometer part.
> >
>
> I think some datasheet links could be added to this file for the new devices.
>
> The BMI088 has a link to its datasheet.
>
> > Signed-off-by: LI Qingwu <Qing-wu.Li@leica-geosystems.com.cn>
> > ---
> > Documentation/devicetree/bindings/iio/accel/bosch,bmi088.yaml | 2 ++
> > 1 file changed, 2 insertions(+)
> >
> > diff --git a/Documentation/devicetree/bindings/iio/accel/bosch,bmi088.yaml b/Documentation/devicetree/bindings/iio/accel/bosch,bmi088.yaml
> > index 911a1ae9c83f..4290f5f88a8f 100644
> > --- a/Documentation/devicetree/bindings/iio/accel/bosch,bmi088.yaml
> > +++ b/Documentation/devicetree/bindings/iio/accel/bosch,bmi088.yaml
> > @@ -18,6 +18,8 @@ properties:
> > compatible:
> > enum:
> > - bosch,bmi088-accel
> > + - bosch,bmi085-accel
> > + - bosch,bmi090l-accel
Alphabetical /numeric order preferred. Also, fun question of compatible
fallbacks as per the previous email. Other than ID you state the bmi080l
has same scales etc as the bmi088 so that one should definitely have
a fallback to bmi088.
The bmi085 is a little less obvious. We can detect the difference by
the chip id though so a fallback compatible probably makes sense for
that one as well. DT maintainers - I'll go with whatever you recommend
on that front.
Also, driver doesn't currently have an of_id_table so relies on the fallback
handling of the spi core. Please add an explicit table to the driver.
Thanks,
Jonathan
> >
> > reg:
> > maxItems: 1
> > --
> > 2.25.1
> >
prev parent reply other threads:[~2022-05-14 15:41 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-05-10 14:17 [PATCH V2 0/6] iio: accel: bmi088: support BMI085 BMI090L LI Qingwu
2022-05-10 14:17 ` [PATCH V2 1/6] iio: accel: bmi088: Modified the scale calculate LI Qingwu
2022-05-12 7:14 ` Alexandru Ardelean
2022-05-14 15:15 ` Jonathan Cameron
2022-05-14 15:32 ` Jonathan Cameron
2022-05-10 14:17 ` [PATCH V2 2/6] iio: accel: bmi088: Make it possible to config scales LI Qingwu
2022-05-14 15:35 ` Jonathan Cameron
2022-05-10 14:17 ` [PATCH V2 3/6] iio: accel: bmi088: modified the device name LI Qingwu
2022-05-12 7:31 ` Alexandru Ardelean
2022-05-12 16:18 ` LI Qingwu
2022-05-13 6:20 ` Alexandru Ardelean
2022-05-14 15:29 ` Jonathan Cameron
2022-05-14 15:40 ` Jonathan Cameron
2022-05-10 14:17 ` [PATCH V2 4/6] iio: accel: bmi088: Add support for bmi085 accel LI Qingwu
2022-05-14 15:42 ` Jonathan Cameron
2022-05-10 14:17 ` [PATCH V2 5/6] iio: accel: bmi088: Add support for bmi090l accel LI Qingwu
2022-05-14 15:44 ` Jonathan Cameron
2022-05-10 14:17 ` [PATCH V2 6/6] dt-bindings: iio: accel: Add bmi085 and bmi090l bindings LI Qingwu
2022-05-12 7:32 ` Alexandru Ardelean
2022-05-14 15:49 ` Jonathan Cameron [this message]
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=20220514164933.4edbc459@jic23-huawei \
--to=jic23@kernel.org \
--cc=Qing-wu.Li@leica-geosystems.com.cn \
--cc=ardeleanalex@gmail.com \
--cc=devicetree@vger.kernel.org \
--cc=lars@metafoo.de \
--cc=linux-iio@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mchehab+huawei@kernel.org \
--cc=mike.looijmans@topic.nl \
--cc=robh+dt@kernel.org \
/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).