Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
devs.h
Go to the documentation of this file.
1 /* arch/arm/plat-samsung/include/plat/devs.h
2  *
3  * Copyright (c) 2011 Samsung Electronics Co., Ltd.
4  * http://www.samsung.com
5  *
6  * Copyright (c) 2004 Simtec Electronics
7  * Ben Dooks <[email protected]>
8  *
9  * Header file for s3c2410 standard platform devices
10  *
11  * This program is free software; you can redistribute it and/or modify
12  * it under the terms of the GNU General Public License version 2 as
13  * published by the Free Software Foundation.
14 */
15 
16 #ifndef __PLAT_DEVS_H
17 #define __PLAT_DEVS_H __FILE__
18 
19 #include <linux/platform_device.h>
20 
23  unsigned long nr_resources;
24 };
25 
31 
32 extern struct platform_device *s3c24xx_uart_devs[];
33 extern struct platform_device *s3c24xx_uart_src[];
34 
45 
46 extern struct platform_device s3c_device_adc;
47 extern struct platform_device s3c_device_cfcon;
48 extern struct platform_device s3c_device_fb;
49 extern struct platform_device s3c_device_hwmon;
54 extern struct platform_device s3c_device_i2c0;
55 extern struct platform_device s3c_device_i2c1;
56 extern struct platform_device s3c_device_i2c2;
57 extern struct platform_device s3c_device_i2c3;
58 extern struct platform_device s3c_device_i2c4;
59 extern struct platform_device s3c_device_i2c5;
60 extern struct platform_device s3c_device_i2c6;
61 extern struct platform_device s3c_device_i2c7;
62 extern struct platform_device s3c_device_iis;
63 extern struct platform_device s3c_device_lcd;
64 extern struct platform_device s3c_device_nand;
65 extern struct platform_device s3c_device_ohci;
67 extern struct platform_device s3c_device_rtc;
68 extern struct platform_device s3c_device_sdi;
69 extern struct platform_device s3c_device_spi0;
70 extern struct platform_device s3c_device_spi1;
71 extern struct platform_device s3c_device_ts;
72 extern struct platform_device s3c_device_timer[];
76 extern struct platform_device s3c_device_wdt;
77 
78 extern struct platform_device s5p_device_ehci;
79 extern struct platform_device s5p_device_fimc0;
80 extern struct platform_device s5p_device_fimc1;
81 extern struct platform_device s5p_device_fimc2;
82 extern struct platform_device s5p_device_fimc3;
84 extern struct platform_device s5p_device_jpeg;
85 extern struct platform_device s5p_device_g2d;
86 extern struct platform_device s5p_device_fimd0;
87 extern struct platform_device s5p_device_hdmi;
89 extern struct platform_device s5p_device_mfc;
90 extern struct platform_device s5p_device_mfc_l;
91 extern struct platform_device s5p_device_mfc_r;
94 extern struct platform_device s5p_device_mixer;
96 extern struct platform_device s5p_device_sdo;
97 
100 
105 
106 
114 
123 
135 
136 extern struct platform_device exynos_device_drm;
137 
138 extern struct platform_device samsung_asoc_dma;
139 extern struct platform_device samsung_asoc_idma;
141 
142 /* s3c2440 specific devices */
143 
144 #ifdef CONFIG_CPU_S3C2440
145 
146 extern struct platform_device s3c_device_camif;
147 extern struct platform_device s3c_device_ac97;
148 
149 #endif
150 
160 extern void *s3c_set_platdata(void *pd, size_t pdsize,
161  struct platform_device *pdev);
162 
163 #endif /* __PLAT_DEVS_H */