* [PATCH 02/05] ARM: mach-shmobile: sh7372 A4LC support for AP4EVB
@ 2011-06-28 0:35 Magnus Damm
0 siblings, 0 replies; only message in thread
From: Magnus Damm @ 2011-06-28 0:35 UTC (permalink / raw)
To: linux-sh
From: Magnus Damm <damm@opensource.se>
The AP4EVB board is also using a sh7372 SoC, so tie in
A4LC support on that board as well.
Signed-off-by: Magnus Damm <damm@opensource.se>
---
arch/arm/mach-shmobile/board-ap4evb.c | 3 +++
arch/arm/mach-shmobile/board-mackerel.c | 1 -
arch/arm/mach-shmobile/setup-sh7372.c | 2 ++
3 files changed, 5 insertions(+), 1 deletion(-)
--- 0001/arch/arm/mach-shmobile/board-ap4evb.c
+++ work/arch/arm/mach-shmobile/board-ap4evb.c 2011-06-27 13:23:31.000000000 +0900
@@ -1408,6 +1408,9 @@ static void __init ap4evb_init(void)
platform_add_devices(ap4evb_devices, ARRAY_SIZE(ap4evb_devices));
+ sh7372_add_device_to_domain(&sh7372_a4lc, &lcdc1_device);
+ sh7372_add_device_to_domain(&sh7372_a4lc, &lcdc_device);
+
hdmi_init_pm_clock();
fsi_init_pm_clock();
sh7372_pm_init();
--- 0002/arch/arm/mach-shmobile/board-mackerel.c
+++ work/arch/arm/mach-shmobile/board-mackerel.c 2011-06-27 13:23:44.000000000 +0900
@@ -1582,7 +1582,6 @@ static void __init mackerel_init(void)
platform_add_devices(mackerel_devices, ARRAY_SIZE(mackerel_devices));
- sh7372_init_pm_domain(&sh7372_a4lc);
sh7372_add_device_to_domain(&sh7372_a4lc, &lcdc_device);
sh7372_add_device_to_domain(&sh7372_a4lc, &hdmi_lcdc_device);
--- 0001/arch/arm/mach-shmobile/setup-sh7372.c
+++ work/arch/arm/mach-shmobile/setup-sh7372.c 2011-06-27 13:23:54.000000000 +0900
@@ -841,6 +841,8 @@ static struct platform_device *sh7372_la
void __init sh7372_add_standard_devices(void)
{
+ sh7372_init_pm_domain(&sh7372_a4lc);
+
platform_add_devices(sh7372_early_devices,
ARRAY_SIZE(sh7372_early_devices));
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2011-06-28 0:35 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-06-28 0:35 [PATCH 02/05] ARM: mach-shmobile: sh7372 A4LC support for AP4EVB Magnus Damm
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox