From: Magnus Damm <magnus.damm@gmail.com>
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 04/04] ARM: shmobile: r8a73a4 PFC support
Date: Tue, 26 Mar 2013 01:34:52 +0000 [thread overview]
Message-ID: <20130326013452.11796.62159.sendpatchset@w520> (raw)
In-Reply-To: <20130326013414.11796.9937.sendpatchset@w520>
From: Magnus Damm <damm@opensource.se>
Add a platform device for the r8a73a4 PFC.
Signed-off-by: Magnus Damm <damm@opensource.se>
---
No build time dependency, but requires PFC tables
in separate patch series to actually do something.
arch/arm/mach-shmobile/Kconfig | 1 +
arch/arm/mach-shmobile/include/mach/r8a73a4.h | 1 +
arch/arm/mach-shmobile/setup-r8a73a4.c | 10 ++++++++++
3 files changed, 12 insertions(+)
--- 0005/arch/arm/mach-shmobile/Kconfig
+++ work/arch/arm/mach-shmobile/Kconfig 2013-03-18 18:51:13.000000000 +0900
@@ -20,6 +20,7 @@ config ARCH_SH73A0
config ARCH_R8A73A4
bool "R-Mobile APE6 (R8A73A40)"
+ select ARCH_WANT_OPTIONAL_GPIOLIB
select ARM_GIC
select CPU_V7
select ARM_ARCH_TIMER
--- 0003/arch/arm/mach-shmobile/include/mach/r8a73a4.h
+++ work/arch/arm/mach-shmobile/include/mach/r8a73a4.h 2013-03-18 18:51:13.000000000 +0900
@@ -3,5 +3,6 @@
void r8a73a4_add_standard_devices(void);
void r8a73a4_clock_init(void);
+void r8a73a4_pinmux_init(void);
#endif /* __ASM_R8A73A4_H__ */
--- 0005/arch/arm/mach-shmobile/setup-r8a73a4.c
+++ work/arch/arm/mach-shmobile/setup-r8a73a4.c 2013-03-18 18:53:50.000000000 +0900
@@ -28,6 +28,16 @@
#include <mach/r8a73a4.h>
#include <asm/mach/arch.h>
+static const struct resource pfc_resources[] = {
+ DEFINE_RES_MEM(0xe6050000, 0x9000),
+};
+
+void __init r8a73a4_pinmux_init(void)
+{
+ platform_device_register_simple("pfc-r8a73a4", -1, pfc_resources,
+ ARRAY_SIZE(pfc_resources));
+}
+
#define SCIF_COMMON(scif_type, baseaddr, irq) \
.type = PORT_SCIFA, \
.mapbase = baseaddr, \
WARNING: multiple messages have this Message-ID (diff)
From: magnus.damm@gmail.com (Magnus Damm)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 04/04] ARM: shmobile: r8a73a4 PFC support
Date: Tue, 26 Mar 2013 10:34:52 +0900 [thread overview]
Message-ID: <20130326013452.11796.62159.sendpatchset@w520> (raw)
In-Reply-To: <20130326013414.11796.9937.sendpatchset@w520>
From: Magnus Damm <damm@opensource.se>
Add a platform device for the r8a73a4 PFC.
Signed-off-by: Magnus Damm <damm@opensource.se>
---
No build time dependency, but requires PFC tables
in separate patch series to actually do something.
arch/arm/mach-shmobile/Kconfig | 1 +
arch/arm/mach-shmobile/include/mach/r8a73a4.h | 1 +
arch/arm/mach-shmobile/setup-r8a73a4.c | 10 ++++++++++
3 files changed, 12 insertions(+)
--- 0005/arch/arm/mach-shmobile/Kconfig
+++ work/arch/arm/mach-shmobile/Kconfig 2013-03-18 18:51:13.000000000 +0900
@@ -20,6 +20,7 @@ config ARCH_SH73A0
config ARCH_R8A73A4
bool "R-Mobile APE6 (R8A73A40)"
+ select ARCH_WANT_OPTIONAL_GPIOLIB
select ARM_GIC
select CPU_V7
select ARM_ARCH_TIMER
--- 0003/arch/arm/mach-shmobile/include/mach/r8a73a4.h
+++ work/arch/arm/mach-shmobile/include/mach/r8a73a4.h 2013-03-18 18:51:13.000000000 +0900
@@ -3,5 +3,6 @@
void r8a73a4_add_standard_devices(void);
void r8a73a4_clock_init(void);
+void r8a73a4_pinmux_init(void);
#endif /* __ASM_R8A73A4_H__ */
--- 0005/arch/arm/mach-shmobile/setup-r8a73a4.c
+++ work/arch/arm/mach-shmobile/setup-r8a73a4.c 2013-03-18 18:53:50.000000000 +0900
@@ -28,6 +28,16 @@
#include <mach/r8a73a4.h>
#include <asm/mach/arch.h>
+static const struct resource pfc_resources[] = {
+ DEFINE_RES_MEM(0xe6050000, 0x9000),
+};
+
+void __init r8a73a4_pinmux_init(void)
+{
+ platform_device_register_simple("pfc-r8a73a4", -1, pfc_resources,
+ ARRAY_SIZE(pfc_resources));
+}
+
#define SCIF_COMMON(scif_type, baseaddr, irq) \
.type = PORT_SCIFA, \
.mapbase = baseaddr, \
next prev parent reply other threads:[~2013-03-26 1:34 UTC|newest]
Thread overview: 104+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-03-12 4:55 [PATCH 00/04] ARM: shmobile: r8a73a4 SoC and APE6EVM board support Magnus Damm
2013-03-12 4:55 ` Magnus Damm
2013-03-12 4:56 ` [PATCH 01/04] ARM: shmobile: Initial r8a73a4 SoC support Magnus Damm
2013-03-12 4:56 ` Magnus Damm
2013-03-12 12:25 ` Arnd Bergmann
2013-03-12 12:25 ` Arnd Bergmann
2013-03-14 7:44 ` Magnus Damm
2013-03-14 7:44 ` Magnus Damm
2013-03-14 9:06 ` Arnd Bergmann
2013-03-14 9:06 ` Arnd Bergmann
2013-03-19 3:22 ` Magnus Damm
2013-03-19 3:22 ` Magnus Damm
2013-03-22 16:03 ` Arnd Bergmann
2013-03-22 16:03 ` Arnd Bergmann
2013-03-12 4:56 ` [PATCH 02/04] ARM: shmobile: r8a73a4 SCIF support Magnus Damm
2013-03-12 4:56 ` Magnus Damm
2013-03-12 4:56 ` [PATCH 03/04] ARM: shmobile: r8a73a4 IRQC support Magnus Damm
2013-03-12 4:56 ` Magnus Damm
2013-03-12 12:31 ` Arnd Bergmann
2013-03-12 12:31 ` Arnd Bergmann
2013-03-14 6:59 ` Magnus Damm
2013-03-14 6:59 ` Magnus Damm
2013-03-14 13:43 ` Arnd Bergmann
2013-03-14 13:43 ` Arnd Bergmann
2013-03-15 5:32 ` Magnus Damm
2013-03-15 5:32 ` Magnus Damm
2013-03-22 16:00 ` Arnd Bergmann
2013-03-22 16:00 ` Arnd Bergmann
2013-03-12 4:56 ` [PATCH 04/04] ARM: shmobile: APE6EVM support Magnus Damm
2013-03-12 4:56 ` Magnus Damm
2013-03-12 7:51 ` Kuninori Morimoto
2013-03-12 7:51 ` Kuninori Morimoto
2013-03-12 7:57 ` Magnus Damm
2013-03-12 7:57 ` Magnus Damm
2013-03-12 12:16 ` Arnd Bergmann
2013-03-12 12:16 ` Arnd Bergmann
2013-03-14 7:01 ` Magnus Damm
2013-03-14 7:01 ` Magnus Damm
2013-03-12 5:19 ` [PATCH 00/04] ARM: shmobile: r8a73a4 SoC and APE6EVM board support Kuninori Morimoto
2013-03-12 5:19 ` Kuninori Morimoto
2013-03-12 12:28 ` Arnd Bergmann
2013-03-12 12:28 ` Arnd Bergmann
2013-03-14 7:28 ` Magnus Damm
2013-03-14 7:28 ` Magnus Damm
2013-03-14 8:59 ` Arnd Bergmann
2013-03-14 8:59 ` Arnd Bergmann
2013-03-18 14:32 ` [PATCH 00/04] ARM: shmobile: r8a73a4 SoC support V2 Magnus Damm
2013-03-18 14:32 ` Magnus Damm
2013-03-18 14:32 ` [PATCH 01/04] ARM: shmobile: Initial " Magnus Damm
2013-03-18 14:32 ` Magnus Damm
2013-03-18 14:32 ` [PATCH 02/04] ARM: shmobile: r8a73a4 SCIF " Magnus Damm
2013-03-18 14:32 ` Magnus Damm
2013-03-18 14:32 ` [PATCH 03/04] ARM: shmobile: r8a73a4 IRQC " Magnus Damm
2013-03-18 14:32 ` Magnus Damm
2013-03-18 14:32 ` Arnd Bergmann
2013-03-18 14:32 ` Arnd Bergmann
2013-03-19 3:00 ` Magnus Damm
2013-03-19 3:00 ` Magnus Damm
2013-03-18 14:32 ` [PATCH 04/04] ARM: shmobile: r8a73a4 PFC support Magnus Damm
2013-03-18 14:32 ` Magnus Damm
2013-03-26 1:34 ` [PATCH 00/04] ARM: shmobile: r8a73a4 SoC support V3 Magnus Damm
2013-03-26 1:34 ` Magnus Damm
2013-03-26 1:34 ` [PATCH 01/04] ARM: shmobile: Initial " Magnus Damm
2013-03-26 1:34 ` Magnus Damm
2013-03-26 1:34 ` [PATCH 02/04] ARM: shmobile: r8a73a4 SCIF " Magnus Damm
2013-03-26 1:34 ` Magnus Damm
2013-03-26 1:34 ` [PATCH 03/04] ARM: shmobile: r8a73a4 IRQC support V2 Magnus Damm
2013-03-26 1:34 ` Magnus Damm
2013-03-26 1:34 ` Magnus Damm [this message]
2013-03-26 1:34 ` [PATCH 04/04] ARM: shmobile: r8a73a4 PFC support Magnus Damm
2013-03-26 6:17 ` [PATCH 0/1] ARM: shmobile: r8a73a4 thermal support Kuninori Morimoto
2013-03-26 6:17 ` Kuninori Morimoto
2013-03-26 6:18 ` [PATCH] ARM: shmobile: r8a73a4: add thermal driver support Kuninori Morimoto
2013-03-26 6:18 ` Kuninori Morimoto
2013-03-27 5:17 ` Simon Horman
2013-03-27 5:17 ` Simon Horman
2013-03-27 9:19 ` Magnus Damm
2013-03-27 9:19 ` Magnus Damm
2013-03-27 12:11 ` Simon Horman
2013-03-27 12:11 ` Simon Horman
2013-03-27 5:21 ` [PATCH 0/1] ARM: shmobile: r8a73a4 thermal support Simon Horman
2013-03-27 5:21 ` Simon Horman
2013-03-27 7:49 ` Kuninori Morimoto
2013-03-27 7:49 ` Kuninori Morimoto
2013-03-27 9:17 ` Magnus Damm
2013-03-27 9:17 ` Magnus Damm
2013-03-27 12:09 ` Simon Horman
2013-03-27 12:09 ` Simon Horman
2013-03-27 12:10 ` Simon Horman
2013-03-27 12:10 ` Simon Horman
2013-03-26 11:48 ` [PATCH 00/04] ARM: shmobile: r8a73a4 SoC support V3 Arnd Bergmann
2013-03-26 11:48 ` Arnd Bergmann
2013-03-26 14:17 ` Magnus Damm
2013-03-26 14:17 ` Magnus Damm
2013-03-27 3:46 ` Simon Horman
2013-03-27 3:46 ` Simon Horman
2013-03-27 8:19 ` Magnus Damm
2013-03-27 8:19 ` Magnus Damm
2013-03-27 11:45 ` Simon Horman
2013-03-27 11:45 ` Simon Horman
2013-03-27 12:01 ` Simon Horman
2013-03-27 12:01 ` Simon Horman
2013-03-27 16:37 ` Magnus Damm
2013-03-27 16:37 ` 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=20130326013452.11796.62159.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 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.