mirror of
https://github.com/torvalds/linux.git
synced 2026-11-26 08:23:17 +00:00
Platform data for device drivers should be defined in include/linux/platform_data/*.h, not in the architecture and platform specific directories. This moves such data out of the imx include directories Signed-off-by: Arnd Bergmann <[email protected]> Acked-by: Mark Brown <[email protected]> Acked-by: Greg Kroah-Hartman <[email protected]> Acked-by: Nicolas Pitre <[email protected]> Acked-by: Mauro Carvalho Chehab <[email protected]> Acked-by: Sascha Hauer <[email protected]> Acked-by: Vinod Koul <[email protected]> Cc: Russell King <[email protected]> Cc: Dan Williams <[email protected]> Cc: "Ben Dooks (embedded platforms)" <[email protected]> Cc: "Wolfram Sang (embedded platforms)" <[email protected]> Cc: Chris Ball <[email protected]> Cc: David Woodhouse <[email protected]> Cc: Grant Likely <[email protected]> Cc: Alan Cox <[email protected]> Cc: Felipe Balbi <[email protected]> Cc: Alan Stern <[email protected]> Cc: Florian Tobias Schandinat <[email protected]> Cc: Liam Girdwood <[email protected]> Cc: Javier Martin <[email protected]> Cc: Shawn Guo <[email protected]> Cc: Guennadi Liakhovetski <[email protected]>
60 lines
1.3 KiB
C
60 lines
1.3 KiB
C
#ifndef __MACH_MXC_SDMA_H__
|
|
#define __MACH_MXC_SDMA_H__
|
|
|
|
/**
|
|
* struct sdma_script_start_addrs - SDMA script start pointers
|
|
*
|
|
* start addresses of the different functions in the physical
|
|
* address space of the SDMA engine.
|
|
*/
|
|
struct sdma_script_start_addrs {
|
|
s32 ap_2_ap_addr;
|
|
s32 ap_2_bp_addr;
|
|
s32 ap_2_ap_fixed_addr;
|
|
s32 bp_2_ap_addr;
|
|
s32 loopback_on_dsp_side_addr;
|
|
s32 mcu_interrupt_only_addr;
|
|
s32 firi_2_per_addr;
|
|
s32 firi_2_mcu_addr;
|
|
s32 per_2_firi_addr;
|
|
s32 mcu_2_firi_addr;
|
|
s32 uart_2_per_addr;
|
|
s32 uart_2_mcu_addr;
|
|
s32 per_2_app_addr;
|
|
s32 mcu_2_app_addr;
|
|
s32 per_2_per_addr;
|
|
s32 uartsh_2_per_addr;
|
|
s32 uartsh_2_mcu_addr;
|
|
s32 per_2_shp_addr;
|
|
s32 mcu_2_shp_addr;
|
|
s32 ata_2_mcu_addr;
|
|
s32 mcu_2_ata_addr;
|
|
s32 app_2_per_addr;
|
|
s32 app_2_mcu_addr;
|
|
s32 shp_2_per_addr;
|
|
s32 shp_2_mcu_addr;
|
|
s32 mshc_2_mcu_addr;
|
|
s32 mcu_2_mshc_addr;
|
|
s32 spdif_2_mcu_addr;
|
|
s32 mcu_2_spdif_addr;
|
|
s32 asrc_2_mcu_addr;
|
|
s32 ext_mem_2_ipu_addr;
|
|
s32 descrambler_addr;
|
|
s32 dptc_dvfs_addr;
|
|
s32 utra_addr;
|
|
s32 ram_code_start_addr;
|
|
};
|
|
|
|
/**
|
|
* struct sdma_platform_data - platform specific data for SDMA engine
|
|
*
|
|
* @fw_name The firmware name
|
|
* @script_addrs SDMA scripts addresses in SDMA ROM
|
|
*/
|
|
struct sdma_platform_data {
|
|
char *fw_name;
|
|
struct sdma_script_start_addrs *script_addrs;
|
|
};
|
|
|
|
#endif /* __MACH_MXC_SDMA_H__ */
|