Skip to contentSkip to conversation

ARM: mach-shmobile: UIO platform data for sh7372/ap4evb V2

PATCH New Magnus Damm 1 participant 1 message Oct 14, 2010

Subsystems (4)
lore
Share & tools
lore

Magnus Damm

author maintainer
#0 lore raw

PATCH 1/1 ARM: mach-shmobile: UIO platform data for sh7372/ap4evb V2

From: Magnus Damm <[email protected]>

Export the following sh7372 multimedia hardware blocks using UIO: VPU, VEU[0-3], JPU and SPU2DSP[0-1]

The amount of physically continguous memory assigned to each hardware block can be configured using the kernel command line option "memchunk".

---

 arch/arm/mach-shmobile/board-ap4evb.c        |    1 
 arch/arm/mach-shmobile/include/mach/common.h |    1 
 arch/arm/mach-shmobile/setup-sh7372.c        |  254 ++++++++++++++++++++++++++
 3 files changed, 256 insertions(+)
arch/arm/mach-shmobile/board-ap4evb.c +1 -0
@@ -1147,5 +1147,6 @@ MACHINE_START(AP4EVB, "ap4evb")
 	.map_io		= ap4evb_map_io,
 	.init_irq	= sh7372_init_irq,
 	.init_machine	= ap4evb_init,
+	.reserve	= sh7372_reserve_memory,
 	.timer		= &ap4evb_timer,
 MACHINE_END
arch/arm/mach-shmobile/include/mach/common.h +1 -0
@@ -28,6 +28,7 @@ extern struct clk sh7377_extal2_clk;
 extern void sh7372_init_irq(void);
 extern void sh7372_add_early_devices(void);
 extern void sh7372_add_standard_devices(void);
+extern void sh7372_reserve_memory(void);
 extern void sh7372_clock_init(void);
 extern void sh7372_pinmux_init(void);
 extern struct clk sh7372_extal1_clk;
arch/arm/mach-shmobile/setup-sh7372.c +254 -0

284 lines not on this page · raw message