From patchwork Tue Nov 4 01:49:45 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kuninori Morimoto X-Patchwork-Id: 5221071 X-Patchwork-Delegate: horms@verge.net.au Return-Path: X-Original-To: patchwork-linux-sh@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 7A1AD9F39B for ; Tue, 4 Nov 2014 01:49:49 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id A4DC020160 for ; Tue, 4 Nov 2014 01:49:48 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id BECD12015E for ; Tue, 4 Nov 2014 01:49:47 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751046AbaKDBtr (ORCPT ); Mon, 3 Nov 2014 20:49:47 -0500 Received: from mail-pd0-f170.google.com ([209.85.192.170]:39973 "EHLO mail-pd0-f170.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751069AbaKDBtq (ORCPT ); Mon, 3 Nov 2014 20:49:46 -0500 Received: by mail-pd0-f170.google.com with SMTP id z10so12619355pdj.15 for ; Mon, 03 Nov 2014 17:49:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:message-id:from:subject:user-agent:mime-version:to:cc :in-reply-to:references:content-type; bh=dnM+9U1dSEv5tdHK8ylwA3BSdSt1V9OaMJ1Al1M2AGo=; b=HLRe6lRLMvCb1q9u0EjXdyJLxoamUCN76dGWV8kythjpFidhuhXktYiGT9Sm8DjCYS hxum0WXqre1jhn+L+r88DoMQCHXWqa+v5IWf6eMK6J77WMEpoS5PfznHkWuBwEuTQIg9 LtLIALfB2Abrcbpyl5BCuskoPopFW/u9xfsZ6GWjnR2wbUUuDKwZlewn2SJNpnN4Ipts P9/pw/ZrSsTi/g7V6avVFtE7cD/HJgt4nija9wWwtUD2peIo5+nT8xZMVAX7QjsmfLAk VLpBivuNIRkUCFDhyKDkEXs2D4y20uj1UDvxzb9ePD8Oh0CocPgo3lWgxqy/oRpwkPac /eEQ== X-Received: by 10.70.39.35 with SMTP id m3mr46591063pdk.70.1415065786521; Mon, 03 Nov 2014 17:49:46 -0800 (PST) Received: from remon.gmail.com (49.14.32.202.bf.2iij.net. [202.32.14.49]) by mx.google.com with ESMTPSA id oh5sm18244706pbc.76.2014.11.03.17.49.44 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Mon, 03 Nov 2014 17:49:45 -0800 (PST) Date: Mon, 03 Nov 2014 17:49:45 -0800 (PST) Message-ID: <877fzb91kt.wl%kuninori.morimoto.gx@gmail.com> From: Kuninori Morimoto Subject: [PATCH 20/23 v3] ARM: shmobile: koelsch: Sound DMA support via DVC on DTS User-Agent: Wanderlust/2.14.0 Emacs/23.3 Mule/6.0 MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") To: Simon Cc: Magnus , linux-sh@vger.kernel.org, Kuninori Morimoto In-Reply-To: <87zjc791v2.wl%kuninori.morimoto.gx@gmail.com> References: <1414628894-24460-1-git-send-email-laurent.pinchart+renesas@ideasonboard.com> <87zjc791v2.wl%kuninori.morimoto.gx@gmail.com> Sender: linux-sh-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-sh@vger.kernel.org X-Spam-Status: No, score=-7.4 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Kuninori Morimoto DMA transfer uses DVC DMA DMApp [MEM] -> [SRC] -> [DVC] -> [SSIU] -> [SSI] DMA DMApp [MEM] <- [DVC] <- [SRC] <- [SSIU] <- [SSI] Signed-off-by: Kuninori Morimoto --- v2 -> v3 - no change arch/arm/boot/dts/r8a7791-koelsch.dts | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/r8a7791-koelsch.dts b/arch/arm/boot/dts/r8a7791-koelsch.dts index 2f975a1..df283d2 100644 --- a/arch/arm/boot/dts/r8a7791-koelsch.dts +++ b/arch/arm/boot/dts/r8a7791-koelsch.dts @@ -20,6 +20,13 @@ * This command is required when Playback/Capture * * amixer set "LINEOUT Mixer DACL" on + * amixer set "DVC Out" 100% + * amixer set "DVC In" 100% + * + * You can use Mute + * + * amixer set "DVC Out Mute" on + * amixer set "DVC In Mute" on */ /dts-v1/; @@ -569,8 +576,8 @@ rcar_sound,dai { dai0 { - playback = <&ssi0 &src2>; - capture = <&ssi1 &src3>; + playback = <&ssi0 &src2 &dvc0>; + capture = <&ssi1 &src3 &dvc1>; }; }; };