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