xref: /linux/arch/arm/mach-pxa/devices.h (revision a1ff5a7d78a036d6c2178ee5acd6ba4946243800)
1b2441318SGreg Kroah-Hartman /* SPDX-License-Identifier: GPL-2.0 */
21da10c17SRobert Jarzmik #define PDMA_FILTER_PARAM(_prio, _requestor) (&(struct pxad_param) { \
31da10c17SRobert Jarzmik 	.prio = PXAD_PRIO_##_prio, .drcmr = _requestor })
41da10c17SRobert Jarzmik struct mmp_dma_platdata;
51da10c17SRobert Jarzmik 
609a5358dSEric Miao extern struct platform_device pxa_device_pmu;
78d33b055SBridge Wu extern struct platform_device pxa3xx_device_mci2;
85a1f21b1SBridge Wu extern struct platform_device pxa3xx_device_mci3;
97a857620SPhilipp Zabel extern struct platform_device pxa25x_device_udc;
107a857620SPhilipp Zabel extern struct platform_device pxa27x_device_udc;
11e09d02e1SEric Miao extern struct platform_device pxa_device_fb;
12e09d02e1SEric Miao extern struct platform_device pxa_device_ffuart;
13e09d02e1SEric Miao extern struct platform_device pxa_device_btuart;
14e09d02e1SEric Miao extern struct platform_device pxa_device_stuart;
15e09d02e1SEric Miao extern struct platform_device pxa_device_hwuart;
16e09d02e1SEric Miao extern struct platform_device pxa_device_i2c;
17e09d02e1SEric Miao extern struct platform_device pxa_device_i2s;
1872493146SRobert Jarzmik extern struct platform_device sa1100_device_rtc;
19e09d02e1SEric Miao extern struct platform_device pxa_device_rtc;
209f19d638SMark Brown extern struct platform_device pxa_device_ac97;
2100dc4f94SRussell King 
2200dc4f94SRussell King extern struct platform_device pxa27x_device_i2c_power;
2300dc4f94SRussell King extern struct platform_device pxa27x_device_ohci;
2437320980Seric miao extern struct platform_device pxa27x_device_keypad;
2503f5b2ceSRussell King 
26d2b82ddeSeric miao extern struct platform_device pxa25x_device_ssp;
27d2b82ddeSeric miao extern struct platform_device pxa25x_device_nssp;
28d2b82ddeSeric miao extern struct platform_device pxa25x_device_assp;
29d2b82ddeSeric miao extern struct platform_device pxa27x_device_ssp1;
30d2b82ddeSeric miao extern struct platform_device pxa27x_device_ssp2;
31d2b82ddeSeric miao extern struct platform_device pxa27x_device_ssp3;
320da0e227SDaniel Mack extern struct platform_device pxa3xx_device_ssp1;
330da0e227SDaniel Mack extern struct platform_device pxa3xx_device_ssp2;
340da0e227SDaniel Mack extern struct platform_device pxa3xx_device_ssp3;
35d2b82ddeSeric miao extern struct platform_device pxa3xx_device_ssp4;
36d2b82ddeSeric miao 
3775540c1aSeric miao extern struct platform_device pxa25x_device_pwm0;
3875540c1aSeric miao extern struct platform_device pxa25x_device_pwm1;
3975540c1aSeric miao extern struct platform_device pxa27x_device_pwm0;
4075540c1aSeric miao extern struct platform_device pxa27x_device_pwm1;
4175540c1aSeric miao 
429ae819a8SEric Miao extern struct platform_device pxa3xx_device_nand;
439ba63c4fSMike Rapoport extern struct platform_device pxa3xx_device_i2c_power;
449ae819a8SEric Miao 
451ff2c33eSDaniel Mack extern struct platform_device pxa3xx_device_gcu;
461ff2c33eSDaniel Mack 
47f0fba2adSLiam Girdwood extern struct platform_device pxa_device_asoc_platform;
48f0fba2adSLiam Girdwood extern struct platform_device pxa_device_asoc_ssp1;
49f0fba2adSLiam Girdwood extern struct platform_device pxa_device_asoc_ssp2;
50f0fba2adSLiam Girdwood extern struct platform_device pxa_device_asoc_ssp3;
51f0fba2adSLiam Girdwood extern struct platform_device pxa_device_asoc_ssp4;
52f0fba2adSLiam Girdwood 
532cab0292SHaojian Zhuang extern struct platform_device pxa25x_device_gpio;
542cab0292SHaojian Zhuang extern struct platform_device pxa27x_device_gpio;
55*f1d6588aSDmitry Torokhov 
56*f1d6588aSDmitry Torokhov extern const struct software_node pxa2xx_gpiochip_node;
572cab0292SHaojian Zhuang 
5803f5b2ceSRussell King void __init pxa_register_device(struct platform_device *dev, void *data);
591da10c17SRobert Jarzmik void __init pxa2xx_set_dmac_info(struct mmp_dma_platdata *dma_pdata);
60cb74dc3bSWolfram Sang 
61cb74dc3bSWolfram Sang struct i2c_pxa_platform_data;
62cb74dc3bSWolfram Sang extern void pxa_set_i2c_info(struct i2c_pxa_platform_data *info);
63cb74dc3bSWolfram Sang #ifdef CONFIG_PXA27x
64cb74dc3bSWolfram Sang extern void pxa27x_set_i2c_power_info(struct i2c_pxa_platform_data *info);
65cb74dc3bSWolfram Sang #endif
66cb74dc3bSWolfram Sang #ifdef CONFIG_PXA3xx
67cb74dc3bSWolfram Sang extern void pxa3xx_set_i2c_power_info(struct i2c_pxa_platform_data *info);
68cb74dc3bSWolfram Sang #endif
69