All of lore.kernel.org
 help / color / mirror / Atom feed
From: Grant Likely <grant.likely@secretlab.ca>
To: Stephen Warren <swarren@wwwdotorg.org>,
	Tomasz Figa <tomasz.figa@gmail.com>
Cc: Jon Loeliger <jdl@jdl.com>,
	"Chaiken, Alison" <Alison_Chaiken@mentor.com>,
	Wolfram Sang <w.sang@pengutronix.de>,
	Mark Rutland <mark.rutland@arm.com>,
	Ian Campbell <ian.campbell@citrix.com>,
	Pawel Moll <pawel.moll@arm.com>,
	"devicetree@vger.kernel.org" <devicetree@vger.kernel.org>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
	Rob Herring <rob.herring@calxeda.com>,
	Olof Johansson <olof@lixom.net>,
	Mark Brown <broonie@opensource.wolfsonmicro.com>,
	Linus Walleij <linus.walleij@linaro.org>
Subject: Re: The future of DT binding maintainership
Date: Wed, 24 Jul 2013 21:28:47 +0100	[thread overview]
Message-ID: <20130724202847.2BD753E14AB@localhost> (raw)
In-Reply-To: <51EEA75E.3050008@wwwdotorg.org>

On Tue, 23 Jul 2013 08:55:10 -0700, Stephen Warren <swarren@wwwdotorg.org> wrote:
> On 07/22/2013 02:57 PM, Tomasz Figa wrote:
> > On Monday 22 of July 2013 16:34:49 Jon Loeliger wrote:
> 
> >>> My idea is to implement compile time verification in dtc, so I guess it
> >>> will be more like the latter. Since dts is what dtc can already parse,
> >>> my plan is to keep the schemas in spirit to dts, just
> >>> modifying/extending it to allow specifying bindings with them, rather
> >>> than static values.
> 
> > Things start to become fun when you get to bindings like regulators or 
> > clocks, when part of the binding is defined on generic level (-supply, 
> > clocks, clock-names properties) and remaining part is specific to device 
> > (XXX in XXX-supply, count and order of clocks and clock-names, strings 
> > allowed in clock-names property). This kind of inheritance is likely to be 
> > the biggest troublemaker.
> 
> It's good you mentioned inheritance here. I believe that's one of the
> key things. For example, the Tegra GPIO controller's binding is-a
> GPIO-controller, and is-an interrupt-controller, and I imagine any
> successful DT schema definition would very explicitly include that
> information. Likewise, other nodes may be is-a GPIO-client (many times,
> each parameterized with the property name that defines which GPIO you're
> talking abot), and also may be is-an interrupt-client (with a similar
> comment), etc.

+1


  reply	other threads:[~2013-07-25  4:15 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <CACxGe6vtJPbbqwpH8Th5S36Hx50f39j1P4OpLb-Um9xQie6Lng@mail.gmail.com>
2013-07-20  3:46 ` The future of DT binding maintainership Grant Likely
2013-07-20 13:49   ` Tomasz Figa
2013-07-22 19:59     ` Chaiken, Alison
2013-07-22 20:09       ` Tomasz Figa
2013-07-22 21:34         ` Jon Loeliger
2013-07-22 21:57           ` Tomasz Figa
2013-07-23 15:55             ` Stephen Warren
2013-07-24 20:28               ` Grant Likely [this message]
2013-07-24 20:26           ` Grant Likely
2013-07-23 15:52       ` Stephen Warren
2013-07-24 14:11     ` Grant Likely
2013-07-25  7:47       ` David Lang
2013-07-25 17:46       ` Stephen Warren
2013-07-21 10:49   ` David Gibson
2013-07-21 10:49     ` David Gibson
2013-07-25 20:17   ` Rob Herring

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=20130724202847.2BD753E14AB@localhost \
    --to=grant.likely@secretlab.ca \
    --cc=Alison_Chaiken@mentor.com \
    --cc=broonie@opensource.wolfsonmicro.com \
    --cc=devicetree@vger.kernel.org \
    --cc=ian.campbell@citrix.com \
    --cc=jdl@jdl.com \
    --cc=linus.walleij@linaro.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mark.rutland@arm.com \
    --cc=olof@lixom.net \
    --cc=pawel.moll@arm.com \
    --cc=rob.herring@calxeda.com \
    --cc=swarren@wwwdotorg.org \
    --cc=tomasz.figa@gmail.com \
    --cc=w.sang@pengutronix.de \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.