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
;
6 extern struct platform_device pxa_device_pmu
;
7 extern struct platform_device pxa3xx_device_mci2
;
8 extern struct platform_device pxa3xx_device_mci3
;
9 extern struct platform_device pxa25x_device_udc
;
10 extern struct platform_device pxa27x_device_udc
;
11 extern struct platform_device pxa_device_fb
;
12 extern struct platform_device pxa_device_ffuart
;
13 extern struct platform_device pxa_device_btuart
;
14 extern struct platform_device pxa_device_stuart
;
15 extern struct platform_device pxa_device_hwuart
;
16 extern struct platform_device pxa_device_i2c
;
17 extern struct platform_device pxa_device_i2s
;
18 extern struct platform_device sa1100_device_rtc
;
19 extern struct platform_device pxa_device_rtc
;
20 extern struct platform_device pxa_device_ac97
;
22 extern struct platform_device pxa27x_device_i2c_power
;
23 extern struct platform_device pxa27x_device_ohci
;
24 extern struct platform_device pxa27x_device_keypad
;
26 extern struct platform_device pxa25x_device_ssp
;
27 extern struct platform_device pxa25x_device_nssp
;
28 extern struct platform_device pxa25x_device_assp
;
29 extern struct platform_device pxa27x_device_ssp1
;
30 extern struct platform_device pxa27x_device_ssp2
;
31 extern struct platform_device pxa27x_device_ssp3
;
32 extern struct platform_device pxa3xx_device_ssp1
;
33 extern struct platform_device pxa3xx_device_ssp2
;
34 extern struct platform_device pxa3xx_device_ssp3
;
35 extern struct platform_device pxa3xx_device_ssp4
;
37 extern struct platform_device pxa25x_device_pwm0
;
38 extern struct platform_device pxa25x_device_pwm1
;
39 extern struct platform_device pxa27x_device_pwm0
;
40 extern struct platform_device pxa27x_device_pwm1
;
42 extern struct platform_device pxa3xx_device_nand
;
43 extern struct platform_device pxa3xx_device_i2c_power
;
45 extern struct platform_device pxa3xx_device_gcu
;
47 extern struct platform_device pxa_device_asoc_platform
;
48 extern struct platform_device pxa_device_asoc_ssp1
;
49 extern struct platform_device pxa_device_asoc_ssp2
;
50 extern struct platform_device pxa_device_asoc_ssp3
;
51 extern struct platform_device pxa_device_asoc_ssp4
;
53 extern struct platform_device pxa25x_device_gpio
;
54 extern struct platform_device pxa27x_device_gpio
;
56 extern const struct software_node pxa2xx_gpiochip_node
;
58 void __init
pxa_register_device(struct platform_device
*dev
, void *data
);
59 void __init
pxa2xx_set_dmac_info(struct mmp_dma_platdata
*dma_pdata
);
61 struct i2c_pxa_platform_data
;
62 extern void pxa_set_i2c_info(struct i2c_pxa_platform_data
*info
);
64 extern void pxa27x_set_i2c_power_info(struct i2c_pxa_platform_data
*info
);
67 extern void pxa3xx_set_i2c_power_info(struct i2c_pxa_platform_data
*info
);