xref: /linux/arch/arm/mach-pxa/devices.h (revision 9a87ffc99ec8eb8d35eed7c4f816d75f5cc9662e)
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 pxa_device_fb;
13 extern struct platform_device pxa_device_ffuart;
14 extern struct platform_device pxa_device_btuart;
15 extern struct platform_device pxa_device_stuart;
16 extern struct platform_device pxa_device_hwuart;
17 extern struct platform_device pxa_device_i2c;
18 extern struct platform_device pxa_device_i2s;
19 extern struct platform_device sa1100_device_rtc;
20 extern struct platform_device pxa_device_rtc;
21 extern struct platform_device pxa_device_ac97;
22 
23 extern struct platform_device pxa27x_device_i2c_power;
24 extern struct platform_device pxa27x_device_ohci;
25 extern struct platform_device pxa27x_device_keypad;
26 
27 extern struct platform_device pxa25x_device_ssp;
28 extern struct platform_device pxa25x_device_nssp;
29 extern struct platform_device pxa25x_device_assp;
30 extern struct platform_device pxa27x_device_ssp1;
31 extern struct platform_device pxa27x_device_ssp2;
32 extern struct platform_device pxa27x_device_ssp3;
33 extern struct platform_device pxa3xx_device_ssp1;
34 extern struct platform_device pxa3xx_device_ssp2;
35 extern struct platform_device pxa3xx_device_ssp3;
36 extern struct platform_device pxa3xx_device_ssp4;
37 
38 extern struct platform_device pxa25x_device_pwm0;
39 extern struct platform_device pxa25x_device_pwm1;
40 extern struct platform_device pxa27x_device_pwm0;
41 extern struct platform_device pxa27x_device_pwm1;
42 
43 extern struct platform_device pxa3xx_device_nand;
44 extern struct platform_device pxa3xx_device_i2c_power;
45 
46 extern struct platform_device pxa3xx_device_gcu;
47 
48 extern struct platform_device pxa_device_asoc_platform;
49 extern struct platform_device pxa_device_asoc_ssp1;
50 extern struct platform_device pxa_device_asoc_ssp2;
51 extern struct platform_device pxa_device_asoc_ssp3;
52 extern struct platform_device pxa_device_asoc_ssp4;
53 
54 extern struct platform_device pxa25x_device_gpio;
55 extern struct platform_device pxa27x_device_gpio;
56 extern struct platform_device pxa3xx_device_gpio;
57 extern struct platform_device pxa93x_device_gpio;
58 
59 void __init pxa_register_device(struct platform_device *dev, void *data);
60 void __init pxa2xx_set_dmac_info(struct mmp_dma_platdata *dma_pdata);
61 
62 struct i2c_pxa_platform_data;
63 extern void pxa_set_i2c_info(struct i2c_pxa_platform_data *info);
64 #ifdef CONFIG_PXA27x
65 extern void pxa27x_set_i2c_power_info(struct i2c_pxa_platform_data *info);
66 #endif
67 #ifdef CONFIG_PXA3xx
68 extern void pxa3xx_set_i2c_power_info(struct i2c_pxa_platform_data *info);
69 #endif
70