xref: /openbmc/linux/arch/arm/mach-shmobile/r8a7779.h (revision 5ecd7a51)
1 #ifndef __ASM_R8A7779_H__
2 #define __ASM_R8A7779_H__
3 
4 #include <linux/sh_clk.h>
5 
6 /* HPB-DMA slave IDs */
7 enum {
8 	HPBDMA_SLAVE_DUMMY,
9 	HPBDMA_SLAVE_SDHI0_TX,
10 	HPBDMA_SLAVE_SDHI0_RX,
11 };
12 
13 extern void r8a7779_init_irq_extpin(int irlm);
14 extern void r8a7779_init_irq_extpin_dt(int irlm);
15 extern void r8a7779_init_irq_dt(void);
16 extern void r8a7779_map_io(void);
17 extern void r8a7779_earlytimer_init(void);
18 extern void r8a7779_add_early_devices(void);
19 extern void r8a7779_add_standard_devices(void);
20 extern void r8a7779_init_late(void);
21 extern u32 r8a7779_read_mode_pins(void);
22 extern void r8a7779_clock_init(void);
23 extern void r8a7779_pinmux_init(void);
24 extern void r8a7779_pm_init(void);
25 extern void r8a7779_register_twd(void);
26 
27 #ifdef CONFIG_PM
28 extern void __init r8a7779_init_pm_domains(void);
29 #else
30 static inline void r8a7779_init_pm_domains(void) {}
31 #endif /* CONFIG_PM */
32 
33 extern struct smp_operations r8a7779_smp_ops;
34 
35 #endif /* __ASM_R8A7779_H__ */
36