From: Jonathan Cameron <jic23-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>
To: Rob Herring <robh-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>
Cc: Manivannan Sadhasivam
<manivannan.sadhasivam-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>,
pmeerw-jW+XmwGofnusTnJN9+BGXg@public.gmane.org,
william.markezana-ya7vCgA9bt58UrSeD/g0lQ@public.gmane.org,
ludovic.tancerel-sbt5i+FMW2pmsedzY7GhzwC/G2K4zDHf@public.gmane.org,
linux-iio-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
nicolas.dechesne-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org,
amit.kucheria-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org
Subject: Re: [PATCH 2/4] dt-bindings: iio: humidity: Add bindings for HTU21 and MS8607 sensors
Date: Wed, 21 Jun 2017 20:40:50 +0100 [thread overview]
Message-ID: <20170621204050.75863dd5@kernel.org> (raw)
In-Reply-To: <20170618140511.kz6nvttypockcrfm@rob-hp-laptop>
On Sun, 18 Jun 2017 09:05:11 -0500
Rob Herring <robh-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org> wrote:
> On Tue, Jun 13, 2017 at 10:50:43PM +0530, Manivannan Sadhasivam wrote:
> > Add device tree bindings for Measurement-Specialties HTU21 temperature & humidity sensor and humidity part of MS8607 sensor
> >
> > Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
> > ---
> > Documentation/devicetree/bindings/iio/humidity/htu21.txt | 13 +++++++++++++
> > 1 file changed, 13 insertions(+)
> > create mode 100644 Documentation/devicetree/bindings/iio/humidity/htu21.txt
> >
> > diff --git a/Documentation/devicetree/bindings/iio/humidity/htu21.txt b/Documentation/devicetree/bindings/iio/humidity/htu21.txt
> > new file mode 100644
> > index 0000000..97d7963
> > --- /dev/null
> > +++ b/Documentation/devicetree/bindings/iio/humidity/htu21.txt
> > @@ -0,0 +1,13 @@
> > +*HTU21 - Measurement-Specialties htu21 temperature & humidity sensor and humidity part of MS8607 sensor
>
> The binding should be for the device, not part of it. You should bind
> to a driver for MS8607 and then create 2 child devices for the humidity
> and temp sensors.
Hi Rob,
It's a bit of an oddity as we are look at package in package parts.
Really there are simply two parts here. There is no need to know
they are in the same package. Obviously we 'could' describe this, but
it's no different form mounting the chips next to each other on the
same bus sharing the same power rails.
I guess a binding that reflected this would act as 'documentation' perhaps,
but would provide no useful information.
Can you point us to a similar example (for future reference)?
Thanks
Jonathan
>
> Rob
next prev parent reply other threads:[~2017-06-21 19:40 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-06-13 17:20 [PATCH 2/4] dt-bindings: iio: humidity: Add bindings for HTU21 and MS8607 sensors Manivannan Sadhasivam
[not found] ` <1497374443-20935-1-git-send-email-manivannan.sadhasivam-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
2017-06-18 14:05 ` Rob Herring
2017-06-21 19:40 ` Jonathan Cameron [this message]
[not found] ` <20170621204050.75863dd5-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>
2017-06-22 3:05 ` Rob Herring
[not found] ` <CAL_JsqKDAPOqRepjRU9qrZQ-8_01JAfckP7G1EAjJi4t2UK7kg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2017-06-24 20:50 ` Jonathan Cameron
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=20170621204050.75863dd5@kernel.org \
--to=jic23-dgejt+ai2ygdnm+yrofe0a@public.gmane.org \
--cc=amit.kucheria-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org \
--cc=devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=linux-iio-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=ludovic.tancerel-sbt5i+FMW2pmsedzY7GhzwC/G2K4zDHf@public.gmane.org \
--cc=manivannan.sadhasivam-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org \
--cc=nicolas.dechesne-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org \
--cc=pmeerw-jW+XmwGofnusTnJN9+BGXg@public.gmane.org \
--cc=robh-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org \
--cc=william.markezana-ya7vCgA9bt58UrSeD/g0lQ@public.gmane.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).