diff options
Diffstat (limited to 'arch/arm/mach-mxs/include/mach/devices-common.h')
-rw-r--r-- | arch/arm/mach-mxs/include/mach/devices-common.h | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/arch/arm/mach-mxs/include/mach/devices-common.h b/arch/arm/mach-mxs/include/mach/devices-common.h index 6c3d1a103433..71f24484b044 100644 --- a/arch/arm/mach-mxs/include/mach/devices-common.h +++ b/arch/arm/mach-mxs/include/mach/devices-common.h | |||
@@ -30,6 +30,16 @@ int __init mxs_add_amba_device(const struct amba_device *dev); | |||
30 | /* duart */ | 30 | /* duart */ |
31 | int __init mxs_add_duart(const struct amba_device *dev); | 31 | int __init mxs_add_duart(const struct amba_device *dev); |
32 | 32 | ||
33 | /* auart */ | ||
34 | struct mxs_auart_data { | ||
35 | int id; | ||
36 | resource_size_t iobase; | ||
37 | resource_size_t iosize; | ||
38 | resource_size_t irq; | ||
39 | }; | ||
40 | struct platform_device *__init mxs_add_auart( | ||
41 | const struct mxs_auart_data *data); | ||
42 | |||
33 | /* fec */ | 43 | /* fec */ |
34 | #include <linux/fec.h> | 44 | #include <linux/fec.h> |
35 | struct mxs_fec_data { | 45 | struct mxs_fec_data { |
@@ -41,3 +51,28 @@ struct mxs_fec_data { | |||
41 | struct platform_device *__init mxs_add_fec( | 51 | struct platform_device *__init mxs_add_fec( |
42 | const struct mxs_fec_data *data, | 52 | const struct mxs_fec_data *data, |
43 | const struct fec_platform_data *pdata); | 53 | const struct fec_platform_data *pdata); |
54 | |||
55 | /* flexcan */ | ||
56 | #include <linux/can/platform/flexcan.h> | ||
57 | struct mxs_flexcan_data { | ||
58 | int id; | ||
59 | resource_size_t iobase; | ||
60 | resource_size_t iosize; | ||
61 | resource_size_t irq; | ||
62 | }; | ||
63 | struct platform_device *__init mxs_add_flexcan( | ||
64 | const struct mxs_flexcan_data *data, | ||
65 | const struct flexcan_platform_data *pdata); | ||
66 | |||
67 | /* i2c */ | ||
68 | struct mxs_i2c_data { | ||
69 | int id; | ||
70 | resource_size_t iobase; | ||
71 | resource_size_t errirq; | ||
72 | resource_size_t dmairq; | ||
73 | }; | ||
74 | struct platform_device * __init mxs_add_mxs_i2c(const struct mxs_i2c_data *data); | ||
75 | |||
76 | /* pwm */ | ||
77 | struct platform_device *__init mxs_add_mxs_pwm( | ||
78 | resource_size_t iobase, int id); | ||