From: Philipp Zabel <p.zabel@pengutronix.de>
To: Markus Pargmann <mpa@pengutronix.de>
Cc: Linus Walleij <linus.walleij@linaro.org>,
Alexandre Courbot <gnurou@gmail.com>,
linux-gpio@vger.kernel.org, kernel@pengutronix.de,
devicetree@vger.kernel.org
Subject: Re: [PATCH v4 1/2] dt-bindings: GPIO: Add gpio-initval
Date: Fri, 04 Dec 2015 17:39:40 +0100 [thread overview]
Message-ID: <1449247180.3451.22.camel@pengutronix.de> (raw)
In-Reply-To: <1449234388-4007-2-git-send-email-mpa@pengutronix.de>
Am Freitag, den 04.12.2015, 14:06 +0100 schrieb Markus Pargmann:
> Add a binding for GPIO initialization.
>
> Signed-off-by: Markus Pargmann <mpa@pengutronix.de>
Both patches
Reviewed-by: Philipp Zabel <p.zabel@pengutronix.de>
small nitpick:
> ---
> Documentation/devicetree/bindings/gpio/gpio.txt | 34 ++++++++++++++++---------
> 1 file changed, 22 insertions(+), 12 deletions(-)
>
> diff --git a/Documentation/devicetree/bindings/gpio/gpio.txt b/Documentation/devicetree/bindings/gpio/gpio.txt
> index 069cdf6f9dac..d11abfa13add 100644
> --- a/Documentation/devicetree/bindings/gpio/gpio.txt
> +++ b/Documentation/devicetree/bindings/gpio/gpio.txt
> @@ -155,29 +155,39 @@ gpio-controller@00000000 {
> ngpios = <18>;
> }
>
> -The GPIO chip may contain GPIO hog definitions. GPIO hogging is a mechanism
> -providing automatic GPIO request and configuration as part of the
> -gpio-controller's driver probe function.
> +The GPIO chip may contain GPIO definitions. These define properties for single
> +GPIOs of this controller.
>
> -Each GPIO hog definition is represented as a child node of the GPIO controller.
> +There are two types of GPIO definitions:
> +
> +- GPIO hogging is a mechanism providing automatic GPIO request and
> + configuration as part of the gpio-controller driver's probe function. The
> + GPIO is held until the gpio-controller is removed.
> +- GPIO initialization provides an automatic initialization to known save
safe
regards
Philipp
next prev parent reply other threads:[~2015-12-04 16:39 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-12-04 13:06 [PATCH v4 0/2] gpiolib: Initializing GPIOs using DT property gpio-initval Markus Pargmann
2015-12-04 13:06 ` [PATCH v4 1/2] dt-bindings: GPIO: Add gpio-initval Markus Pargmann
2015-12-04 16:39 ` Philipp Zabel [this message]
2015-12-04 13:06 ` [PATCH v4 2/2] gpiolib: Add GPIO initialization Markus Pargmann
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=1449247180.3451.22.camel@pengutronix.de \
--to=p.zabel@pengutronix.de \
--cc=devicetree@vger.kernel.org \
--cc=gnurou@gmail.com \
--cc=kernel@pengutronix.de \
--cc=linus.walleij@linaro.org \
--cc=linux-gpio@vger.kernel.org \
--cc=mpa@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 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).