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