ARM: shmobile: r8a7778: add SSIx DMAEngine support
[deliverable/linux.git] / arch / arm / mach-shmobile / include / mach / r8a7778.h
CommitLineData
ccb7cc74
KM
1/*
2 * Copyright (C) 2013 Renesas Solutions Corp.
3 * Copyright (C) 2013 Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
338c4991 4 * Copyright (C) 2013 Cogent Embedded, Inc.
ccb7cc74
KM
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; version 2 of the License.
9 *
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
14 *
15 * You should have received a copy of the GNU General Public License
16 * along with this program; if not, write to the Free Software
17 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
18 */
19#ifndef __ASM_R8A7778_H__
20#define __ASM_R8A7778_H__
21
52421914 22#include <linux/sh_eth.h>
803c2df2 23#include <linux/platform_data/camera-rcar.h>
52421914 24
338c4991
MF
25/* HPB-DMA slave IDs */
26enum {
27 HPBDMA_SLAVE_DUMMY,
28 HPBDMA_SLAVE_SDHI0_TX,
29 HPBDMA_SLAVE_SDHI0_RX,
a91be22c
KM
30 HPBDMA_SLAVE_SSI0_TX,
31 HPBDMA_SLAVE_SSI0_RX,
32 HPBDMA_SLAVE_SSI1_TX,
33 HPBDMA_SLAVE_SSI1_RX,
34 HPBDMA_SLAVE_SSI2_TX,
35 HPBDMA_SLAVE_SSI2_RX,
36 HPBDMA_SLAVE_SSI3_TX,
37 HPBDMA_SLAVE_SSI3_RX,
38 HPBDMA_SLAVE_SSI4_TX,
39 HPBDMA_SLAVE_SSI4_RX,
40 HPBDMA_SLAVE_SSI5_TX,
41 HPBDMA_SLAVE_SSI5_RX,
42 HPBDMA_SLAVE_SSI6_TX,
43 HPBDMA_SLAVE_SSI6_RX,
44 HPBDMA_SLAVE_SSI7_TX,
45 HPBDMA_SLAVE_SSI7_RX,
46 HPBDMA_SLAVE_SSI8_TX,
47 HPBDMA_SLAVE_SSI8_RX,
b4283184
KM
48 HPBDMA_SLAVE_HPBIF0_TX,
49 HPBDMA_SLAVE_HPBIF0_RX,
50 HPBDMA_SLAVE_HPBIF1_TX,
51 HPBDMA_SLAVE_HPBIF1_RX,
52 HPBDMA_SLAVE_HPBIF2_TX,
53 HPBDMA_SLAVE_HPBIF2_RX,
54 HPBDMA_SLAVE_HPBIF3_TX,
55 HPBDMA_SLAVE_HPBIF3_RX,
56 HPBDMA_SLAVE_HPBIF4_TX,
57 HPBDMA_SLAVE_HPBIF4_RX,
58 HPBDMA_SLAVE_HPBIF5_TX,
59 HPBDMA_SLAVE_HPBIF5_RX,
60 HPBDMA_SLAVE_HPBIF6_TX,
61 HPBDMA_SLAVE_HPBIF6_RX,
62 HPBDMA_SLAVE_HPBIF7_TX,
63 HPBDMA_SLAVE_HPBIF7_RX,
64 HPBDMA_SLAVE_HPBIF8_TX,
65 HPBDMA_SLAVE_HPBIF8_RX,
338c4991
MF
66};
67
ccb7cc74
KM
68extern void r8a7778_add_standard_devices(void);
69extern void r8a7778_add_standard_devices_dt(void);
cfa66a81 70extern void r8a7778_add_dt_devices(void);
46b9a092 71
02474a41 72extern void r8a7778_init_late(void);
ccb7cc74 73extern void r8a7778_init_delay(void);
ccb7cc74
KM
74extern void r8a7778_init_irq_dt(void);
75extern void r8a7778_clock_init(void);
3a42fa20 76extern void r8a7778_init_irq_extpin(int irlm);
2238577b 77extern void r8a7778_init_irq_extpin_dt(int irlm);
369b00bb 78extern void r8a7778_pinmux_init(void);
ccb7cc74 79
f39d35fc
KM
80extern int r8a7778_usb_phy_power(bool enable);
81
ccb7cc74 82#endif /* __ASM_R8A7778_H__ */
This page took 0.060472 seconds and 5 git commands to generate.