2011-12-14 00:36:12 +08:00
|
|
|
#ifndef __ASM_R8A7779_H__
|
|
|
|
#define __ASM_R8A7779_H__
|
|
|
|
|
2012-01-10 14:50:01 +08:00
|
|
|
#include <linux/sh_clk.h>
|
|
|
|
|
2013-08-26 01:46:23 +08:00
|
|
|
/* HPB-DMA slave IDs */
|
|
|
|
enum {
|
|
|
|
HPBDMA_SLAVE_DUMMY,
|
|
|
|
HPBDMA_SLAVE_SDHI0_TX,
|
|
|
|
HPBDMA_SLAVE_SDHI0_RX,
|
|
|
|
};
|
|
|
|
|
2013-03-28 16:49:27 +08:00
|
|
|
extern void r8a7779_init_irq_extpin(int irlm);
|
2013-10-02 16:38:23 +08:00
|
|
|
extern void r8a7779_init_irq_extpin_dt(int irlm);
|
2013-03-28 16:49:27 +08: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-02 05:30:15 +08:00
|
|
|
extern void r8a7779_init_late(void);
|
2014-05-15 19:32:01 +08:00
|
|
|
extern u32 r8a7779_read_mode_pins(void);
|
2013-03-28 16:49:27 +08: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 16:44:39 +08:00
|
|
|
|
2012-01-10 14:50:01 +08:00
|
|
|
#ifdef CONFIG_PM
|
2012-08-07 07:14:14 +08:00
|
|
|
extern void __init r8a7779_init_pm_domains(void);
|
2012-01-10 14:50:01 +08:00
|
|
|
#else
|
2012-08-07 07:14:14 +08:00
|
|
|
static inline void r8a7779_init_pm_domains(void) {}
|
2012-01-10 14:50:01 +08:00
|
|
|
#endif /* CONFIG_PM */
|
|
|
|
|
2011-09-08 20:15:22 +08:00
|
|
|
extern struct smp_operations r8a7779_smp_ops;
|
|
|
|
|
2011-12-14 00:36:12 +08:00
|
|
|
#endif /* __ASM_R8A7779_H__ */
|