Magnus Damm | f411fad | 2011-12-14 01:36:12 +0900 | [diff] [blame] | 1 | #ifndef __ASM_R8A7779_H__ |
| 2 | #define __ASM_R8A7779_H__ |
| 3 | |
Magnus Damm | a662c08 | 2012-01-10 15:50:01 +0900 | [diff] [blame] | 4 | #include <linux/sh_clk.h> |
Magnus Damm | a662c08 | 2012-01-10 15:50:01 +0900 | [diff] [blame] | 5 | |
Max Filippov | 441f750 | 2013-08-25 21:46:23 +0400 | [diff] [blame] | 6 | /* HPB-DMA slave IDs */ |
| 7 | enum { |
| 8 | HPBDMA_SLAVE_DUMMY, |
| 9 | HPBDMA_SLAVE_SDHI0_TX, |
| 10 | HPBDMA_SLAVE_SDHI0_RX, |
| 11 | }; |
| 12 | |
Kuninori Morimoto | 60e3a566 | 2013-03-28 01:49:27 -0700 | [diff] [blame] | 13 | extern void r8a7779_init_irq_extpin(int irlm); |
Kuninori Morimoto | 31e4e29 | 2013-10-02 01:38:23 -0700 | [diff] [blame] | 14 | extern void r8a7779_init_irq_extpin_dt(int irlm); |
Kuninori Morimoto | 60e3a566 | 2013-03-28 01:49:27 -0700 | [diff] [blame] | 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); |
Sergei Shtylyov | 2c8788b | 2013-06-02 01:30:15 +0400 | [diff] [blame] | 20 | extern void r8a7779_init_late(void); |
Simon Horman | 3e05f24 | 2014-05-15 20:32:01 +0900 | [diff] [blame] | 21 | extern u32 r8a7779_read_mode_pins(void); |
Kuninori Morimoto | 60e3a566 | 2013-03-28 01:49:27 -0700 | [diff] [blame] | 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); |
Magnus Damm | f40aaf6 | 2012-01-10 17:44:39 +0900 | [diff] [blame] | 26 | |
Magnus Damm | a662c08 | 2012-01-10 15:50:01 +0900 | [diff] [blame] | 27 | #ifdef CONFIG_PM |
Rafael J. Wysocki | 45e5ca5 | 2012-08-07 01:14:14 +0200 | [diff] [blame] | 28 | extern void __init r8a7779_init_pm_domains(void); |
Magnus Damm | a662c08 | 2012-01-10 15:50:01 +0900 | [diff] [blame] | 29 | #else |
Rafael J. Wysocki | 45e5ca5 | 2012-08-07 01:14:14 +0200 | [diff] [blame] | 30 | static inline void r8a7779_init_pm_domains(void) {} |
Magnus Damm | a662c08 | 2012-01-10 15:50:01 +0900 | [diff] [blame] | 31 | #endif /* CONFIG_PM */ |
| 32 | |
Marc Zyngier | a62580e | 2011-09-08 13:15:22 +0100 | [diff] [blame] | 33 | extern struct smp_operations r8a7779_smp_ops; |
| 34 | |
Magnus Damm | f411fad | 2011-12-14 01:36:12 +0900 | [diff] [blame] | 35 | #endif /* __ASM_R8A7779_H__ */ |