ARM: 5767/1: ep93xx: remove ep93xx_init_time() prototype
[deliverable/linux.git] / arch / arm / mach-ep93xx / include / mach / platform.h
CommitLineData
e7736d47 1/*
a09e64fb 2 * arch/arm/mach-ep93xx/include/mach/platform.h
e7736d47
LB
3 */
4
5#ifndef __ASSEMBLY__
6
6531a991 7struct i2c_gpio_platform_data;
ef449e6d 8struct i2c_board_info;
ef12379f 9struct platform_device;
c6012189 10struct ep93xxfb_mach_info;
ef449e6d 11
1d22e05d
LB
12struct ep93xx_eth_data
13{
14 unsigned char dev_addr[6];
15 unsigned char phy_id;
16};
17
a0a08fdc
HS
18void ep93xx_map_io(void);
19void ep93xx_init_irq(void);
02239f0a
HS
20
21/* EP93xx System Controller software locked register write */
fbeeea53 22void ep93xx_syscon_swlocked_write(unsigned int val, void __iomem *reg);
02239f0a
HS
23void ep93xx_devcfg_set_clear(unsigned int set_bits, unsigned int clear_bits);
24
25static inline void ep93xx_devcfg_set_bits(unsigned int bits)
26{
27 ep93xx_devcfg_set_clear(bits, 0x00);
28}
29
30static inline void ep93xx_devcfg_clear_bits(unsigned int bits)
31{
32 ep93xx_devcfg_set_clear(0x00, bits);
33}
34
a0a08fdc 35void ep93xx_register_eth(struct ep93xx_eth_data *data, int copy_addr);
6531a991
HS
36void ep93xx_register_i2c(struct i2c_gpio_platform_data *data,
37 struct i2c_board_info *devices, int num);
c6012189 38void ep93xx_register_fb(struct ep93xxfb_mach_info *data);
ef12379f
HS
39void ep93xx_register_pwm(int pwm0, int pwm1);
40int ep93xx_pwm_acquire_gpio(struct platform_device *pdev);
41void ep93xx_pwm_release_gpio(struct platform_device *pdev);
02239f0a 42
a0a08fdc
HS
43void ep93xx_init_devices(void);
44extern struct sys_timer ep93xx_timer;
e7736d47
LB
45
46#endif
This page took 0.334155 seconds and 5 git commands to generate.