* [PATCH] ARM: shmobile: break out sh7372 platform devices
@ 2010-10-13 7:22 Magnus Damm
2010-10-13 9:49 ` Paul Mundt
0 siblings, 1 reply; 2+ messages in thread
From: Magnus Damm @ 2010-10-13 7:22 UTC (permalink / raw)
To: linux-sh
From: Magnus Damm <damm@opensource.se>
This patch introduces sh7372_late_devices which
should include all regular processor specific
platform devices.
Early platform devices for console and timers
should be put on the sh7372_early_devices list,
all other devices should be on sh7372_late_devices.
Signed-off-by: Magnus Damm <damm@opensource.se>
---
arch/arm/mach-shmobile/setup-sh7372.c | 6 ++++++
1 file changed, 6 insertions(+)
--- 0003/arch/arm/mach-shmobile/setup-sh7372.c
+++ work/arch/arm/mach-shmobile/setup-sh7372.c 2010-10-13 15:35:44.000000000 +0900
@@ -527,6 +527,9 @@ static struct platform_device *sh7372_ea
&scif5_device,
&scif6_device,
&cmt10_device,
+};
+
+static struct platform_device *sh7372_late_devices[] __initdata = {
&iic0_device,
&iic1_device,
&dma0_device,
@@ -538,6 +541,9 @@ void __init sh7372_add_standard_devices(
{
platform_add_devices(sh7372_early_devices,
ARRAY_SIZE(sh7372_early_devices));
+
+ platform_add_devices(sh7372_late_devices,
+ ARRAY_SIZE(sh7372_late_devices));
}
void __init sh7372_add_early_devices(void)
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] ARM: shmobile: break out sh7372 platform devices
2010-10-13 7:22 [PATCH] ARM: shmobile: break out sh7372 platform devices Magnus Damm
@ 2010-10-13 9:49 ` Paul Mundt
0 siblings, 0 replies; 2+ messages in thread
From: Paul Mundt @ 2010-10-13 9:49 UTC (permalink / raw)
To: linux-sh
On Wed, Oct 13, 2010 at 04:22:11PM +0900, Magnus Damm wrote:
> This patch introduces sh7372_late_devices which
> should include all regular processor specific
> platform devices.
>
> Early platform devices for console and timers
> should be put on the sh7372_early_devices list,
> all other devices should be on sh7372_late_devices.
On Wed, Oct 13, 2010 at 04:29:31PM +0900, Magnus Damm wrote:
> Move SH-Mobile ARM systems over from the legacy
> "clk" member of struct sh_timer_config to using
> the device name and clkdev for clock matching.
On Wed, Oct 13, 2010 at 04:39:18PM +0900, Magnus Damm wrote:
> Just use MMCIF as name to match the sh7372 data sheet.
These are all applied to the genesis tree now, thanks.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-10-13 9:49 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-10-13 7:22 [PATCH] ARM: shmobile: break out sh7372 platform devices Magnus Damm
2010-10-13 9:49 ` Paul Mundt
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).