mirror of
https://github.com/torvalds/linux.git
synced 2024-12-03 17:41:22 +00:00
1da10c17af
In order to remove the specific knowledge of the dma mapping from PXA drivers, add a default slave map for pxa architectures. This is the first step, and once all drivers are converted, pxad_filter_fn() will be made static, and the DMA resources removed from device.c. Signed-off-by: Robert Jarzmik <robert.jarzmik@free.fr> Reported-by: Arnd Bergmann <arnd@arndb.de>
72 lines
2.9 KiB
C
72 lines
2.9 KiB
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
#define PDMA_FILTER_PARAM(_prio, _requestor) (&(struct pxad_param) { \
|
|
.prio = PXAD_PRIO_##_prio, .drcmr = _requestor })
|
|
struct mmp_dma_platdata;
|
|
|
|
extern struct platform_device pxa_device_pmu;
|
|
extern struct platform_device pxa_device_mci;
|
|
extern struct platform_device pxa3xx_device_mci2;
|
|
extern struct platform_device pxa3xx_device_mci3;
|
|
extern struct platform_device pxa25x_device_udc;
|
|
extern struct platform_device pxa27x_device_udc;
|
|
extern struct platform_device pxa3xx_device_u2d;
|
|
extern struct platform_device pxa_device_fb;
|
|
extern struct platform_device pxa_device_ffuart;
|
|
extern struct platform_device pxa_device_btuart;
|
|
extern struct platform_device pxa_device_stuart;
|
|
extern struct platform_device pxa_device_hwuart;
|
|
extern struct platform_device pxa_device_i2c;
|
|
extern struct platform_device pxa_device_i2s;
|
|
extern struct platform_device pxa_device_ficp;
|
|
extern struct platform_device sa1100_device_rtc;
|
|
extern struct platform_device pxa_device_rtc;
|
|
extern struct platform_device pxa_device_ac97;
|
|
|
|
extern struct platform_device pxa27x_device_i2c_power;
|
|
extern struct platform_device pxa27x_device_ohci;
|
|
extern struct platform_device pxa27x_device_keypad;
|
|
|
|
extern struct platform_device pxa25x_device_ssp;
|
|
extern struct platform_device pxa25x_device_nssp;
|
|
extern struct platform_device pxa25x_device_assp;
|
|
extern struct platform_device pxa27x_device_ssp1;
|
|
extern struct platform_device pxa27x_device_ssp2;
|
|
extern struct platform_device pxa27x_device_ssp3;
|
|
extern struct platform_device pxa3xx_device_ssp1;
|
|
extern struct platform_device pxa3xx_device_ssp2;
|
|
extern struct platform_device pxa3xx_device_ssp3;
|
|
extern struct platform_device pxa3xx_device_ssp4;
|
|
|
|
extern struct platform_device pxa25x_device_pwm0;
|
|
extern struct platform_device pxa25x_device_pwm1;
|
|
extern struct platform_device pxa27x_device_pwm0;
|
|
extern struct platform_device pxa27x_device_pwm1;
|
|
|
|
extern struct platform_device pxa3xx_device_nand;
|
|
extern struct platform_device pxa3xx_device_i2c_power;
|
|
|
|
extern struct platform_device pxa3xx_device_gcu;
|
|
|
|
extern struct platform_device pxa_device_asoc_platform;
|
|
extern struct platform_device pxa_device_asoc_ssp1;
|
|
extern struct platform_device pxa_device_asoc_ssp2;
|
|
extern struct platform_device pxa_device_asoc_ssp3;
|
|
extern struct platform_device pxa_device_asoc_ssp4;
|
|
|
|
extern struct platform_device pxa25x_device_gpio;
|
|
extern struct platform_device pxa27x_device_gpio;
|
|
extern struct platform_device pxa3xx_device_gpio;
|
|
extern struct platform_device pxa93x_device_gpio;
|
|
|
|
void __init pxa_register_device(struct platform_device *dev, void *data);
|
|
void __init pxa2xx_set_dmac_info(struct mmp_dma_platdata *dma_pdata);
|
|
|
|
struct i2c_pxa_platform_data;
|
|
extern void pxa_set_i2c_info(struct i2c_pxa_platform_data *info);
|
|
#ifdef CONFIG_PXA27x
|
|
extern void pxa27x_set_i2c_power_info(struct i2c_pxa_platform_data *info);
|
|
#endif
|
|
#ifdef CONFIG_PXA3xx
|
|
extern void pxa3xx_set_i2c_power_info(struct i2c_pxa_platform_data *info);
|
|
#endif
|