From: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
To: Geert Uytterhoeven <geert@linux-m68k.org>
Cc: Simon Horman <horms@verge.net.au>,
Magnus Damm <magnus.damm@gmail.com>,
linux-sh@vger.kernel.org,
Geert Uytterhoeven <geert+renesas@glider.be>,
Linus Walleij <linus.walleij@linaro.org>,
linux-gpio@vger.kernel.org, devicetree@vger.kernel.org
Subject: Re: [PATCH 2/7] gpio: rcar: Add optional functional clock to bindings
Date: Fri, 28 Mar 2014 17:53:47 +0100 [thread overview]
Message-ID: <1522709.FsOoKumPXz@avalon> (raw)
In-Reply-To: <1395953262-4290-3-git-send-email-geert@linux-m68k.org>
Hi Geert,
Thank you for the patch.
On Thursday 27 March 2014 21:47:37 Geert Uytterhoeven wrote:
> From: Geert Uytterhoeven <geert+renesas@glider.be>
>
> Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
> Cc: Linus Walleij <linus.walleij@linaro.org>
> Cc: Laurent Pinchart <Laurent.pinchart@ideasonboard.com>
> Cc: linux-gpio@vger.kernel.org
> Cc: devicetree@vger.kernel.org
> ---
> .../devicetree/bindings/gpio/renesas,gpio-rcar.txt | 4 ++++
> 1 file changed, 4 insertions(+)
>
> diff --git a/Documentation/devicetree/bindings/gpio/renesas,gpio-rcar.txt
> b/Documentation/devicetree/bindings/gpio/renesas,gpio-rcar.txt index
> f61cef74a212..9ccbe50dcec2 100644
> --- a/Documentation/devicetree/bindings/gpio/renesas,gpio-rcar.txt
> +++ b/Documentation/devicetree/bindings/gpio/renesas,gpio-rcar.txt
> @@ -21,6 +21,10 @@ Required Properties:
> GPIO_ACTIVE_HIGH and GPIO_ACTIVE_LOW flags are supported.
> - gpio-ranges: Range of pins managed by the GPIO controller.
>
> +Optional properties:
> +
> + - clocks: Must contain a reference to the functional clock.
> +
I would make the property mandatory. Obviously the driver needs to consider it
as optional in order not to break the DT ABI, but the specification should
make it mandatory in order to ensure that all future implementations will
specify the clock.
> Please refer to gpio.txt in this directory for details of gpio-ranges
> property and the common GPIO bindings used by client devices.
--
Regards,
Laurent Pinchart
next prev parent reply other threads:[~2014-03-28 16:53 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <1395953262-4290-1-git-send-email-geert@linux-m68k.org>
2014-03-27 20:47 ` [PATCH 1/7] gpio: rcar: Add helper variable dev = &pdev->dev Geert Uytterhoeven
2014-03-28 16:57 ` Laurent Pinchart
2014-03-28 20:55 ` Linus Walleij
2014-03-27 20:47 ` [PATCH 2/7] gpio: rcar: Add optional functional clock to bindings Geert Uytterhoeven
2014-03-28 16:53 ` Laurent Pinchart [this message]
2014-03-31 9:55 ` Geert Uytterhoeven
2014-03-31 10:15 ` Laurent Pinchart
2014-03-27 20:47 ` [PATCH 3/7] gpio: rcar: Add minimal runtime PM support Geert Uytterhoeven
2014-03-28 16:54 ` Laurent Pinchart
2014-03-31 10:04 ` Geert Uytterhoeven
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=1522709.FsOoKumPXz@avalon \
--to=laurent.pinchart@ideasonboard.com \
--cc=devicetree@vger.kernel.org \
--cc=geert+renesas@glider.be \
--cc=geert@linux-m68k.org \
--cc=horms@verge.net.au \
--cc=linus.walleij@linaro.org \
--cc=linux-gpio@vger.kernel.org \
--cc=linux-sh@vger.kernel.org \
--cc=magnus.damm@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).