devs.h 3.0 KB
Newer Older
1
/* arch/arm/plat-samsung/include/plat/devs.h
L
Linus Torvalds 已提交
2 3 4 5 6 7 8 9 10 11
 *
 * Copyright (c) 2004 Simtec Electronics
 * Ben Dooks <ben@simtec.co.uk>
 *
 * Header file for s3c2410 standard platform devices
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 2 as
 * published by the Free Software Foundation.
*/
12
#include <linux/platform_device.h>
L
Linus Torvalds 已提交
13

14 15 16 17 18 19
struct s3c24xx_uart_resources {
	struct resource		*resources;
	unsigned long		 nr_resources;
};

extern struct s3c24xx_uart_resources s3c2410_uart_resources[];
20
extern struct s3c24xx_uart_resources s3c64xx_uart_resources[];
21
extern struct s3c24xx_uart_resources s5p_uart_resources[];
22

L
Linus Torvalds 已提交
23
extern struct platform_device *s3c24xx_uart_devs[];
24
extern struct platform_device *s3c24xx_uart_src[];
L
Linus Torvalds 已提交
25

B
Ben Dooks 已提交
26 27
extern struct platform_device s3c_device_timer[];

28 29
extern struct platform_device s3c64xx_device_iis0;
extern struct platform_device s3c64xx_device_iis1;
30
extern struct platform_device s3c64xx_device_iisv4;
31

32 33 34
extern struct platform_device s3c64xx_device_spi0;
extern struct platform_device s3c64xx_device_spi1;

35 36 37
extern struct platform_device s3c64xx_device_pcm0;
extern struct platform_device s3c64xx_device_pcm1;

38 39
extern struct platform_device s3c64xx_device_ac97;

40
extern struct platform_device s3c_device_ts;
41

42
extern struct platform_device s3c_device_fb;
43
extern struct platform_device s3c_device_ohci;
L
Linus Torvalds 已提交
44 45
extern struct platform_device s3c_device_lcd;
extern struct platform_device s3c_device_wdt;
46
extern struct platform_device s3c_device_i2c0;
B
Ben Dooks 已提交
47
extern struct platform_device s3c_device_i2c1;
L
Linus Torvalds 已提交
48 49 50
extern struct platform_device s3c_device_rtc;
extern struct platform_device s3c_device_adc;
extern struct platform_device s3c_device_sdi;
51
extern struct platform_device s3c_device_iis;
52
extern struct platform_device s3c_device_hwmon;
53 54 55
extern struct platform_device s3c_device_hsmmc0;
extern struct platform_device s3c_device_hsmmc1;
extern struct platform_device s3c_device_hsmmc2;
L
Linus Torvalds 已提交
56 57 58 59

extern struct platform_device s3c_device_spi0;
extern struct platform_device s3c_device_spi1;

60 61
extern struct platform_device s3c_device_hwmon;

L
Linus Torvalds 已提交
62 63 64
extern struct platform_device s3c_device_nand;

extern struct platform_device s3c_device_usbgadget;
65
extern struct platform_device s3c_device_usb_hsotg;
L
Linus Torvalds 已提交
66

67 68 69 70 71 72 73 74
extern struct platform_device s5pv210_device_ac97;
extern struct platform_device s5pv210_device_pcm0;
extern struct platform_device s5pv210_device_pcm1;
extern struct platform_device s5pv210_device_pcm2;
extern struct platform_device s5pv210_device_iis0;
extern struct platform_device s5pv210_device_iis1;
extern struct platform_device s5pv210_device_iis2;

75 76 77 78 79
extern struct platform_device s5p6442_device_pcm0;
extern struct platform_device s5p6442_device_pcm1;
extern struct platform_device s5p6442_device_iis0;
extern struct platform_device s5p6442_device_iis1;

80 81 82
extern struct platform_device s5p6440_device_pcm;
extern struct platform_device s5p6440_device_iis;

L
Linus Torvalds 已提交
83 84 85 86 87
/* s3c2440 specific devices */

#ifdef CONFIG_CPU_S3C2440

extern struct platform_device s3c_device_camif;
88
extern struct platform_device s3c_device_ac97;
L
Linus Torvalds 已提交
89 90

#endif