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