From: Khiem Nguyen <khiem.nguyen.xt@rvc.renesas.com>
To: linux-sh@vger.kernel.org
Subject: Re: [PATCH] gpio: rcar: Add r8a7795 (R-Car H3) support
Date: Fri, 19 Jun 2015 11:39:38 +0000 [thread overview]
Message-ID: <5583FF7A.1010205@rvc.renesas.com> (raw)
In-Reply-To: <1434710308-15901-1-git-send-email-ulrich.hecht+renesas@gmail.com>
Hi Ulrich,
Thanks for your patch.
On 6/19/2015 5:38 PM, Ulrich Hecht wrote:
> R-Car Gen3's GPIO blocks are identical to Gen2's in every respect.
>
> Signed-off-by: Ulrich Hecht <ulrich.hecht+renesas@gmail.com>
> ---
> Documentation/devicetree/bindings/gpio/renesas,gpio-rcar.txt | 1 +
> drivers/gpio/gpio-rcar.c | 3 +++
> 2 files changed, 4 insertions(+)
>
> diff --git a/Documentation/devicetree/bindings/gpio/renesas,gpio-rcar.txt b/Documentation/devicetree/bindings/gpio/renesas,gpio-rcar.txt
> index 38fb86f..f60e2f4 100644
> --- a/Documentation/devicetree/bindings/gpio/renesas,gpio-rcar.txt
> +++ b/Documentation/devicetree/bindings/gpio/renesas,gpio-rcar.txt
> @@ -9,6 +9,7 @@ Required Properties:
> - "renesas,gpio-r8a7791": for R8A7791 (R-Car M2-W) compatible GPIO controller.
> - "renesas,gpio-r8a7793": for R8A7793 (R-Car M2-N) compatible GPIO controller.
> - "renesas,gpio-r8a7794": for R8A7794 (R-Car E2) compatible GPIO controller.
> + - "renesas,gpio-r8a7795": for R8A7795 (R-Car H3) compatible GPIO controller.
> - "renesas,gpio-rcar": for generic R-Car GPIO controller.
>
> - reg: Base address and length of each memory resource used by the GPIO
> diff --git a/drivers/gpio/gpio-rcar.c b/drivers/gpio/gpio-rcar.c
> index fd39774..e962ad5 100644
> --- a/drivers/gpio/gpio-rcar.c
> +++ b/drivers/gpio/gpio-rcar.c
> @@ -318,6 +318,9 @@ static const struct of_device_id gpio_rcar_of_table[] = {
> .compatible = "renesas,gpio-r8a7794",
> .data = &gpio_rcar_info_gen2,
> }, {
> + .compatible = "renesas,gpio-r8a7795",
> + .data = &gpio_rcar_info_gen2,
I suggest that we should create another structure, e.g gpio_rcar_info_gen3,
or change current gpio_rcar_info_gen2 to a more generic name for both
gen2 and gen3.
What do you think ?
> + }, {
> .compatible = "renesas,gpio-rcar",
> .data = &gpio_rcar_info_gen1,
> }, {
>
--
Best regards,
KHIEM Nguyen
--
To unsubscribe from this list: send the line "unsubscribe linux-sh" in
next prev parent reply other threads:[~2015-06-19 11:39 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-06-19 10:38 [PATCH] gpio: rcar: Add r8a7795 (R-Car H3) support Ulrich Hecht
2015-06-19 11:39 ` Khiem Nguyen [this message]
2015-06-22 1:03 ` Kuninori Morimoto
2015-06-23 23:39 ` Simon Horman
2015-07-13 10:07 ` Linus Walleij
2015-07-13 18:52 ` Laurent Pinchart
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=5583FF7A.1010205@rvc.renesas.com \
--to=khiem.nguyen.xt@rvc.renesas.com \
--cc=linux-sh@vger.kernel.org \
/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.