From patchwork Fri Oct 31 00:26:51 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kuninori Morimoto X-Patchwork-Id: 5201021 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 1D2E89F318 for ; Fri, 31 Oct 2014 00:26:55 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 5E89320172 for ; Fri, 31 Oct 2014 00:26:54 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 8FC0420165 for ; Fri, 31 Oct 2014 00:26:53 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1161370AbaJaA0x (ORCPT ); Thu, 30 Oct 2014 20:26:53 -0400 Received: from mail-pd0-f177.google.com ([209.85.192.177]:42990 "EHLO mail-pd0-f177.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1161331AbaJaA0w (ORCPT ); Thu, 30 Oct 2014 20:26:52 -0400 Received: by mail-pd0-f177.google.com with SMTP id v10so6052194pde.8 for ; Thu, 30 Oct 2014 17:26:52 -0700 (PDT) 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=exVjWWcW5UdDscej4E5apeiQg5wOyr7MDJ5EQkATw98=; b=QyEMxTrKJs/4eKX+Zbl19wFNXuytqSxV23Jz1GfY6JhP1vp40wrhpdx4cUYxGf6dj9 zdj/0Pm/oyHBnd5I+kceSprdCNJ6mDXSqWRja7qj/q6uOGkRiP75WSeLP+w7GixJ/rOs 3r6sG2EOOy3wnWiCQo+wnRiTGuAPQxsTiCC2iX9ar2V/9GLQbGKJimR0OcKHKmyD1+OO 0iGCjCKYJ9cQQ0fiox7xB3WHaGe113oJzFcnrfhbb+Ps+erV5/WxtlqrGBz2qp2Bik0F Xe9XVLARVOLvjAIbtBqHI5H5xOpIZ5gNn62LirEga6VcZxy+DaSQ1GSpgSbIiRc4oMjj kNqQ== X-Received: by 10.68.233.133 with SMTP id tw5mr21105203pbc.19.1414715212457; Thu, 30 Oct 2014 17:26:52 -0700 (PDT) Received: from remon.gmail.com (49.14.32.202.bf.2iij.net. [202.32.14.49]) by mx.google.com with ESMTPSA id te2sm8188890pbc.51.2014.10.30.17.26.50 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Thu, 30 Oct 2014 17:26:51 -0700 (PDT) Date: Thu, 30 Oct 2014 17:26:51 -0700 (PDT) Message-ID: <87k33h2ies.wl%kuninori.morimoto.gx@gmail.com> From: Kuninori Morimoto Subject: [PATCH 09/12 v2] ARM: shmobile: lager: 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: <87wq7h2ijk.wl%kuninori.morimoto.gx@gmail.com> References: <1414628894-24460-1-git-send-email-laurent.pinchart+renesas@ideasonboard.com> <87wq7h2ijk.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 --- v1 -> v2 - no change arch/arm/boot/dts/r8a7790-lager.dts | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/r8a7790-lager.dts b/arch/arm/boot/dts/r8a7790-lager.dts index 06365de..7aab833 100644 --- a/arch/arm/boot/dts/r8a7790-lager.dts +++ b/arch/arm/boot/dts/r8a7790-lager.dts @@ -19,6 +19,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/; @@ -567,8 +574,8 @@ rcar_sound,dai { dai0 { - playback = <&ssi0 &src2>; - capture = <&ssi1 &src3>; + playback = <&ssi0 &src2 &dvc0>; + capture = <&ssi1 &src3 &dvc1>; }; }; };