mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-23 20:53:53 +08:00
82906b13a6
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 <arnd@arndb.de> Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Acked-by: Nicolas Pitre <nico@linaro.org> Acked-by: Mauro Carvalho Chehab <mchehab@redhat.com> Acked-by: Sascha Hauer <kernel@pengutronix.de> Acked-by: Vinod Koul <vinod.koul@linux.intel.com> Cc: Russell King <linux@arm.linux.org.uk> Cc: Dan Williams <djbw@fb.com> Cc: "Ben Dooks (embedded platforms)" <ben-linux@fluff.org> Cc: "Wolfram Sang (embedded platforms)" <w.sang@pengutronix.de> Cc: Chris Ball <cjb@laptop.org> Cc: David Woodhouse <dwmw2@infradead.org> Cc: Grant Likely <grant.likely@secretlab.ca> Cc: Alan Cox <alan@linux.intel.com> Cc: Felipe Balbi <balbi@ti.com> Cc: Alan Stern <stern@rowland.harvard.edu> Cc: Florian Tobias Schandinat <FlorianSchandinat@gmx.de> Cc: Liam Girdwood <lrg@ti.com> Cc: Javier Martin <javier.martin@vista-silicon.com> Cc: Shawn Guo <shawn.guo@linaro.org> Cc: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
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__ */
|