From: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
To: linux-arm-kernel@lists.infradead.org
Subject: Re: [PATCH 08/21] ARM: shmobile: kzm9g: reference: Register pinctrl mappings for SCIF
Date: Wed, 13 Feb 2013 16:04:38 +0000 [thread overview]
Message-ID: <3345904.WES3lb9r4X@avalon> (raw)
In-Reply-To: <1360723497-23266-9-git-send-email-horms+renesas@verge.net.au>
Hi Simon,
Thank you for the patch.
On Wednesday 13 February 2013 11:44:44 Simon Horman wrote:
> Replace the GPIO-based SCIF pinmux configuration by pinctrl mappings.
>
> This change is for the kzm9g reference DT implementation and
> is in keeping with a similar change for the default kzm9g implementation
> made by Laurent Pinchart.
>
> Reported-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
> Cc: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
> Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
Acked-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
> ---
> arch/arm/mach-shmobile/board-kzm9g-reference.c | 10 ++++------
> 1 file changed, 4 insertions(+), 6 deletions(-)
>
> diff --git a/arch/arm/mach-shmobile/board-kzm9g-reference.c
> b/arch/arm/mach-shmobile/board-kzm9g-reference.c index 642bb7b..9d6fe22
> 100644
> --- a/arch/arm/mach-shmobile/board-kzm9g-reference.c
> +++ b/arch/arm/mach-shmobile/board-kzm9g-reference.c
> @@ -36,16 +36,14 @@
> static const struct pinctrl_map kzm_pinctrl_map[] = {
> PIN_MAP_MUX_GROUP_DEFAULT("i2c-sh_mobile.3", "pfc-sh73a0",
> "i2c3_1", "i2c3"),
> + PIN_MAP_MUX_GROUP_DEFAULT("sh-sci.4", "pfc-sh73a0",
> + "scifa4_data", "scifa4"),
> + PIN_MAP_MUX_GROUP_DEFAULT("sh-sci.4", "pfc-sh73a0",
> + "scifa4_ctrl", "scifa4"),
> };
>
> static void __init kzm_init(void)
> {
> - /* enable SCIFA4 */
> - gpio_request(GPIO_FN_SCIFA4_TXD, NULL);
> - gpio_request(GPIO_FN_SCIFA4_RXD, NULL);
> - gpio_request(GPIO_FN_SCIFA4_RTS_, NULL);
> - gpio_request(GPIO_FN_SCIFA4_CTS_, NULL);
> -
> /* enable MMCIF */
> gpio_request(GPIO_FN_MMCCLK0, NULL);
> gpio_request(GPIO_FN_MMCCMD0_PU, NULL);
--
Regards,
Laurent Pinchart
WARNING: multiple messages have this Message-ID (diff)
From: laurent.pinchart@ideasonboard.com (Laurent Pinchart)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 08/21] ARM: shmobile: kzm9g: reference: Register pinctrl mappings for SCIF
Date: Wed, 13 Feb 2013 17:04:38 +0100 [thread overview]
Message-ID: <3345904.WES3lb9r4X@avalon> (raw)
In-Reply-To: <1360723497-23266-9-git-send-email-horms+renesas@verge.net.au>
Hi Simon,
Thank you for the patch.
On Wednesday 13 February 2013 11:44:44 Simon Horman wrote:
> Replace the GPIO-based SCIF pinmux configuration by pinctrl mappings.
>
> This change is for the kzm9g reference DT implementation and
> is in keeping with a similar change for the default kzm9g implementation
> made by Laurent Pinchart.
>
> Reported-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
> Cc: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
> Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
Acked-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
> ---
> arch/arm/mach-shmobile/board-kzm9g-reference.c | 10 ++++------
> 1 file changed, 4 insertions(+), 6 deletions(-)
>
> diff --git a/arch/arm/mach-shmobile/board-kzm9g-reference.c
> b/arch/arm/mach-shmobile/board-kzm9g-reference.c index 642bb7b..9d6fe22
> 100644
> --- a/arch/arm/mach-shmobile/board-kzm9g-reference.c
> +++ b/arch/arm/mach-shmobile/board-kzm9g-reference.c
> @@ -36,16 +36,14 @@
> static const struct pinctrl_map kzm_pinctrl_map[] = {
> PIN_MAP_MUX_GROUP_DEFAULT("i2c-sh_mobile.3", "pfc-sh73a0",
> "i2c3_1", "i2c3"),
> + PIN_MAP_MUX_GROUP_DEFAULT("sh-sci.4", "pfc-sh73a0",
> + "scifa4_data", "scifa4"),
> + PIN_MAP_MUX_GROUP_DEFAULT("sh-sci.4", "pfc-sh73a0",
> + "scifa4_ctrl", "scifa4"),
> };
>
> static void __init kzm_init(void)
> {
> - /* enable SCIFA4 */
> - gpio_request(GPIO_FN_SCIFA4_TXD, NULL);
> - gpio_request(GPIO_FN_SCIFA4_RXD, NULL);
> - gpio_request(GPIO_FN_SCIFA4_RTS_, NULL);
> - gpio_request(GPIO_FN_SCIFA4_CTS_, NULL);
> -
> /* enable MMCIF */
> gpio_request(GPIO_FN_MMCCLK0, NULL);
> gpio_request(GPIO_FN_MMCCMD0_PU, NULL);
--
Regards,
Laurent Pinchart
next prev parent reply other threads:[~2013-02-13 16:04 UTC|newest]
Thread overview: 60+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-02-13 2:44 [PATCH 00/16 v1.1] SCIF, I2C and FSI pinctrl functions for sh73a0 Simon Horman
2013-02-13 2:44 ` Simon Horman
2013-02-13 2:44 ` [PATCH 01/21] ARM: shmobile: bonito: Register pinctrl mappings for LCDC0 Simon Horman
2013-02-13 2:44 ` Simon Horman
2013-02-13 2:44 ` [PATCH 02/21] ARM: shmobile: kota2: Register pinctrl mappings for SCIF Simon Horman
2013-02-13 2:44 ` Simon Horman
2013-02-13 2:44 ` [PATCH 03/21] ARM: shmobile: kzm9g: Register pinctrl mappings for LCD Simon Horman
2013-02-13 2:44 ` Simon Horman
2013-02-13 2:44 ` [PATCH 04/21] ARM: shmobile: kzm9g: Register pinctrl mappings for SCIF Simon Horman
2013-02-13 2:44 ` Simon Horman
2013-02-13 2:44 ` [PATCH 05/21] ARM: shmobile: kzm9g: Register pinctrl mappings for I2C Simon Horman
2013-02-13 2:44 ` Simon Horman
2013-02-13 2:44 ` [PATCH 06/21] ARM: shmobile: kzm9g: Register pinctrl mappings for FSI Simon Horman
2013-02-13 2:44 ` Simon Horman
2013-02-13 2:44 ` [PATCH 07/21] ARM: shmobile: kzm9g: reference: Register pinctrl mappings for I2C Simon Horman
2013-02-13 2:44 ` Simon Horman
2013-02-13 16:03 ` Laurent Pinchart
2013-02-13 16:03 ` Laurent Pinchart
2013-02-13 16:25 ` Simon Horman
2013-02-13 16:25 ` Simon Horman
2013-02-13 2:44 ` [PATCH 08/21] ARM: shmobile: kzm9g: reference: Register pinctrl mappings for SCIF Simon Horman
2013-02-13 2:44 ` Simon Horman
2013-02-13 16:04 ` Laurent Pinchart [this message]
2013-02-13 16:04 ` Laurent Pinchart
2013-02-13 2:44 ` [PATCH 09/21] sh-pfc: sh73a0: Remove LCD and LCD2 function GPIOS Simon Horman
2013-02-13 2:44 ` Simon Horman
2013-02-13 2:44 ` [PATCH 10/21] sh-pfc: sh73a0: Remove SCIFA and SCIFB " Simon Horman
2013-02-13 2:44 ` Simon Horman
2013-02-13 2:44 ` [PATCH 11/21] sh-pfc: sh73a0: Remove I2C " Simon Horman
2013-02-13 2:44 ` Simon Horman
2013-02-13 2:44 ` [PATCH 12/21] sh-pfc: sh73a0: Remove FSI " Simon Horman
2013-02-13 2:44 ` Simon Horman
2013-02-13 2:44 ` [PATCH 13/21] sh-pfc: r8a7740: Remove LCD0 and LCD1 " Simon Horman
2013-02-13 2:44 ` Simon Horman
2013-02-13 2:44 ` [PATCH 14/21] sh-pfc: r8a7779: Remove DU1_DOTCLKOUT1 GPIO Simon Horman
2013-02-13 2:44 ` Simon Horman
2013-02-13 2:44 ` [PATCH 15/21] ARM: shmobile: sh73a0: Remove LCDC and LCDC2 function GPIOs Simon Horman
2013-02-13 2:44 ` Simon Horman
2013-02-13 2:44 ` [PATCH 16/21] ARM: shmobile: sh73a0: Remove SCIFA and SCIFB " Simon Horman
2013-02-13 2:44 ` Simon Horman
2013-02-13 2:44 ` [PATCH 17/21] ARM: shmobile: sh73a0: Remove I2C " Simon Horman
2013-02-13 2:44 ` Simon Horman
2013-02-13 2:44 ` [PATCH 18/21] ARM: shmobile: sh73a0: Remove FSI " Simon Horman
2013-02-13 2:44 ` Simon Horman
2013-02-13 2:44 ` [PATCH 19/21] ARM: shmobile: r8a7740: Remove LCD0 and LCD1 " Simon Horman
2013-02-13 2:44 ` Simon Horman
2013-02-13 2:44 ` [PATCH 20/21] ARM: shmobile: r8a7779: Remove DU1_DOTCLKOUT1 GPIO Simon Horman
2013-02-13 2:44 ` Simon Horman
2013-02-13 2:44 ` [PATCH 21/21] ARM: shmobile: r8a7779: Remove DU function GPIOs Simon Horman
2013-02-13 2:44 ` Simon Horman
2013-02-13 16:06 ` [PATCH 00/16 v1.1] SCIF, I2C and FSI pinctrl functions for sh73a0 Laurent Pinchart
2013-02-13 16:06 ` Laurent Pinchart
2013-02-13 16:21 ` Simon Horman
2013-02-13 16:21 ` Simon Horman
2013-02-13 16:32 ` Laurent Pinchart
2013-02-13 16:32 ` Laurent Pinchart
2013-02-14 0:56 ` Simon Horman
2013-02-14 0:56 ` Simon Horman
-- strict thread matches above, loose matches on Subject: below --
2013-02-13 3:26 [PATCH 00/21 v1.2] " Simon Horman
2013-02-13 3:26 ` [PATCH 08/21] ARM: shmobile: kzm9g: reference: Register pinctrl mappings for SCIF Simon Horman
2013-02-13 3:26 ` 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=3345904.WES3lb9r4X@avalon \
--to=laurent.pinchart@ideasonboard.com \
--cc=linux-arm-kernel@lists.infradead.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.