2011-12-13 16:36:12 +00:00
|
|
|
#ifndef __ASM_R8A7779_H__
|
|
|
|
#define __ASM_R8A7779_H__
|
|
|
|
|
2012-01-10 06:50:01 +00:00
|
|
|
#include <linux/sh_clk.h>
|
|
|
|
|
2013-08-25 17:46:23 +00:00
|
|
|
/* HPB-DMA slave IDs */
|
|
|
|
enum {
|
|
|
|
HPBDMA_SLAVE_DUMMY,
|
|
|
|
HPBDMA_SLAVE_SDHI0_TX,
|
|
|
|
HPBDMA_SLAVE_SDHI0_RX,
|
|
|
|
};
|
|
|
|
|
2013-03-28 08:49:27 +00:00
|
|
|
extern void r8a7779_init_irq_extpin(int irlm);
|
2013-10-02 08:38:23 +00:00
|
|
|
extern void r8a7779_init_irq_extpin_dt(int irlm);
|
2013-03-28 08:49:27 +00:00
|
|
|
extern void r8a7779_init_irq_dt(void);
|
|
|
|
extern void r8a7779_map_io(void);
|
|
|
|
extern void r8a7779_earlytimer_init(void);
|
|
|
|
extern void r8a7779_add_early_devices(void);
|
|
|
|
extern void r8a7779_add_standard_devices(void);
|
|
|
|
extern void r8a7779_add_standard_devices_dt(void);
|
2013-06-01 21:30:15 +00:00
|
|
|
extern void r8a7779_init_late(void);
|
2014-05-15 11:32:01 +00:00
|
|
|
extern u32 r8a7779_read_mode_pins(void);
|
2013-03-28 08:49:27 +00:00
|
|
|
extern void r8a7779_clock_init(void);
|
|
|
|
extern void r8a7779_pinmux_init(void);
|
|
|
|
extern void r8a7779_pm_init(void);
|
|
|
|
extern void r8a7779_register_twd(void);
|
2012-01-10 08:44:39 +00:00
|
|
|
|
2012-01-10 06:50:01 +00:00
|
|
|
#ifdef CONFIG_PM
|
2012-08-06 23:14:14 +00:00
|
|
|
extern void __init r8a7779_init_pm_domains(void);
|
2012-01-10 06:50:01 +00:00
|
|
|
#else
|
2012-08-06 23:14:14 +00:00
|
|
|
static inline void r8a7779_init_pm_domains(void) {}
|
2012-01-10 06:50:01 +00:00
|
|
|
#endif /* CONFIG_PM */
|
|
|
|
|
2011-09-08 12:15:22 +00:00
|
|
|
extern struct smp_operations r8a7779_smp_ops;
|
|
|
|
|
2011-12-13 16:36:12 +00:00
|
|
|
#endif /* __ASM_R8A7779_H__ */
|