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