162306a36Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 */
262306a36Sopenharmony_ci#define PDMA_FILTER_PARAM(_prio, _requestor) (&(struct pxad_param) { \
362306a36Sopenharmony_ci	.prio = PXAD_PRIO_##_prio, .drcmr = _requestor })
462306a36Sopenharmony_cistruct mmp_dma_platdata;
562306a36Sopenharmony_ci
662306a36Sopenharmony_ciextern struct platform_device pxa_device_pmu;
762306a36Sopenharmony_ciextern struct platform_device pxa_device_mci;
862306a36Sopenharmony_ciextern struct platform_device pxa3xx_device_mci2;
962306a36Sopenharmony_ciextern struct platform_device pxa3xx_device_mci3;
1062306a36Sopenharmony_ciextern struct platform_device pxa25x_device_udc;
1162306a36Sopenharmony_ciextern struct platform_device pxa27x_device_udc;
1262306a36Sopenharmony_ciextern struct platform_device pxa_device_fb;
1362306a36Sopenharmony_ciextern struct platform_device pxa_device_ffuart;
1462306a36Sopenharmony_ciextern struct platform_device pxa_device_btuart;
1562306a36Sopenharmony_ciextern struct platform_device pxa_device_stuart;
1662306a36Sopenharmony_ciextern struct platform_device pxa_device_hwuart;
1762306a36Sopenharmony_ciextern struct platform_device pxa_device_i2c;
1862306a36Sopenharmony_ciextern struct platform_device pxa_device_i2s;
1962306a36Sopenharmony_ciextern struct platform_device sa1100_device_rtc;
2062306a36Sopenharmony_ciextern struct platform_device pxa_device_rtc;
2162306a36Sopenharmony_ciextern struct platform_device pxa_device_ac97;
2262306a36Sopenharmony_ci
2362306a36Sopenharmony_ciextern struct platform_device pxa27x_device_i2c_power;
2462306a36Sopenharmony_ciextern struct platform_device pxa27x_device_ohci;
2562306a36Sopenharmony_ciextern struct platform_device pxa27x_device_keypad;
2662306a36Sopenharmony_ci
2762306a36Sopenharmony_ciextern struct platform_device pxa25x_device_ssp;
2862306a36Sopenharmony_ciextern struct platform_device pxa25x_device_nssp;
2962306a36Sopenharmony_ciextern struct platform_device pxa25x_device_assp;
3062306a36Sopenharmony_ciextern struct platform_device pxa27x_device_ssp1;
3162306a36Sopenharmony_ciextern struct platform_device pxa27x_device_ssp2;
3262306a36Sopenharmony_ciextern struct platform_device pxa27x_device_ssp3;
3362306a36Sopenharmony_ciextern struct platform_device pxa3xx_device_ssp1;
3462306a36Sopenharmony_ciextern struct platform_device pxa3xx_device_ssp2;
3562306a36Sopenharmony_ciextern struct platform_device pxa3xx_device_ssp3;
3662306a36Sopenharmony_ciextern struct platform_device pxa3xx_device_ssp4;
3762306a36Sopenharmony_ci
3862306a36Sopenharmony_ciextern struct platform_device pxa25x_device_pwm0;
3962306a36Sopenharmony_ciextern struct platform_device pxa25x_device_pwm1;
4062306a36Sopenharmony_ciextern struct platform_device pxa27x_device_pwm0;
4162306a36Sopenharmony_ciextern struct platform_device pxa27x_device_pwm1;
4262306a36Sopenharmony_ci
4362306a36Sopenharmony_ciextern struct platform_device pxa3xx_device_nand;
4462306a36Sopenharmony_ciextern struct platform_device pxa3xx_device_i2c_power;
4562306a36Sopenharmony_ci
4662306a36Sopenharmony_ciextern struct platform_device pxa3xx_device_gcu;
4762306a36Sopenharmony_ci
4862306a36Sopenharmony_ciextern struct platform_device pxa_device_asoc_platform;
4962306a36Sopenharmony_ciextern struct platform_device pxa_device_asoc_ssp1;
5062306a36Sopenharmony_ciextern struct platform_device pxa_device_asoc_ssp2;
5162306a36Sopenharmony_ciextern struct platform_device pxa_device_asoc_ssp3;
5262306a36Sopenharmony_ciextern struct platform_device pxa_device_asoc_ssp4;
5362306a36Sopenharmony_ci
5462306a36Sopenharmony_ciextern struct platform_device pxa25x_device_gpio;
5562306a36Sopenharmony_ciextern struct platform_device pxa27x_device_gpio;
5662306a36Sopenharmony_ciextern struct platform_device pxa3xx_device_gpio;
5762306a36Sopenharmony_ciextern struct platform_device pxa93x_device_gpio;
5862306a36Sopenharmony_ci
5962306a36Sopenharmony_civoid __init pxa_register_device(struct platform_device *dev, void *data);
6062306a36Sopenharmony_civoid __init pxa2xx_set_dmac_info(struct mmp_dma_platdata *dma_pdata);
6162306a36Sopenharmony_ci
6262306a36Sopenharmony_cistruct i2c_pxa_platform_data;
6362306a36Sopenharmony_ciextern void pxa_set_i2c_info(struct i2c_pxa_platform_data *info);
6462306a36Sopenharmony_ci#ifdef CONFIG_PXA27x
6562306a36Sopenharmony_ciextern void pxa27x_set_i2c_power_info(struct i2c_pxa_platform_data *info);
6662306a36Sopenharmony_ci#endif
6762306a36Sopenharmony_ci#ifdef CONFIG_PXA3xx
6862306a36Sopenharmony_ciextern void pxa3xx_set_i2c_power_info(struct i2c_pxa_platform_data *info);
6962306a36Sopenharmony_ci#endif
70