From: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
To: linux-sh@vger.kernel.org
Subject: Re: [PATCH 1/5] pinctl: sh-pfc: r8a7791: Group USB PWEN and OVC pins together
Date: Tue, 31 Dec 2013 00:57:23 +0000 [thread overview]
Message-ID: <1821696.sGzWNL2ABF@avalon> (raw)
In-Reply-To: <1387548868-20943-2-git-send-email-valentine.barshak@cogentembedded.com>
Hi Valentine,
Thank you for the patch.
On Friday 20 December 2013 18:14:24 Valentine Barshak wrote:
> This groups USB PWEN and OVC pins together on R8A7791 SoC,
> the same way it's done on R8A7790, since both are needed
> for a USB device.
>
> Signed-off-by: Valentine Barshak <valentine.barshak@cogentembedded.com>
Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
And applied to my tree.
> ---
> drivers/pinctrl/sh-pfc/pfc-r8a7791.c | 40 +++++++++------------------------
> 1 file changed, 12 insertions(+), 28 deletions(-)
>
> diff --git a/drivers/pinctrl/sh-pfc/pfc-r8a7791.c
> b/drivers/pinctrl/sh-pfc/pfc-r8a7791.c index ea02d37..894dd61 100644
> --- a/drivers/pinctrl/sh-pfc/pfc-r8a7791.c
> +++ b/drivers/pinctrl/sh-pfc/pfc-r8a7791.c
> @@ -2649,33 +2649,21 @@ static const unsigned int sdhi2_wp_mux[] = {
> SD2_WP_MARK,
> };
> /* - USB0
> ------------------------------------------------------------------- */
> -static const unsigned int usb0_pwen_pins[] = {
> - /* PWEN */
> - RCAR_GP_PIN(7, 23),
> +static const unsigned int usb0_pins[] = {
> + RCAR_GP_PIN(7, 23), /* PWEN */
> + RCAR_GP_PIN(7, 24), /* OVC */
> };
> -static const unsigned int usb0_pwen_mux[] = {
> +static const unsigned int usb0_mux[] = {
> USB0_PWEN_MARK,
> -};
> -static const unsigned int usb0_ovc_pins[] = {
> - /* OVC */
> - RCAR_GP_PIN(7, 24),
> -};
> -static const unsigned int usb0_ovc_mux[] = {
> USB0_OVC_MARK,
> };
> /* - USB1
> ------------------------------------------------------------------- */
> -static const unsigned int usb1_pwen_pins[] = {
> - /* PWEN */
> - RCAR_GP_PIN(7, 25),
> +static const unsigned int usb1_pins[] = {
> + RCAR_GP_PIN(7, 25), /* PWEN */
> + RCAR_GP_PIN(6, 30), /* OVC */
> };
> -static const unsigned int usb1_pwen_mux[] = {
> +static const unsigned int usb1_mux[] = {
> USB1_PWEN_MARK,
> -};
> -static const unsigned int usb1_ovc_pins[] = {
> - /* OVC */
> - RCAR_GP_PIN(6, 30),
> -};
> -static const unsigned int usb1_ovc_mux[] = {
> USB1_OVC_MARK,
> };
>
> @@ -2810,10 +2798,8 @@ static const struct sh_pfc_pin_group pinmux_groups[]
> = { SH_PFC_PIN_GROUP(sdhi2_ctrl),
> SH_PFC_PIN_GROUP(sdhi2_cd),
> SH_PFC_PIN_GROUP(sdhi2_wp),
> - SH_PFC_PIN_GROUP(usb0_pwen),
> - SH_PFC_PIN_GROUP(usb0_ovc),
> - SH_PFC_PIN_GROUP(usb1_pwen),
> - SH_PFC_PIN_GROUP(usb1_ovc),
> + SH_PFC_PIN_GROUP(usb0),
> + SH_PFC_PIN_GROUP(usb1),
> };
>
> static const char * const du_groups[] = {
> @@ -3016,12 +3002,10 @@ static const char * const sdhi2_groups[] = {
> };
>
> static const char * const usb0_groups[] = {
> - "usb0_pwen",
> - "usb0_ovc",
> + "usb0",
> };
> static const char * const usb1_groups[] = {
> - "usb1_pwen",
> - "usb1_ovc",
> + "usb1",
> };
>
> static const struct sh_pfc_function pinmux_functions[] = {
--
Regards,
Laurent Pinchart
prev parent reply other threads:[~2013-12-31 0:57 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-12-20 14:14 [PATCH 1/5] pinctl: sh-pfc: r8a7791: Group USB PWEN and OVC pins together Valentine Barshak
2013-12-31 0:57 ` Laurent Pinchart [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=1821696.sGzWNL2ABF@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 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.