From: magnus.damm@gmail.com (Magnus Damm)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 02/03 v2] ARM: shmobile: APE6EVM PFC support
Date: Fri, 29 Mar 2013 17:00:12 +0900 [thread overview]
Message-ID: <20130329080012.15748.74546.sendpatchset@w520> (raw)
In-Reply-To: <20130329075952.15748.6290.sendpatchset@w520>
From: Magnus Damm <damm@opensource.se>
Start using the r8a73a4 PFC on the APE6EVM board
and configure the SCIFA0 console signals in the
PFC via PINCTRL.
Signed-off-by: Magnus Damm <damm@opensource.se>
---
Changes since V1:
- Use PINCTRL instead of function GPIOs
arch/arm/mach-shmobile/board-ape6evm.c | 10 ++++++++++
1 file changed, 10 insertions(+)
--- 0012/arch/arm/mach-shmobile/board-ape6evm.c
+++ work/arch/arm/mach-shmobile/board-ape6evm.c 2013-03-26 18:56:46.000000000 +0900
@@ -21,15 +21,25 @@
#include <linux/interrupt.h>
#include <linux/irqchip.h>
#include <linux/kernel.h>
+#include <linux/pinctrl/machine.h>
#include <linux/platform_device.h>
#include <mach/common.h>
#include <mach/r8a73a4.h>
#include <asm/mach-types.h>
#include <asm/mach/arch.h>
+static const struct pinctrl_map ape6evm_pinctrl_map[] = {
+ /* SCIFA0 console */
+ PIN_MAP_MUX_GROUP_DEFAULT("sh-sci.0", "pfc-r8a73a4",
+ "scifa0_data", "scifa0"),
+};
+
static void __init ape6evm_add_standard_devices(void)
{
r8a73a4_clock_init();
+ pinctrl_register_mappings(ape6evm_pinctrl_map,
+ ARRAY_SIZE(ape6evm_pinctrl_map));
+ r8a73a4_pinmux_init();
r8a73a4_add_standard_devices();
}
next prev parent reply other threads:[~2013-03-29 8:00 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-03-29 7:59 [PATCH 00/03 v4] ARM: shmobile: r8a73a4 APE6EVM board support Magnus Damm
2013-03-29 8:00 ` [PATCH 01/03 v3] ARM: shmobile: APE6EVM base support Magnus Damm
2013-03-29 8:00 ` Magnus Damm [this message]
2013-03-29 8:00 ` [PATCH 03/03 v3] ARM: shmobile: APE6EVM LAN9220 support Magnus Damm
2013-04-02 1:13 ` [PATCH 00/03 v4] ARM: shmobile: r8a73a4 APE6EVM board support Simon Horman
-- strict thread matches above, loose matches on Subject: below --
2013-03-26 14:12 [PATCH 00/03 v3] " Magnus Damm
2013-03-26 14:12 ` [PATCH 02/03 v2] ARM: shmobile: APE6EVM PFC support Magnus Damm
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=20130329080012.15748.74546.sendpatchset@w520 \
--to=magnus.damm@gmail.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 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).