From: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
To: linux-sh@vger.kernel.org
Subject: Re: [PATCH v4 1/4] sh-pfc: r8a7778: add USB pin groups
Date: Thu, 09 May 2013 10:25:12 +0000 [thread overview]
Message-ID: <1470291.bXsLj1iRMD@avalon> (raw)
In-Reply-To: <201305090312.48346.sergei.shtylyov@cogentembedded.com>
Hi Sergei,
Thank you for the patch.
On Thursday 09 May 2013 03:12:47 Sergei Shtylyov wrote:
> Add USB0/1 PENC/USB_OVC pin groups to R8A7778 PFC driver.
>
> Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
> ---
> Changes from version 3:
> - new patch in this series.
>
> drivers/pinctrl/sh-pfc/pfc-r8a7778.c | 28 ++++++++++++++++++++++++++++
> 1 file changed, 28 insertions(+)
>
> Index: renesas/drivers/pinctrl/sh-pfc/pfc-r8a7778.c
> =================================> --- renesas.orig/drivers/pinctrl/sh-pfc/pfc-r8a7778.c
> +++ renesas/drivers/pinctrl/sh-pfc/pfc-r8a7778.c
> @@ -1501,6 +1501,18 @@ SDHI_PFC_WPPN(sdhi2_wp_a, SD2_WP_A);
> SDHI_PFC_PINS(sdhi2_wp_b, RCAR_GP_PIN(3, 28));
> SDHI_PFC_WPPN(sdhi2_wp_b, SD2_WP_B);
>
> +/* - USB0
> ------------------------------------------------------------------- */
> +SH_PFC_PINS(usb0, RCAR_GP_PIN(0, 1));
> +SH_PFC_MUX1(usb0, PENC0);
> +SH_PFC_PINS(usb0_ovc, RCAR_GP_PIN(0, 3));
> +SH_PFC_MUX1(usb0_ovc, USB_OVC0);
> +
> +/* - USB1
> ------------------------------------------------------------------- */
> +SH_PFC_PINS(usb1, RCAR_GP_PIN(0, 2));
> +SH_PFC_MUX1(usb1, PENC1);
> +SH_PFC_PINS(usb1_ovc, RCAR_GP_PIN(0, 4));
> +SH_PFC_MUX1(usb1_ovc, USB_OVC1);
> +
> static const struct sh_pfc_pin_group pinmux_groups[] = {
> SH_PFC_PIN_GROUP(hscif0_data_a),
> SH_PFC_PIN_GROUP(hscif0_data_b),
> @@ -1570,6 +1582,10 @@ static const struct sh_pfc_pin_group pin
> SH_PFC_PIN_GROUP(sdhi2_data4_b),
> SH_PFC_PIN_GROUP(sdhi2_wp_a),
> SH_PFC_PIN_GROUP(sdhi2_wp_b),
> + SH_PFC_PIN_GROUP(usb0),
> + SH_PFC_PIN_GROUP(usb0_ovc),
> + SH_PFC_PIN_GROUP(usb1),
> + SH_PFC_PIN_GROUP(usb1_ovc),
> };
>
> static const char * const hscif0_groups[] = {
> @@ -1677,6 +1693,16 @@ static const char * const sdhi2_groups[]
> "sdhi2_wp_b",
> };
>
> +static const char * const usb0_groups[] = {
> + "usb0",
> + "usb0_ovc",
> +};
> +
> +static const char * const usb1_groups[] = {
> + "usb1",
> + "usb1_ovc",
> +};
> +
> static const struct sh_pfc_function pinmux_functions[] = {
> SH_PFC_FUNCTION(hscif0),
> SH_PFC_FUNCTION(hscif1),
> @@ -1690,6 +1716,8 @@ static const struct sh_pfc_function pinm
> SH_PFC_FUNCTION(sdhi0),
> SH_PFC_FUNCTION(sdhi1),
> SH_PFC_FUNCTION(sdhi2),
> + SH_PFC_FUNCTION(usb0),
> + SH_PFC_FUNCTION(usb1),
> };
>
> static struct pinmux_cfg_reg pinmux_config_regs[] = {
--
Regards,
Laurent Pinchart
next prev parent reply other threads:[~2013-05-09 10:25 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-05-08 23:12 [PATCH v4 1/4] sh-pfc: r8a7778: add USB pin groups Sergei Shtylyov
2013-05-09 10:25 ` Laurent Pinchart [this message]
2013-05-10 8:09 ` Simon Horman
2013-05-10 10:46 ` Sergei Shtylyov
2013-05-13 0:43 ` Simon Horman
2013-05-20 7:30 ` Linus Walleij
2013-05-22 14:25 ` Simon Horman
2013-05-22 14:27 ` Simon Horman
2013-05-22 14:44 ` Sergei Shtylyov
2013-05-22 14:58 ` Simon Horman
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=1470291.bXsLj1iRMD@avalon \
--to=laurent.pinchart@ideasonboard.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 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).