diff options
author | Max Filippov <max.filippov@cogentembedded.com> | 2013-08-24 17:35:13 -0400 |
---|---|---|
committer | Simon Horman <horms+renesas@verge.net.au> | 2013-10-07 20:44:42 -0400 |
commit | 338c4991ed350abd7c5b3cb807fe022cb712a8ba (patch) | |
tree | 7d54c439823ed3bebdaa9f5f579a8a195ccea7a7 /arch/arm/mach-shmobile/include | |
parent | 9f754b4a68e53c71f55aaa9564579ae617a2ff11 (diff) |
ARM: shmobile: r8a7778: add HPB-DMAC support
Add HPB-DMAC platform device on R8A7778 SoC along with its slave and channel
configurations (only for SDHI0 so far).
Signed-off-by: Max Filippov <max.filippov@cogentembedded.com>
[Sergei: moved *enum* declaring HPB-DMAC slave IDs from now removed <mach/dma.h>
to <mach/r8a7778.h>, removed #include <mach/dma.h> from setup-r8a7778.c, removed
SSI-related *enum* values and SSI-related data from hpb_dmae_slaves[] and
hpb_dmae_channels[], moved the comments after the element initializers of
hpb_dmae_channels[].]
Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
Diffstat (limited to 'arch/arm/mach-shmobile/include')
-rw-r--r-- | arch/arm/mach-shmobile/include/mach/r8a7778.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/arm/mach-shmobile/include/mach/r8a7778.h b/arch/arm/mach-shmobile/include/mach/r8a7778.h index ea1dca6880f4..1d6fe973e8b4 100644 --- a/arch/arm/mach-shmobile/include/mach/r8a7778.h +++ b/arch/arm/mach-shmobile/include/mach/r8a7778.h | |||
@@ -1,6 +1,7 @@ | |||
1 | /* | 1 | /* |
2 | * Copyright (C) 2013 Renesas Solutions Corp. | 2 | * Copyright (C) 2013 Renesas Solutions Corp. |
3 | * Copyright (C) 2013 Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> | 3 | * Copyright (C) 2013 Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> |
4 | * Copyright (C) 2013 Cogent Embedded, Inc. | ||
4 | * | 5 | * |
5 | * This program is free software; you can redistribute it and/or modify | 6 | * 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 | * it under the terms of the GNU General Public License as published by |
@@ -21,6 +22,13 @@ | |||
21 | #include <linux/sh_eth.h> | 22 | #include <linux/sh_eth.h> |
22 | #include <linux/platform_data/camera-rcar.h> | 23 | #include <linux/platform_data/camera-rcar.h> |
23 | 24 | ||
25 | /* HPB-DMA slave IDs */ | ||
26 | enum { | ||
27 | HPBDMA_SLAVE_DUMMY, | ||
28 | HPBDMA_SLAVE_SDHI0_TX, | ||
29 | HPBDMA_SLAVE_SDHI0_RX, | ||
30 | }; | ||
31 | |||
24 | extern void r8a7778_add_standard_devices(void); | 32 | extern void r8a7778_add_standard_devices(void); |
25 | extern void r8a7778_add_standard_devices_dt(void); | 33 | extern void r8a7778_add_standard_devices_dt(void); |
26 | extern void r8a7778_add_ether_device(struct sh_eth_plat_data *pdata); | 34 | extern void r8a7778_add_ether_device(struct sh_eth_plat_data *pdata); |