* [GIT PULL] Renesas ARM based sh7372 SoC updates for v3.11
@ 2013-05-27 9:00 Simon Horman
2013-05-27 9:00 ` [PATCH 1/2] ARM: shmobile: remove ";" from SH_FIXED_RATIO_CLK*() macro Simon Horman
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Simon Horman @ 2013-05-27 9:00 UTC (permalink / raw)
To: linux-arm-kernel
Hi Arnd, Hi Olof,
The following changes since commit c7788792a5e7b0d5d7f96d0766b4cb6112d47d75:
Linux 3.10-rc2 (2013-05-20 14:37:38 -0700)
are available in the git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas.git tags/renesas-soc-sh7372-for-v3.11
for you to fetch changes up to 98aaf628f866f530ce6829476e1c2ac98c9c4f60:
ARM: shmobile: sh7372 pinmux platform device cleanup (2013-05-22 21:46:25 +0900)
----------------------------------------------------------------
Renesas ARM based sh7372 SoC updates for v3.11
* Clean-up from Magnus Damm to use DEFINE_RES_MEM() to slightly reduce code size
* Clean-up from Kuninori Morimoto to remove trailing ; from macros
----------------------------------------------------------------
Kuninori Morimoto (1):
ARM: shmobile: remove ";" from SH_FIXED_RATIO_CLK*() macro
Magnus Damm (1):
ARM: shmobile: sh7372 pinmux platform device cleanup
arch/arm/mach-shmobile/include/mach/clock.h | 4 ++--
arch/arm/mach-shmobile/setup-sh7372.c | 24 +++++-------------------
2 files changed, 7 insertions(+), 21 deletions(-)
^ permalink raw reply [flat|nested] 4+ messages in thread
* [PATCH 1/2] ARM: shmobile: remove ";" from SH_FIXED_RATIO_CLK*() macro
2013-05-27 9:00 [GIT PULL] Renesas ARM based sh7372 SoC updates for v3.11 Simon Horman
@ 2013-05-27 9:00 ` Simon Horman
2013-05-27 9:00 ` [PATCH 2/2] ARM: shmobile: sh7372 pinmux platform device cleanup Simon Horman
2013-05-27 9:16 ` [GIT PULL] Renesas ARM based sh7372 SoC updates for v3.11 Simon Horman
2 siblings, 0 replies; 4+ messages in thread
From: Simon Horman @ 2013-05-27 9:00 UTC (permalink / raw)
To: linux-arm-kernel
From: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Acked-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
---
arch/arm/mach-shmobile/include/mach/clock.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/arm/mach-shmobile/include/mach/clock.h b/arch/arm/mach-shmobile/include/mach/clock.h
index 76ac612..8902044 100644
--- a/arch/arm/mach-shmobile/include/mach/clock.h
+++ b/arch/arm/mach-shmobile/include/mach/clock.h
@@ -24,11 +24,11 @@ struct clk name = { \
}
#define SH_FIXED_RATIO_CLK(name, p, r) \
-static SH_FIXED_RATIO_CLKg(name, p, r);
+static SH_FIXED_RATIO_CLKg(name, p, r)
#define SH_FIXED_RATIO_CLK_SET(name, p, m, d) \
SH_CLK_RATIO(name, m, d); \
- SH_FIXED_RATIO_CLK(name, p, name);
+ SH_FIXED_RATIO_CLK(name, p, name)
#define SH_CLK_SET_RATIO(p, m, d) \
{ \
--
1.7.10.4
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [PATCH 2/2] ARM: shmobile: sh7372 pinmux platform device cleanup
2013-05-27 9:00 [GIT PULL] Renesas ARM based sh7372 SoC updates for v3.11 Simon Horman
2013-05-27 9:00 ` [PATCH 1/2] ARM: shmobile: remove ";" from SH_FIXED_RATIO_CLK*() macro Simon Horman
@ 2013-05-27 9:00 ` Simon Horman
2013-05-27 9:16 ` [GIT PULL] Renesas ARM based sh7372 SoC updates for v3.11 Simon Horman
2 siblings, 0 replies; 4+ messages in thread
From: Simon Horman @ 2013-05-27 9:00 UTC (permalink / raw)
To: linux-arm-kernel
From: Magnus Damm <damm@opensource.se>
Use DEFINE_RES_MEM() and platform_device_register_simple()
to save a couple of lines of code.
Signed-off-by: Magnus Damm <damm@opensource.se>
Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
---
arch/arm/mach-shmobile/setup-sh7372.c | 24 +++++-------------------
1 file changed, 5 insertions(+), 19 deletions(-)
diff --git a/arch/arm/mach-shmobile/setup-sh7372.c b/arch/arm/mach-shmobile/setup-sh7372.c
index 5502d62..c70a3cc 100644
--- a/arch/arm/mach-shmobile/setup-sh7372.c
+++ b/arch/arm/mach-shmobile/setup-sh7372.c
@@ -62,29 +62,15 @@ void __init sh7372_map_io(void)
}
/* PFC */
-static struct resource sh7372_pfc_resources[] = {
- [0] = {
- .start = 0xe6050000,
- .end = 0xe6057fff,
- .flags = IORESOURCE_MEM,
- },
- [1] = {
- .start = 0xe605800c,
- .end = 0xe6058027,
- .flags = IORESOURCE_MEM,
- }
-};
-
-static struct platform_device sh7372_pfc_device = {
- .name = "pfc-sh7372",
- .id = -1,
- .resource = sh7372_pfc_resources,
- .num_resources = ARRAY_SIZE(sh7372_pfc_resources),
+static const struct resource pfc_resources[] = {
+ DEFINE_RES_MEM(0xe6050000, 0x8000),
+ DEFINE_RES_MEM(0xe605800c, 0x001c),
};
void __init sh7372_pinmux_init(void)
{
- platform_device_register(&sh7372_pfc_device);
+ platform_device_register_simple("pfc-sh7372", -1, pfc_resources,
+ ARRAY_SIZE(pfc_resources));
}
/* SCIFA0 */
--
1.7.10.4
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [GIT PULL] Renesas ARM based sh7372 SoC updates for v3.11
2013-05-27 9:00 [GIT PULL] Renesas ARM based sh7372 SoC updates for v3.11 Simon Horman
2013-05-27 9:00 ` [PATCH 1/2] ARM: shmobile: remove ";" from SH_FIXED_RATIO_CLK*() macro Simon Horman
2013-05-27 9:00 ` [PATCH 2/2] ARM: shmobile: sh7372 pinmux platform device cleanup Simon Horman
@ 2013-05-27 9:16 ` Simon Horman
2 siblings, 0 replies; 4+ messages in thread
From: Simon Horman @ 2013-05-27 9:16 UTC (permalink / raw)
To: linux-arm-kernel
On Mon, May 27, 2013 at 06:00:40PM +0900, Simon Horman wrote:
> Hi Arnd, Hi Olof,
>
> The following changes since commit c7788792a5e7b0d5d7f96d0766b4cb6112d47d75:
>
> Linux 3.10-rc2 (2013-05-20 14:37:38 -0700)
>
> are available in the git repository at:
>
> git://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas.git tags/renesas-soc-sh7372-for-v3.11
>
> for you to fetch changes up to 98aaf628f866f530ce6829476e1c2ac98c9c4f60:
>
> ARM: shmobile: sh7372 pinmux platform device cleanup (2013-05-22 21:46:25 +0900)
Please ignore this, it duplicates a patch that I have sent a separate pull
request for.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2013-05-27 9:16 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-05-27 9:00 [GIT PULL] Renesas ARM based sh7372 SoC updates for v3.11 Simon Horman
2013-05-27 9:00 ` [PATCH 1/2] ARM: shmobile: remove ";" from SH_FIXED_RATIO_CLK*() macro Simon Horman
2013-05-27 9:00 ` [PATCH 2/2] ARM: shmobile: sh7372 pinmux platform device cleanup Simon Horman
2013-05-27 9:16 ` [GIT PULL] Renesas ARM based sh7372 SoC updates for v3.11 Simon Horman
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).