DA8xx: CPPI 4.1 platform code
Subsystems (3)
PATCH v6 2/3 DA8xx: CPPI 4.1 platform code
Add da8xx_cppi41_init() function to initialize the CPPI 4.1 subsystem along with the data describing the CPPI 4.1 queue manager and the DMA block found in OMAP-L1x/DA8xx chips.
Signed-off-by Sergei Shtylyov <[email protected]>
---
The patch is against the recent DaVinci tree.
Changes since the previous version (mostly due to move of the CPPI 4.1 support to arch/arm/common/):
- replaced #include <mach/cppi41.h> with #include <asm/hardware/cppi41.h>;
- added 'select TI_CPPI41' to DA8[35]0 entries in Kconfig;
- removed #ifdef CONFIG_CPPI41 around da8xx_cppi41_init() and its data;
- exported cppi41_queue_mgr[];
- moved USB 2.0 clock entry change to another, already merged patch...
arch/arm/mach-davinci/Kconfig | 2 arch/arm/mach-davinci/include/mach/da8xx.h | 2 arch/arm/mach-davinci/usb.c | 106 +++++++++++++++++++++++++++++ 3 files changed, 110 insertions(+)
arch/arm/mach-davinci/Kconfig +2 -0
@@ -32,12 +32,14 @@ config ARCH_DAVINCI_DM646x config ARCH_DAVINCI_DA830 bool "DA830/OMAP-L137 based system" select CP_INTC + select TI_CPPI41 select ARCH_DAVINCI_DA8XX select CPU_DCACHE_WRITETHROUGH # needed on silicon revs 1.0, 1.1 config ARCH_DAVINCI_DA850 bool "DA850/OMAP-L138 based system" select CP_INTC + select TI_CPPI41 select ARCH_DAVINCI_DA8XX select ARCH_HAS_CPUFREQ
arch/arm/mach-davinci/include/mach/da8xx.h +2 -0
@@ -67,6 +67,8 @@ extern void __iomem *da8xx_syscfg1_base;void __init da830_init (void );void __init da850_init (void ); +int da8xx_cppi41_init (void ); +int da8xx_register_edma (void );int da8xx_register_i2c (int instance,struct davinci_i2c_platform_data *pdata);int da8xx_register_watchdog (void );
arch/arm/mach-davinci/usb.c +106 -0
121 lines not on this page · raw message