From patchwork Tue Mar 25 04:36:59 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kuninori Morimoto X-Patchwork-Id: 3885231 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 9F9109F2B6 for ; Tue, 25 Mar 2014 04:37:02 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id CD49B201F2 for ; Tue, 25 Mar 2014 04:37:01 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id F176C2013A for ; Tue, 25 Mar 2014 04:37:00 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750982AbaCYEhA (ORCPT ); Tue, 25 Mar 2014 00:37:00 -0400 Received: from mail-pa0-f45.google.com ([209.85.220.45]:39173 "EHLO mail-pa0-f45.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750876AbaCYEhA (ORCPT ); Tue, 25 Mar 2014 00:37:00 -0400 Received: by mail-pa0-f45.google.com with SMTP id kl14so6421193pab.32 for ; Mon, 24 Mar 2014 21:36:59 -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:to:cc:in-reply-to :references:mime-version:content-type; bh=cSA1WDoIznJAOotW0BKyOS//a6uAyxxU/PvkVYYsGU8=; b=qW0fp+HYO6CtoixijLJQKsqLxuQCb4rMms98xDPiNoauWKB4vEktSK3RNXf83zRVce qqXVHoaFNtG/PLaxmbLnd5QxZAP/TphnWNtm3HLxV1NfAwaK2jAAJHlQwOxCr4TlyhsV iuH2I4CITHU0wvZUVUnVizKSkQEhE6IPXol798bqT4O3jYcDDU8kXm66uP6PzEWKKbqa UqphxTmg07lvzzz3QftiC3h8sy/ECXl1PGBU0oO1kGbkvApScdbgpPai5JC1+cXz2JMh vF5fvHy+4PiebN4DYo+hlOGM8ZozifqAocnXs6xm9uIUs4ySReFHVTEC1pHtXMzxI2H8 nqdQ== X-Received: by 10.66.231.104 with SMTP id tf8mr76869566pac.48.1395722219899; Mon, 24 Mar 2014 21:36:59 -0700 (PDT) Received: from morimoto-dell.gmail.com (49.14.32.202.bf.2iij.net. [202.32.14.49]) by mx.google.com with ESMTPSA id ha2sm38747680pbb.8.2014.03.24.21.36.57 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Mon, 24 Mar 2014 21:36:59 -0700 (PDT) Date: Mon, 24 Mar 2014 21:36:59 -0700 (PDT) Message-ID: <874n2mdhco.wl%kuninori.morimoto.gx@gmail.com> From: Kuninori Morimoto Subject: [PATCH 3/7] ARM: shmobile: r8a7778: add R-Car sound support on DTSI User-Agent: Wanderlust/2.14.0 Emacs/23.3 Mule/6.0 To: Simon Cc: Magnus , linux-sh@vger.kernel.org, Kuninori Morimoto In-Reply-To: <878urydhee.wl%kuninori.morimoto.gx@gmail.com> References: <87ior2dhp9.wl%kuninori.morimoto.gx@gmail.com> <878urydhee.wl%kuninori.morimoto.gx@gmail.com> MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") 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.3 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 This patch adds R-Car sound support on DTSI. R-Car sound driver requests SRU/SSI/ADG clocks, but, r8a7778 still doesn't support common clock yet. So, it can't probe without local hack at this point. Signed-off-by: Kuninori Morimoto --- arch/arm/boot/dts/r8a7778.dtsi | 54 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 54 insertions(+) diff --git a/arch/arm/boot/dts/r8a7778.dtsi b/arch/arm/boot/dts/r8a7778.dtsi index 3c6fab5..2581c70 100644 --- a/arch/arm/boot/dts/r8a7778.dtsi +++ b/arch/arm/boot/dts/r8a7778.dtsi @@ -232,4 +232,58 @@ #size-cells = <0>; status = "disabled"; }; + + rcar_sound: rcar_sound@0xffd90000 { + #sound-dai-cells = <1>; + compatible = "renesas,rcar_sound-r8a7778", "renesas,rcar_sound-gen1", "renesas,rcar_sound"; + interrupt-parent = <&gic>; + reg = <0xffd90000 0x1000>, /* SRU */ + <0xfffe0000 0x100>, /* ADG */ + <0xffd91000 0x1240>; /* SSI */ + + status = "disabled"; + + rcar_sound,src { + src0: src@0 { }; + src1: src@1 { }; + src2: src@2 { }; + src3: src@3 { }; + src4: src@4 { }; + src5: src@5 { }; + src6: src@6 { }; + src7: src@7 { }; + src8: src@8 { }; + }; + + rcar_sound,ssi { + ssi0: ssi@0 { + interrupts = <0 101 IRQ_TYPE_LEVEL_HIGH>; + }; + ssi1: ssi@1 { + interrupts = <0 101 IRQ_TYPE_LEVEL_HIGH>; + }; + ssi2: ssi@2 { + interrupts = <0 101 IRQ_TYPE_LEVEL_HIGH>; + }; + ssi3: ssi@3 { + interrupts = <0 101 IRQ_TYPE_LEVEL_HIGH>; + }; + ssi4: ssi@4 { + interrupts = <0 101 IRQ_TYPE_LEVEL_HIGH>; + }; + ssi5: ssi@5 { + interrupts = <0 102 IRQ_TYPE_LEVEL_HIGH>; + }; + ssi6: ssi@6 { + interrupts = <0 102 IRQ_TYPE_LEVEL_HIGH>; + }; + ssi7: ssi@7 { + interrupts = <0 102 IRQ_TYPE_LEVEL_HIGH>; + }; + ssi8: ssi@8 { + interrupts = <0 102 IRQ_TYPE_LEVEL_HIGH>; + }; + }; + }; + };