From patchwork Mon Jan 4 22:27:46 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Horman X-Patchwork-Id: 7951711 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.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 61C2E9F1CC for ; Mon, 4 Jan 2016 22:28:35 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 8DF2F20303 for ; Mon, 4 Jan 2016 22:28:34 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 9C5D620320 for ; Mon, 4 Jan 2016 22:28:33 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753725AbcADW22 (ORCPT ); Mon, 4 Jan 2016 17:28:28 -0500 Received: from kirsty.vergenet.net ([202.4.237.240]:38733 "EHLO kirsty.vergenet.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753688AbcADW21 (ORCPT ); Mon, 4 Jan 2016 17:28:27 -0500 Received: from penelope.kanocho.kobe.vergenet.net (pa49-181-174-125.pa.nsw.optusnet.com.au [49.181.174.125]) by kirsty.vergenet.net (Postfix) with ESMTPSA id BFE1625BE9C; Tue, 5 Jan 2016 09:28:07 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=verge.net.au; s=mail; t=1451946487; bh=Gu+Q5IGeeS9BKBetEK6jWPUj1yQVC4UX97YoxzXuBE8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=rCJy0TTBYsYLHhQpSWjFGVD0E9XZJzRHD/RzM2IoYE1lYppIVwEwUCbtXhHL82Og+ yjzlHGe0fzC0hxA8B+cfZhqU/Ty3kaxreUKC9PtMjQLShylh+CpbustdsgH2uYnQPU vPUz1+mC3l7SGdegcR7IviG80scTixvmZL4blzw8= Received: by penelope.kanocho.kobe.vergenet.net (Postfix, from userid 7100) id A335766AF6; Tue, 5 Jan 2016 09:28:06 +1100 (AEDT) From: Simon Horman To: linux-sh@vger.kernel.org Cc: linux-arm-kernel@lists.infradead.org, Magnus Damm , Simon Horman , Kuninori Morimoto Subject: [PATCH v2 11/13] ARM: shmobile: gose: enable sound DMA support via SRC in device tree Date: Tue, 5 Jan 2016 09:27:46 +1100 Message-Id: <1451946468-20499-12-git-send-email-horms+renesas@verge.net.au> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1451946468-20499-1-git-send-email-horms+renesas@verge.net.au> References: <1451946468-20499-1-git-send-email-horms+renesas@verge.net.au> Sender: linux-sh-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-sh@vger.kernel.org X-Spam-Status: No, score=-6.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,RP_MATCHES_RCVD,T_DKIM_INVALID,UNPARSEABLE_RELAY autolearn=unavailable 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 Enable DMA transfer to/from SRC in r8a7793/gose device tree. DMA DMApp [MEM] -> [SRC] -> [SSIU] -> [SSI] DMA DMApp [MEM] <- [SRC] <- [SSIU] <- [SSI] Current sound driver is supporting SSI/SRC random connection. So, this patch is tring SSI0 -> SRC2 SSI1 <- SRC3 Based on similar work for the r8a7791/koeslch by Kuninori Morimoto. Cc: Kuninori Morimoto Acked-by: Geert Uytterhoeven Signed-off-by: Simon Horman --- arch/arm/boot/dts/r8a7793-gose.dts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/r8a7793-gose.dts b/arch/arm/boot/dts/r8a7793-gose.dts index 4a7048d676c8..ad20ddc5203d 100644 --- a/arch/arm/boot/dts/r8a7793-gose.dts +++ b/arch/arm/boot/dts/r8a7793-gose.dts @@ -315,8 +315,8 @@ rcar_sound,dai { dai0 { - playback = <&ssi0>; - capture = <&ssi1>; + playback = <&ssi0 &src2>; + capture = <&ssi1 &src3>; }; }; };