ARM: shmobile: r8a7779: Cleanup header file
[deliverable/linux.git] / arch / arm / mach-shmobile / r8a7740.h
CommitLineData
6c01ba44
KM
1/*
2 * Copyright (C) 2011 Renesas Solutions Corp.
3 * Copyright (C) 2011 Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
4 *
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation; version 2 of the License.
8 *
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
6c01ba44
KM
13 */
14
15#ifndef __ASM_R8A7740_H__
16#define __ASM_R8A7740_H__
17
18/*
19 * MD_CKx pin
20 */
21#define MD_CK2 (1 << 2)
22#define MD_CK1 (1 << 1)
23#define MD_CK0 (1 << 0)
24
643c3307
KM
25/* DMA slave IDs */
26enum {
27 SHDMA_SLAVE_INVALID,
cb76eb81
KM
28 SHDMA_SLAVE_SDHI0_RX,
29 SHDMA_SLAVE_SDHI0_TX,
30 SHDMA_SLAVE_SDHI1_RX,
31 SHDMA_SLAVE_SDHI1_TX,
32 SHDMA_SLAVE_SDHI2_RX,
33 SHDMA_SLAVE_SDHI2_TX,
643c3307
KM
34 SHDMA_SLAVE_FSIA_RX,
35 SHDMA_SLAVE_FSIA_TX,
36 SHDMA_SLAVE_FSIB_TX,
dbf382e5
KM
37 SHDMA_SLAVE_USBHS_TX,
38 SHDMA_SLAVE_USBHS_RX,
9a145624
GL
39 SHDMA_SLAVE_MMCIF_TX,
40 SHDMA_SLAVE_MMCIF_RX,
643c3307
KM
41};
42
f96c764d 43extern void r8a7740_meram_workaround(void);
f9b4df4a 44extern void r8a7740_init_irq_of(void);
f96c764d
KM
45extern void r8a7740_map_io(void);
46extern void r8a7740_add_early_devices(void);
47extern void r8a7740_add_standard_devices(void);
48extern void r8a7740_clock_init(u8 md_ck);
49extern void r8a7740_pinmux_init(void);
50extern void r8a7740_pm_init(void);
51
c41215b7 52#if defined(CONFIG_PM) && !defined(CONFIG_ARCH_MULTIPLATFORM)
7b567407
RW
53extern void __init r8a7740_init_pm_domains(void);
54#else
55static inline void r8a7740_init_pm_domains(void) {}
c41215b7 56#endif /* CONFIG_PM && !CONFIG_ARCH_MULTIPLATFORM */
8459293c 57
6c01ba44 58#endif /* __ASM_R8A7740_H__ */
This page took 0.18762 seconds and 5 git commands to generate.