summaryrefslogtreecommitdiffstats
path: root/arch/arm
diff options
context:
space:
mode:
authorKuninori Morimoto2012-06-25 12:37:20 +0200
committerRafael J. Wysocki2012-06-30 15:24:52 +0200
commitdc7dd5841f714c3bc3f358cb126ba4432947e854 (patch)
tree3dfd82365d2f921f27263819c7197ca57ef7fd55 /arch/arm
parentARM: shmobile: armadillo800eva: enable FSI-HDMI sound (diff)
downloadkernel-qcow2-linux-dc7dd5841f714c3bc3f358cb126ba4432947e854.tar.gz
kernel-qcow2-linux-dc7dd5841f714c3bc3f358cb126ba4432947e854.tar.xz
kernel-qcow2-linux-dc7dd5841f714c3bc3f358cb126ba4432947e854.zip
ARM: shmobile: armadillo800eva: enable DMAEngine on FSI
It is possible to reduce CPU load if FSI playback used DMAEngine. This patch enabled it. Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Acked-by: Magnus Damm <damm@opensource.se> Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Diffstat (limited to 'arch/arm')
-rw-r--r--arch/arm/configs/armadillo800eva_defconfig2
-rw-r--r--arch/arm/mach-shmobile/board-armadillo800eva.c2
2 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/configs/armadillo800eva_defconfig b/arch/arm/configs/armadillo800eva_defconfig
index df1ce543cd7c..16bbb3f8f234 100644
--- a/arch/arm/configs/armadillo800eva_defconfig
+++ b/arch/arm/configs/armadillo800eva_defconfig
@@ -119,6 +119,8 @@ CONFIG_USB_ETH=m
CONFIG_MMC=y
CONFIG_MMC_SDHI=y
CONFIG_MMC_SH_MMCIF=y
+CONFIG_DMADEVICES=y
+CONFIG_SH_DMAE=y
CONFIG_UIO=y
CONFIG_UIO_PDRV_GENIRQ=y
# CONFIG_DNOTIFY is not set
diff --git a/arch/arm/mach-shmobile/board-armadillo800eva.c b/arch/arm/mach-shmobile/board-armadillo800eva.c
index a642ce68dddf..d63e559629b8 100644
--- a/arch/arm/mach-shmobile/board-armadillo800eva.c
+++ b/arch/arm/mach-shmobile/board-armadillo800eva.c
@@ -768,12 +768,14 @@ static int fsi_hdmi_set_rate(struct device *dev, int rate, int enable)
static struct sh_fsi_platform_info fsi_info = {
/* FSI-WM8978 */
.port_a = {
+ .tx_id = SHDMA_SLAVE_FSIA_TX,
},
/* FSI-HDMI */
.port_b = {
.flags = SH_FSI_FMT_SPDIF |
SH_FSI_ENABLE_STREAM_MODE,
.set_rate = fsi_hdmi_set_rate,
+ .tx_id = SHDMA_SLAVE_FSIB_TX,
}
};