From: Rob Herring <robh@kernel.org>
To: Sean Nyekjaer <sean.nyekjaer@prevas.dk>
Cc: linux-gpio@vger.kernel.org, devicetree@vger.kernel.org
Subject: Re: [PATCH v4 2/2] gpio: sn65hvs885: Add DT binding documentation
Date: Fri, 22 Jan 2016 10:01:35 -0600 [thread overview]
Message-ID: <20160122160135.GA12320@rob-hp-laptop> (raw)
In-Reply-To: <1453358496-4902-2-git-send-email-sean.nyekjaer@prevas.dk>
On Thu, Jan 21, 2016 at 07:41:36AM +0100, Sean Nyekjaer wrote:
> Signed-off-by: Sean Nyekjaer <sean.nyekjaer@prevas.dk>
> ---
> Changes since v3:
> - Added gpio-controller and gpio cells flags
>
> Documentation/devicetree/bindings/gpio/gpio-sn65hvs885.txt | 11 +++++++++++
> 1 file changed, 11 insertions(+)
> create mode 100644 Documentation/devicetree/bindings/gpio/gpio-sn65hvs885.txt
>
> diff --git a/Documentation/devicetree/bindings/gpio/gpio-sn65hvs885.txt b/Documentation/devicetree/bindings/gpio/gpio-sn65hvs885.txt
> new file mode 100644
> index 0000000..6d99c9e
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/gpio/gpio-sn65hvs885.txt
> @@ -0,0 +1,11 @@
> +* TI SN65HVS885 digital-input serializer
> +
> +Example:
The example does not serve as documentation. You need to list the
properties and allowed values, required vs. optional, and point to
common bindings you are using as appropriate (i.e. gpio).
> + sn65hvs885@3 {
> + compatible = "sn65hvs885";
Also, this needs a vendor prefix, so "ti,sn65hvs885".
> + spi-max-frequency = <10000000>;
> + reg = <0>;
> + gpio-controller;
> + #gpio-cells = <1>;
> + };
> +
> --
> 2.7.0
>
> --
> To unsubscribe from this list: send the line "unsubscribe devicetree" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
prev parent reply other threads:[~2016-01-22 16:01 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-01-21 6:41 [PATCH v4 1/2] gpio: add TI SN65HVS885 spi industrial input serializer driver Sean Nyekjaer
2016-01-21 6:41 ` [PATCH v4 2/2] gpio: sn65hvs885: Add DT binding documentation Sean Nyekjaer
2016-01-22 16:01 ` Rob Herring [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=20160122160135.GA12320@rob-hp-laptop \
--to=robh@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=linux-gpio@vger.kernel.org \
--cc=sean.nyekjaer@prevas.dk \
/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