forked from luck/tmp_suning_uos_patched
16c1020362
* 'devel-stable' of master.kernel.org:/home/rmk/linux-2.6-arm: (161 commits) ARM: pxa: fix building issue of missing physmap.h ARM: mmp: PXA910 drive strength FAST using wrong value ARM: mmp: MMP2 drive strength FAST using wrong value ARM: pxa: fix recursive calls in pxa_low_gpio_chip AT91: Support for gsia18s board AT91: Acme Systems FOX Board G20 board files AT91: board-sam9m10g45ek.c: Remove duplicate inclusion of mach/hardware.h ARM: pxa: fix suspend/resume array index miscalculation ARM: pxa: use cpu_has_ipr() consistently in irq.c ARM: pxa: remove unused variable in clock-pxa3xx.c ARM: pxa: fix warning in zeus.c ARM: sa1111: fix typo in sa1111_retrigger_lowirq() ARM mxs: clkdev related compile fixes ARM i.MX mx31_3ds: Fix MC13783 regulator names ARM: plat-stmp3xxx: irq_data conversion. ARM: plat-spear: irq_data conversion. ARM: plat-orion: irq_data conversion. ARM: plat-omap: irq_data conversion. ARM: plat-nomadik: irq_data conversion. ARM: plat-mxc: irq_data conversion. ... Fix up trivial conflict in arch/arm/plat-omap/gpio.c (Lennert Buytenhek's irq_data conversion clashing with some omap irq updates)
162 lines
5.9 KiB
C
162 lines
5.9 KiB
C
/* arch/arm/plat-samsung/include/plat/devs.h
|
|
*
|
|
* 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.
|
|
*/
|
|
#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 s3c24xx_uart_resources s5p_uart_resources[];
|
|
|
|
extern struct platform_device *s3c24xx_uart_devs[];
|
|
extern struct platform_device *s3c24xx_uart_src[];
|
|
|
|
extern struct platform_device s3c_device_timer[];
|
|
|
|
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_spi0;
|
|
extern struct platform_device s3c64xx_device_spi1;
|
|
|
|
extern struct platform_device samsung_asoc_dma;
|
|
|
|
extern struct platform_device s3c64xx_device_pcm0;
|
|
extern struct platform_device s3c64xx_device_pcm1;
|
|
|
|
extern struct platform_device s3c64xx_device_ac97;
|
|
|
|
extern struct platform_device s3c_device_ts;
|
|
|
|
extern struct platform_device s3c_device_fb;
|
|
extern struct platform_device s3c_device_ohci;
|
|
extern struct platform_device s3c_device_lcd;
|
|
extern struct platform_device s3c_device_wdt;
|
|
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_rtc;
|
|
extern struct platform_device s3c_device_adc;
|
|
extern struct platform_device s3c_device_sdi;
|
|
extern struct platform_device s3c_device_iis;
|
|
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_cfcon;
|
|
|
|
extern struct platform_device s3c_device_spi0;
|
|
extern struct platform_device s3c_device_spi1;
|
|
|
|
extern struct platform_device s5pc100_device_spi0;
|
|
extern struct platform_device s5pc100_device_spi1;
|
|
extern struct platform_device s5pc100_device_spi2;
|
|
extern struct platform_device s5pv210_device_spi0;
|
|
extern struct platform_device s5pv210_device_spi1;
|
|
extern struct platform_device s5p6440_device_spi0;
|
|
extern struct platform_device s5p6440_device_spi1;
|
|
extern struct platform_device s5p6450_device_spi0;
|
|
extern struct platform_device s5p6450_device_spi1;
|
|
|
|
extern struct platform_device s3c_device_hwmon;
|
|
|
|
extern struct platform_device s3c_device_nand;
|
|
extern struct platform_device s3c_device_onenand;
|
|
extern struct platform_device s3c64xx_device_onenand1;
|
|
extern struct platform_device s5p_device_onenand;
|
|
|
|
extern struct platform_device s3c_device_usbgadget;
|
|
extern struct platform_device s3c_device_usb_hsotg;
|
|
|
|
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;
|
|
extern struct platform_device s5pv210_device_spdif;
|
|
|
|
extern struct platform_device s5pv310_device_ac97;
|
|
extern struct platform_device s5pv310_device_pcm0;
|
|
extern struct platform_device s5pv310_device_pcm1;
|
|
extern struct platform_device s5pv310_device_pcm2;
|
|
extern struct platform_device s5pv310_device_i2s0;
|
|
extern struct platform_device s5pv310_device_i2s1;
|
|
extern struct platform_device s5pv310_device_i2s2;
|
|
extern struct platform_device s5pv310_device_spdif;
|
|
extern struct platform_device s5pv310_device_pd[];
|
|
|
|
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;
|
|
extern struct platform_device s5p6442_device_spi;
|
|
|
|
extern struct platform_device s5p6440_device_pcm;
|
|
extern struct platform_device s5p6440_device_iis;
|
|
|
|
extern struct platform_device s5p6450_device_iis0;
|
|
extern struct platform_device s5p6450_device_iis1;
|
|
extern struct platform_device s5p6450_device_iis2;
|
|
extern struct platform_device s5p6450_device_pcm0;
|
|
|
|
extern struct platform_device s5pc100_device_ac97;
|
|
extern struct platform_device s5pc100_device_pcm0;
|
|
extern struct platform_device s5pc100_device_pcm1;
|
|
extern struct platform_device s5pc100_device_iis0;
|
|
extern struct platform_device s5pc100_device_iis1;
|
|
extern struct platform_device s5pc100_device_iis2;
|
|
extern struct platform_device s5pc100_device_spdif;
|
|
|
|
extern struct platform_device samsung_device_keypad;
|
|
|
|
extern struct platform_device s5p_device_fimc0;
|
|
extern struct platform_device s5p_device_fimc1;
|
|
extern struct platform_device s5p_device_fimc2;
|
|
|
|
extern struct platform_device s5p_device_mipi_csis0;
|
|
extern struct platform_device s5p_device_mipi_csis1;
|
|
|
|
extern struct platform_device s5pv310_device_sysmmu;
|
|
|
|
/* 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);
|