From: Mark Rutland <mark.rutland-5wv7dgnIgG8@public.gmane.org>
To: Lee Jones <lee.jones-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
Cc: Rob Herring <robherring2-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>,
Jonathan Cameron <jic23-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>,
"devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org"
<devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>,
Pawel Moll <Pawel.Moll-5wv7dgnIgG8@public.gmane.org>,
Stephen Warren <swarren-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>,
Ian Campbell
<ian.campbell-Sxgqhf6Nn4DQT0dZR+AlfA@public.gmane.org>
Subject: Re: All device tree bindings need maintainer ack or just the 'interesting' ones.
Date: Tue, 17 Sep 2013 14:30:26 +0100 [thread overview]
Message-ID: <20130917133025.GD26737@e106331-lin.cambridge.arm.com> (raw)
In-Reply-To: <20130917120730.GW16984@lee--X1>
On Tue, Sep 17, 2013 at 01:07:30PM +0100, Lee Jones wrote:
> On Tue, 17 Sep 2013, Mark Rutland wrote:
>
> > On Tue, Sep 17, 2013 at 09:10:03AM +0100, Lee Jones wrote:
> > > > > http://marc.info/?l=linux-iio&m=137881790217809&w=2
> > > >
> > > > Looks reasonable. My only comment is '-' is preferred over '_'.
> > >
> > > Ah, in the node name you mean. Yes, I can change that.
> > >
> > > The compatible string has to stay the same however, as it has to match
> > > the device name which can't be changed due to possible userspace
> > > breakage.
> >
> > I'm not sure I follow why the compatible string must be identical to the
> > name appearing to userspace.
>
> It doesn't. It has to be identical to the device name, which I'm
> guessing is used when populating sysfs.
I still don't understand why the device name must be identical to the
compatible string.
The string "st,lsm303dlh_magn" (with the "st," prefix) appears nowhere
in v3.12-rc1, and the compatible string in the dt doesn't seem to get
assigned to the device in the i2c core or in
drivers/iio/magnetometer/st_magn_i2c.c.
I don't see how the "st,lsm303dlh_magn" string could be getting to
userspace already such that it could be relying on it.
Am I missing something?
Thanks,
Mark.
>
> --
> Lee Jones
> Linaro STMicroelectronics Landing Team Lead
> Linaro.org │ Open source software for ARM SoCs
> Follow Linaro: Facebook | Twitter | Blog
>
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
next prev parent reply other threads:[~2013-09-17 13:30 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-09-14 12:07 All device tree bindings need maintainer ack or just the 'interesting' ones Jonathan Cameron
[not found] ` <52345182.1080609-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>
2013-09-16 16:17 ` Rob Herring
[not found] ` <52372F2B.3030504-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2013-09-17 8:10 ` Lee Jones
2013-09-17 11:24 ` Mark Rutland
[not found] ` <20130917112433.GB26737-NuALmloUBlrZROr8t4l/smS4ubULX0JqMm0uRHvK7Nw@public.gmane.org>
2013-09-17 12:07 ` Lee Jones
2013-09-17 13:30 ` Mark Rutland [this message]
[not found] ` <20130917133025.GD26737-NuALmloUBlrZROr8t4l/smS4ubULX0JqMm0uRHvK7Nw@public.gmane.org>
2013-09-17 13:48 ` Lee Jones
2013-09-18 13:58 ` Mark Rutland
[not found] ` <20130918135803.GG26737-NuALmloUBlrZROr8t4l/smS4ubULX0JqMm0uRHvK7Nw@public.gmane.org>
2013-09-18 15:05 ` Mark Brown
2013-09-18 15:11 ` Grant Likely
[not found] ` <20130918151119.59DB1C42CDF-WNowdnHR2B42iJbIjFUEsiwD8/FfD2ys@public.gmane.org>
2013-09-21 14:57 ` Jonathan Cameron
[not found] ` <523DB3E6.3040804-tko9wxEg+fIOOJlXag/Snyp2UmYkHbXO@public.gmane.org>
2013-10-08 8:47 ` Mark Rutland
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=20130917133025.GD26737@e106331-lin.cambridge.arm.com \
--to=mark.rutland-5wv7dgnigg8@public.gmane.org \
--cc=Pawel.Moll-5wv7dgnIgG8@public.gmane.org \
--cc=devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=ian.campbell-Sxgqhf6Nn4DQT0dZR+AlfA@public.gmane.org \
--cc=jic23-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org \
--cc=lee.jones-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org \
--cc=robherring2-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
--cc=swarren-3lzwWm7+Weoh9ZMKESR00Q@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).