/* arch/arm/plat-samsung/include/plat/devs.h * * Copyright (c) 2011 Samsung Electronics Co., Ltd. * http://www.samsung.com * * 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. */ #ifndef __PLAT_DEVS_H #define __PLAT_DEVS_H __FILE__ #include <linux/platform_device.h> struct s3c24xx_uart_resources { struct resource *resources; unsigned long nr_resources; }; extern struct s3c24xx_uart_resources s3c2410_uart_resources[]; extern struct s3c24xx_uart_resources s3c64xx_uart_resources[]; extern struct platform_device *s3c24xx_uart_devs[]; extern struct platform_device *s3c24xx_uart_src[]; extern struct platform_device s3c64xx_device_ac97; extern struct platform_device s3c64xx_device_iis0; extern struct platform_device s3c64xx_device_iis1; extern struct platform_device s3c64xx_device_iisv4; extern struct platform_device s3c64xx_device_onenand1; extern struct platform_device s3c64xx_device_pcm0; extern struct platform_device s3c64xx_device_pcm1; extern struct platform_device s3c64xx_device_spi0; extern struct platform_device s3c64xx_device_spi1; extern struct platform_device s3c64xx_device_spi2; extern struct platform_device s3c_device_adc; extern struct platform_device s3c_device_cfcon; extern struct platform_device s3c_device_fb; extern struct platform_device s3c_device_hwmon; extern struct platform_device s3c_device_hsmmc0; extern struct platform_device s3c_device_hsmmc1; extern struct platform_device s3c_device_hsmmc2; extern struct platform_device s3c_device_hsmmc3; extern struct platform_device s3c_device_i2c0; extern struct platform_device s3c_device_i2c1; extern struct platform_device s3c_device_i2c2; extern struct platform_device s3c_device_i2c3; extern struct platform_device s3c_device_i2c4; extern struct platform_device s3c_device_i2c5; extern struct platform_device s3c_device_i2c6; extern struct platform_device s3c_device_i2c7; extern struct platform_device s3c_device_iis; extern struct platform_device s3c_device_lcd; extern struct platform_device s3c_device_nand; extern struct platform_device s3c_device_ohci; extern struct platform_device s3c_device_onenand; extern struct platform_device s3c_device_rtc; extern struct platform_device s3c_device_sdi; extern struct platform_device s3c_device_spi0; extern struct platform_device s3c_device_spi1; extern struct platform_device s3c_device_ts; extern struct platform_device s3c_device_timer[]; extern struct platform_device s3c_device_usbgadget; extern struct platform_device s3c_device_usb_hsotg; extern struct platform_device s3c_device_usb_hsudc; extern struct platform_device s3c_device_wdt; extern struct platform_device samsung_asoc_idma; extern struct platform_device samsung_device_keypad; extern struct platform_device samsung_device_pwm; /* s3c2440 specific devices */ #ifdef CONFIG_CPU_S3C2440 extern struct platform_device s3c_device_camif; extern struct platform_device s3c_device_ac97; #endif /** * s3c_set_platdata() - helper for setting platform data * @pd: The default platform data for this device. * @pdsize: The size of the platform data. * @pdev: Pointer to the device to fill in. * * This helper replaces a number of calls that copy and then set the * platform data of the device. */ extern void *s3c_set_platdata(void *pd, size_t pdsize, struct platform_device *pdev); #endif /* __PLAT_DEVS_H */
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
adc-core.h | File | 804 B | 0644 |
|
adc.h | File | 1.04 KB | 0644 |
|
cpu-freq-core.h | File | 8.9 KB | 0644 |
|
cpu-freq.h | File | 4.38 KB | 0644 |
|
cpu.h | File | 4 KB | 0644 |
|
devs.h | File | 3.53 KB | 0644 |
|
fb-s3c2410.h | File | 1.85 KB | 0644 |
|
fb.h | File | 1.07 KB | 0644 |
|
gpio-cfg-helpers.h | File | 5.65 KB | 0644 |
|
gpio-cfg.h | File | 6.34 KB | 0644 |
|
gpio-core.h | File | 4.5 KB | 0644 |
|
iic-core.h | File | 1 KB | 0644 |
|
keypad.h | File | 1.07 KB | 0644 |
|
map-base.h | File | 1.53 KB | 0644 |
|
map-s3c.h | File | 2.21 KB | 0644 |
|
map-s5p.h | File | 851 B | 0644 |
|
pm-common.h | File | 3.08 KB | 0644 |
|
pm.h | File | 2.7 KB | 0644 |
|
pwm-core.h | File | 641 B | 0644 |
|
regs-adc.h | File | 2.15 KB | 0644 |
|
regs-irqtype.h | File | 679 B | 0644 |
|
regs-spi.h | File | 1.58 KB | 0644 |
|
regs-udc.h | File | 6.04 KB | 0644 |
|
samsung-time.h | File | 803 B | 0644 |
|
sdhci.h | File | 4.62 KB | 0644 |
|
usb-phy.h | File | 663 B | 0644 |
|
wakeup-mask.h | File | 1.35 KB | 0644 |
|