devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Grant Likely <grant.likely@secretlab.ca>
To: Olof Johansson <olof@lixom.net>
Cc: Rob Herring <robherring2@gmail.com>,
	devicetree-discuss@lists.ozlabs.org,
	Dmitry Torokhov <dmitry.torokhov@gmail.com>,
	linux-input@vger.kernel.org
Subject: Re: [PATCH] Input: mpu3050: add of_match table for device-tree probing
Date: Mon, 2 Jan 2012 01:42:43 -0700	[thread overview]
Message-ID: <20120102084243.GH18381@ponder.secretlab.ca> (raw)
In-Reply-To: <CAOesGMjDUYqP3iFzBz06sxyhjMGD4Znxvps4JxCxky56Hxy-PQ@mail.gmail.com>

On Tue, Dec 27, 2011 at 09:14:31AM -0800, Olof Johansson wrote:
> On Tue, Dec 27, 2011 at 8:07 AM, Rob Herring <robherring2@gmail.com> wrote:
> > On 12/23/2011 09:58 AM, Olof Johansson wrote:
> >> Hi,
> >>
> >> On Fri, Dec 23, 2011 at 1:22 AM, Dmitry Torokhov
> >> <dmitry.torokhov@gmail.com> wrote:
> >>> Hi Olof,
> >>>
> >>> On Thu, Dec 22, 2011 at 06:39:52PM -0800, Olof Johansson wrote:
> >>>> Adding invn,mpu3050 as the initial id.
> >>>>
> >>>
> >>> I believe you also need to add this to
> >>> Documentation/devicetree/bindings/input/
> >>
> >> For simple i2c devices that only have a name, address and possibly an
> >> interrupt, there's no need to document a binding (it hasn't been done
> >> in the past for the vast majority of those devices).
> >
> > But then how do you find out if there is a existing binding for a device
> > without searching in the kernel source tree?
> 
> That's a silly question, since today that is exactly what you do to
> find out, since the Documentation/devicetree isn't the canonical
> location for _all_ bindings anyway -- some are in ePAPR, some are in
> the old IEEE1275 docs, and some are based on whatever the vendor that
> first introduced the device chose (Apple, and some other vendors,
> mostly PowerPC ones).

I would like to keep a list of new bindings though, but I agree with the
argument that a lot of bindings don't need a separate file with a whole
bunch of meaningless boilerplate.

g.


      reply	other threads:[~2012-01-02  8:42 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-12-23  2:39 [PATCH] Input: mpu3050: add of_match table for device-tree probing Olof Johansson
     [not found] ` <1324607992-2919-1-git-send-email-olof-nZhT3qVonbNeoWH0uzbU5w@public.gmane.org>
2011-12-23  9:22   ` Dmitry Torokhov
2011-12-23 15:58     ` Olof Johansson
2011-12-27 16:07       ` Rob Herring
2011-12-27 17:14         ` Olof Johansson
2012-01-02  8:42           ` Grant Likely [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=20120102084243.GH18381@ponder.secretlab.ca \
    --to=grant.likely@secretlab.ca \
    --cc=devicetree-discuss@lists.ozlabs.org \
    --cc=dmitry.torokhov@gmail.com \
    --cc=linux-input@vger.kernel.org \
    --cc=olof@lixom.net \
    --cc=robherring2@gmail.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).