* [PATCH] ARM: shmobile: Make use of r8a7790_add_standard_devices()
@ 2014-02-24 5:49 ` Magnus Damm
0 siblings, 0 replies; 4+ messages in thread
From: Magnus Damm @ 2014-02-24 5:49 UTC (permalink / raw)
To: linux-arm-kernel
From: Magnus Damm <damm@opensource.se>
Move non-PFC and non-GPIO devices off from r8a7790_pinmux_init()
and into r8a7790_add_standard_devices() which is the normal place
to keep regular devices in the legacy case.
Signed-off-by: Magnus Damm <damm@opensource.se>
---
arch/arm/mach-shmobile/setup-r8a7790.c | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
--- 0009/arch/arm/mach-shmobile/setup-r8a7790.c
+++ work/arch/arm/mach-shmobile/setup-r8a7790.c 2014-02-24 14:15:51.000000000 +0900
@@ -185,12 +185,6 @@ void __init r8a7790_pinmux_init(void)
r8a7790_register_gpio(3);
r8a7790_register_gpio(4);
r8a7790_register_gpio(5);
- r8a7790_register_i2c(0);
- r8a7790_register_i2c(1);
- r8a7790_register_i2c(2);
- r8a7790_register_i2c(3);
- r8a7790_register_audio_dmac(0);
- r8a7790_register_audio_dmac(1);
}
#define __R8A7790_SCIF(scif_type, _scscr, index, baseaddr, irq) \
@@ -308,6 +302,12 @@ void __init r8a7790_add_standard_devices
r8a7790_add_dt_devices();
r8a7790_register_irqc(0);
r8a7790_register_thermal();
+ r8a7790_register_i2c(0);
+ r8a7790_register_i2c(1);
+ r8a7790_register_i2c(2);
+ r8a7790_register_i2c(3);
+ r8a7790_register_audio_dmac(0);
+ r8a7790_register_audio_dmac(1);
}
void __init r8a7790_init_early(void)
^ permalink raw reply [flat|nested] 4+ messages in thread
* [PATCH] ARM: shmobile: Make use of r8a7790_add_standard_devices()
@ 2014-02-24 5:49 ` Magnus Damm
0 siblings, 0 replies; 4+ messages in thread
From: Magnus Damm @ 2014-02-24 5:49 UTC (permalink / raw)
To: linux-arm-kernel
From: Magnus Damm <damm@opensource.se>
Move non-PFC and non-GPIO devices off from r8a7790_pinmux_init()
and into r8a7790_add_standard_devices() which is the normal place
to keep regular devices in the legacy case.
Signed-off-by: Magnus Damm <damm@opensource.se>
---
arch/arm/mach-shmobile/setup-r8a7790.c | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
--- 0009/arch/arm/mach-shmobile/setup-r8a7790.c
+++ work/arch/arm/mach-shmobile/setup-r8a7790.c 2014-02-24 14:15:51.000000000 +0900
@@ -185,12 +185,6 @@ void __init r8a7790_pinmux_init(void)
r8a7790_register_gpio(3);
r8a7790_register_gpio(4);
r8a7790_register_gpio(5);
- r8a7790_register_i2c(0);
- r8a7790_register_i2c(1);
- r8a7790_register_i2c(2);
- r8a7790_register_i2c(3);
- r8a7790_register_audio_dmac(0);
- r8a7790_register_audio_dmac(1);
}
#define __R8A7790_SCIF(scif_type, _scscr, index, baseaddr, irq) \
@@ -308,6 +302,12 @@ void __init r8a7790_add_standard_devices
r8a7790_add_dt_devices();
r8a7790_register_irqc(0);
r8a7790_register_thermal();
+ r8a7790_register_i2c(0);
+ r8a7790_register_i2c(1);
+ r8a7790_register_i2c(2);
+ r8a7790_register_i2c(3);
+ r8a7790_register_audio_dmac(0);
+ r8a7790_register_audio_dmac(1);
}
void __init r8a7790_init_early(void)
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] ARM: shmobile: Make use of r8a7790_add_standard_devices()
2014-02-24 5:49 ` Magnus Damm
@ 2014-03-07 2:38 ` Simon Horman
-1 siblings, 0 replies; 4+ messages in thread
From: Simon Horman @ 2014-03-07 2:38 UTC (permalink / raw)
To: linux-arm-kernel
On Mon, Feb 24, 2014 at 02:49:07PM +0900, Magnus Damm wrote:
> From: Magnus Damm <damm@opensource.se>
>
> Move non-PFC and non-GPIO devices off from r8a7790_pinmux_init()
> and into r8a7790_add_standard_devices() which is the normal place
> to keep regular devices in the legacy case.
>
> Signed-off-by: Magnus Damm <damm@opensource.se>
Thanks, I have queued this up.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [PATCH] ARM: shmobile: Make use of r8a7790_add_standard_devices()
@ 2014-03-07 2:38 ` Simon Horman
0 siblings, 0 replies; 4+ messages in thread
From: Simon Horman @ 2014-03-07 2:38 UTC (permalink / raw)
To: linux-arm-kernel
On Mon, Feb 24, 2014 at 02:49:07PM +0900, Magnus Damm wrote:
> From: Magnus Damm <damm@opensource.se>
>
> Move non-PFC and non-GPIO devices off from r8a7790_pinmux_init()
> and into r8a7790_add_standard_devices() which is the normal place
> to keep regular devices in the legacy case.
>
> Signed-off-by: Magnus Damm <damm@opensource.se>
Thanks, I have queued this up.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2014-03-07 2:38 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-02-24 5:49 [PATCH] ARM: shmobile: Make use of r8a7790_add_standard_devices() Magnus Damm
2014-02-24 5:49 ` Magnus Damm
2014-03-07 2:38 ` Simon Horman
2014-03-07 2:38 ` Simon Horman
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.