1 /* SPDX-License-Identifier: GPL-2.0 */ 2 #define PDMA_FILTER_PARAM(_prio, _requestor) (&(struct pxad_param) { \ 3 .prio = PXAD_PRIO_##_prio, .drcmr = _requestor }) 4 struct mmp_dma_platdata; 5 6 extern struct platform_device pxa_device_pmu; 7 extern struct platform_device pxa_device_mci; 8 extern struct platform_device pxa3xx_device_mci2; 9 extern struct platform_device pxa3xx_device_mci3; 10 extern struct platform_device pxa25x_device_udc; 11 extern struct platform_device pxa27x_device_udc; 12 extern struct platform_device pxa3xx_device_u2d; 13 extern struct platform_device pxa_device_fb; 14 extern struct platform_device pxa_device_ffuart; 15 extern struct platform_device pxa_device_btuart; 16 extern struct platform_device pxa_device_stuart; 17 extern struct platform_device pxa_device_hwuart; 18 extern struct platform_device pxa_device_i2c; 19 extern struct platform_device pxa_device_i2s; 20 extern struct platform_device sa1100_device_rtc; 21 extern struct platform_device pxa_device_rtc; 22 extern struct platform_device pxa_device_ac97; 23 24 extern struct platform_device pxa27x_device_i2c_power; 25 extern struct platform_device pxa27x_device_ohci; 26 extern struct platform_device pxa27x_device_keypad; 27 28 extern struct platform_device pxa25x_device_ssp; 29 extern struct platform_device pxa25x_device_nssp; 30 extern struct platform_device pxa25x_device_assp; 31 extern struct platform_device pxa27x_device_ssp1; 32 extern struct platform_device pxa27x_device_ssp2; 33 extern struct platform_device pxa27x_device_ssp3; 34 extern struct platform_device pxa3xx_device_ssp1; 35 extern struct platform_device pxa3xx_device_ssp2; 36 extern struct platform_device pxa3xx_device_ssp3; 37 extern struct platform_device pxa3xx_device_ssp4; 38 39 extern struct platform_device pxa25x_device_pwm0; 40 extern struct platform_device pxa25x_device_pwm1; 41 extern struct platform_device pxa27x_device_pwm0; 42 extern struct platform_device pxa27x_device_pwm1; 43 44 extern struct platform_device pxa3xx_device_nand; 45 extern struct platform_device pxa3xx_device_i2c_power; 46 47 extern struct platform_device pxa3xx_device_gcu; 48 49 extern struct platform_device pxa_device_asoc_platform; 50 extern struct platform_device pxa_device_asoc_ssp1; 51 extern struct platform_device pxa_device_asoc_ssp2; 52 extern struct platform_device pxa_device_asoc_ssp3; 53 extern struct platform_device pxa_device_asoc_ssp4; 54 55 extern struct platform_device pxa25x_device_gpio; 56 extern struct platform_device pxa27x_device_gpio; 57 extern struct platform_device pxa3xx_device_gpio; 58 extern struct platform_device pxa93x_device_gpio; 59 60 void __init pxa_register_device(struct platform_device *dev, void *data); 61 void __init pxa2xx_set_dmac_info(struct mmp_dma_platdata *dma_pdata); 62 63 struct i2c_pxa_platform_data; 64 extern void pxa_set_i2c_info(struct i2c_pxa_platform_data *info); 65 #ifdef CONFIG_PXA27x 66 extern void pxa27x_set_i2c_power_info(struct i2c_pxa_platform_data *info); 67 #endif 68 #ifdef CONFIG_PXA3xx 69 extern void pxa3xx_set_i2c_power_info(struct i2c_pxa_platform_data *info); 70 #endif 71