Merge git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core-2.6
[linux/fpc-iii.git] / arch / arm / plat-s5pc1xx / include / plat / s5pc100.h
blob45e275131665c8a387a043e2ce6db3a9be9502a9
1 /* arch/arm/plat-s5pc1xx/include/plat/s5pc100.h
3 * Copyright 2009 Samsung Electronics Co.
4 * Byungho Min <bhmin@samsung.com>
6 * Header file for s5pc100 cpu support
8 * Based on plat-s3c64xx/include/plat/s3c6400.h
10 * This program is free software; you can redistribute it and/or modify
11 * it under the terms of the GNU General Public License version 2 as
12 * published by the Free Software Foundation.
15 /* Common init code for S5PC100 related SoCs */
16 extern int s5pc100_init(void);
17 extern void s5pc100_map_io(void);
18 extern void s5pc100_init_clocks(int xtal);
19 extern int s5pc100_register_baseclocks(unsigned long xtal);
20 extern void s5pc100_init_irq(void);
21 extern void s5pc100_init_io(struct map_desc *mach_desc, int size);
22 extern void s5pc100_common_init_uarts(struct s3c2410_uartcfg *cfg, int no);
23 extern void s5pc100_register_clocks(void);
24 extern void s5pc100_setup_clocks(void);
25 extern struct sysdev_class s5pc100_sysclass;
27 #define s5pc100_init_uarts s5pc100_common_init_uarts
29 /* Some day, belows will be moved to plat-s5pc/include/plat/cpu.h */
30 extern void s5pc1xx_init_irq(u32 *vic_valid, int num);
31 extern void s5pc1xx_init_io(struct map_desc *mach_desc, int size);
33 /* Some day, belows will be moved to plat-s5pc/include/plat/clock.h */
34 extern struct clk clk_hpll;
35 extern struct clk clk_hd0;
36 extern struct clk clk_pd0;
37 extern struct clk clk_54m;
38 extern struct clk clk_dout_mpll2;
39 extern void s5pc1xx_register_clocks(void);
40 extern int s5pc1xx_sclk0_ctrl(struct clk *clk, int enable);
41 extern int s5pc1xx_sclk1_ctrl(struct clk *clk, int enable);
43 /* Some day, belows will be moved to plat-s5pc/include/plat/devs.h */
44 extern struct s3c24xx_uart_resources s5pc1xx_uart_resources[];
45 extern struct platform_device s3c_device_g2d;
46 extern struct platform_device s3c_device_g3d;
47 extern struct platform_device s3c_device_vpp;
48 extern struct platform_device s3c_device_tvenc;
49 extern struct platform_device s3c_device_tvscaler;
50 extern struct platform_device s3c_device_rotator;
51 extern struct platform_device s3c_device_jpeg;
52 extern struct platform_device s3c_device_onenand;
53 extern struct platform_device s3c_device_usb_otghcd;
54 extern struct platform_device s3c_device_keypad;
55 extern struct platform_device s3c_device_ts;
56 extern struct platform_device s3c_device_g3d;
57 extern struct platform_device s3c_device_smc911x;
58 extern struct platform_device s3c_device_fimc0;
59 extern struct platform_device s3c_device_fimc1;
60 extern struct platform_device s3c_device_mfc;
61 extern struct platform_device s3c_device_ac97;
62 extern struct platform_device s3c_device_fimc0;
63 extern struct platform_device s3c_device_fimc1;
64 extern struct platform_device s3c_device_fimc2;