From: Gerhard Sittig <gsi@denx.de>
To: Tien Hock Loh <thloh.linux@gmail.com>
Cc: Tien Hock Loh <thloh@altera.com>,
Linus Walleij <linus.walleij@linaro.org>,
Rob Herring <rob.herring@calxeda.com>,
Rob Landley <rob@landley.net>,
"linux-doc@vger.kernel.org" <linux-doc@vger.kernel.org>,
"devicetree@vger.kernel.org" <devicetree@vger.kernel.org>,
dinguyen@altera.com, "lftan@altera.com" <lftan@altera.com>
Subject: Re: [PATCH V6 1/1] drivers/gpio: Altera soft IP GPIO driver
Date: Thu, 23 Jan 2014 19:59:06 +0100 [thread overview]
Message-ID: <20140123185906.GU20094@book.gsilab.sittig.org> (raw)
In-Reply-To: <CAOLUe6Ya=bTYrURhieWQkZewYf2Z8kFN82nkxwfM5DJDHb5wzw@mail.gmail.com>
On Thu, Jan 23, 2014 at 09:47 +0800, Tien Hock Loh wrote:
>
> On Thu, Jan 23, 2014 at 2:09 AM, Gerhard Sittig <gsi@denx.de> wrote:
> > On Wed, Jan 22, 2014 at 10:54 +0800, thloh@altera.com wrote:
> >>
> >> --- /dev/null
> >> +++ b/Documentation/devicetree/bindings/gpio/gpio-altera.txt
> >> @@ -0,0 +1,42 @@
> >> +Altera GPIO controller bindings
> >> +
> >> +Required properties:
> >> +- compatible:
> >> + - "altr,pio-1.0"
> >> +- reg: Physical base address and length of the controller's registers.
> >> +- #gpio-cells : Should be 1
> >> + - The first cell is the gpio offset number
> >> +- gpio-controller : Marks the device node as a GPIO controller.
> >
> > Learning about required data types when reading the binding would
> > be nice. So that DTS authors can tell whether a property is
> > boolean, takes integers or strings, etc
>
> Hmm, I don't quite understand your statement. I'm referring to other
> gpio device tree binding documentation when creating this. Do you mind
> to elaborate what you're expecting?
Do you mean you have been citing, or copying from other bindings?
Got inspiration from them, did what they do? This I'd understand.
But you don't _reference_ other bindings or a common binding.
The above quotation is complete from the start of the file, and
one cannot learn from this specific binding what the data types
of the properties are, nor are other bindings referred to.
It's easy to fix. No problem there.
virtually yours
Gerhard Sittig
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr. 5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-0 Fax: +49-8142-66989-80 Email: office@denx.de
next prev parent reply other threads:[~2014-01-23 18:59 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-01-22 2:54 [PATCH V6 1/1] drivers/gpio: Altera soft IP GPIO driver thloh
2014-01-22 18:09 ` Gerhard Sittig
2014-01-22 21:23 ` Dinh Nguyen
2014-01-23 2:00 ` Tien Hock Loh
2014-01-23 1:47 ` Tien Hock Loh
2014-01-23 18:59 ` Gerhard Sittig [this message]
2014-01-22 18:24 ` Gerhard Sittig
2014-01-23 1:57 ` Tien Hock Loh
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=20140123185906.GU20094@book.gsilab.sittig.org \
--to=gsi@denx.de \
--cc=devicetree@vger.kernel.org \
--cc=dinguyen@altera.com \
--cc=lftan@altera.com \
--cc=linus.walleij@linaro.org \
--cc=linux-doc@vger.kernel.org \
--cc=rob.herring@calxeda.com \
--cc=rob@landley.net \
--cc=thloh.linux@gmail.com \
--cc=thloh@altera.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).