2 * Copyright (C) 2010 Renesas Solutions Corp.
4 * Kuninori Morimoto <morimoto.kuninori@renesas.com>
6 * This file is subject to the terms and conditions of the GNU General Public
7 * License. See the file "COPYING" in the main directory of this archive
11 #ifndef __ASM_SH7372_H__
12 #define __ASM_SH7372_H__
14 #include <linux/sh_clk.h>
15 #include <linux/pm_domain.h>
16 #include <mach/pm-rmobile.h>
35 SHDMA_SLAVE_FLCTL0_TX
,
36 SHDMA_SLAVE_FLCTL0_RX
,
37 SHDMA_SLAVE_FLCTL1_TX
,
38 SHDMA_SLAVE_FLCTL1_RX
,
55 extern struct clk sh7372_extal1_clk
;
56 extern struct clk sh7372_extal2_clk
;
57 extern struct clk sh7372_dv_clki_clk
;
58 extern struct clk sh7372_dv_clki_div2_clk
;
59 extern struct clk sh7372_pllc2_clk
;
61 extern void sh7372_init_irq(void);
62 extern void sh7372_map_io(void);
63 extern void sh7372_earlytimer_init(void);
64 extern void sh7372_add_early_devices(void);
65 extern void sh7372_add_standard_devices(void);
66 extern void sh7372_add_early_devices_dt(void);
67 extern void sh7372_add_standard_devices_dt(void);
68 extern void sh7372_clock_init(void);
69 extern void sh7372_pinmux_init(void);
70 extern void sh7372_pm_init(void);
71 extern void sh7372_resume_core_standby_sysc(void);
72 extern int sh7372_do_idle_sysc(unsigned long sleep_mode
);
73 extern void sh7372_intcs_suspend(void);
74 extern void sh7372_intcs_resume(void);
75 extern void sh7372_intca_suspend(void);
76 extern void sh7372_intca_resume(void);
78 extern unsigned long sh7372_cpu_resume
;
81 extern void __init
sh7372_init_pm_domains(void);
83 static inline void sh7372_init_pm_domains(void) {}
86 extern void __init
sh7372_pm_init_late(void);
88 #endif /* __ASM_SH7372_H__ */