ARM: mach-shmobile: UIO platform data for sh7372/ap4evb V2
Magnus Damm
maintainerPATCH 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".
Signed-off-by Magnus Damm <[email protected]>
---
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