blob: 19f97046dd708b2491b5d351cb372167ed5c93b6 [file] [log] [blame]
Magnus Dammf411fad2011-12-14 01:36:12 +09001#ifndef __ASM_R8A7779_H__
2#define __ASM_R8A7779_H__
3
Magnus Damma662c082012-01-10 15:50:01 +09004#include <linux/sh_clk.h>
Magnus Damma662c082012-01-10 15:50:01 +09005
Max Filippov441f7502013-08-25 21:46:23 +04006/* HPB-DMA slave IDs */
7enum {
8 HPBDMA_SLAVE_DUMMY,
9 HPBDMA_SLAVE_SDHI0_TX,
10 HPBDMA_SLAVE_SDHI0_RX,
11};
12
Kuninori Morimoto60e3a5662013-03-28 01:49:27 -070013extern void r8a7779_init_irq_extpin(int irlm);
Kuninori Morimoto31e4e292013-10-02 01:38:23 -070014extern void r8a7779_init_irq_extpin_dt(int irlm);
Kuninori Morimoto60e3a5662013-03-28 01:49:27 -070015extern void r8a7779_init_irq_dt(void);
16extern void r8a7779_map_io(void);
17extern void r8a7779_earlytimer_init(void);
18extern void r8a7779_add_early_devices(void);
19extern void r8a7779_add_standard_devices(void);
Sergei Shtylyov2c8788b2013-06-02 01:30:15 +040020extern void r8a7779_init_late(void);
Simon Horman3e05f242014-05-15 20:32:01 +090021extern u32 r8a7779_read_mode_pins(void);
Kuninori Morimoto60e3a5662013-03-28 01:49:27 -070022extern void r8a7779_clock_init(void);
23extern void r8a7779_pinmux_init(void);
24extern void r8a7779_pm_init(void);
25extern void r8a7779_register_twd(void);
Magnus Dammf40aaf62012-01-10 17:44:39 +090026
Magnus Damma662c082012-01-10 15:50:01 +090027#ifdef CONFIG_PM
Rafael J. Wysocki45e5ca52012-08-07 01:14:14 +020028extern void __init r8a7779_init_pm_domains(void);
Magnus Damma662c082012-01-10 15:50:01 +090029#else
Rafael J. Wysocki45e5ca52012-08-07 01:14:14 +020030static inline void r8a7779_init_pm_domains(void) {}
Magnus Damma662c082012-01-10 15:50:01 +090031#endif /* CONFIG_PM */
32
Marc Zyngiera62580e2011-09-08 13:15:22 +010033extern struct smp_operations r8a7779_smp_ops;
34
Magnus Dammf411fad2011-12-14 01:36:12 +090035#endif /* __ASM_R8A7779_H__ */