From patchwork Fri Apr 12 12:51:32 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jerome Brunet X-Patchwork-Id: 10898215 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 2C8FC922 for ; Fri, 12 Apr 2019 12:52:31 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 09C9B28D7D for ; Fri, 12 Apr 2019 12:52:31 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id F245928D83; Fri, 12 Apr 2019 12:52:30 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 88BCB28D7D for ; Fri, 12 Apr 2019 12:52:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=yUG+a/Wn7e/B0Olttq5iSF5/fVshZ52UiVYRAlBQOlI=; b=QglCUxJb9c2zm/ em09WIpRuxjUhiC/KP9NYYKrUBJsdCvOQSEB37DI8/tw/dsp3iKzuX4dKn+bbQC17A/yS7hkUss1D oE9whVHjll0IpR0sgG1RQ0cUe8JSKjDMtjhf9NwBu08aQVP2jzCk1DRQeSYbuQVJp4bI8xK9tkNQy vGGlYZJue6b1Ejfm6h/euAedUpH8g0JYI1wiF77ptu7ERhp1E2dMW1knkY4YLwxRAzfw/eWY1DwqY sY3lLGN0SaMHB+AQftuKzxsNbAeS1tFtpfxT2B2CErEyg2xU/mcSOJE1GZeTVWLi26y/T2VwQ5IgN +IOybakxYhcvBcyfOjKw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1hEvfQ-0003aA-LR; Fri, 12 Apr 2019 12:52:28 +0000 Received: from mail-wm1-x341.google.com ([2a00:1450:4864:20::341]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1hEver-0002rf-0J for linux-amlogic@lists.infradead.org; Fri, 12 Apr 2019 12:51:58 +0000 Received: by mail-wm1-x341.google.com with SMTP id v14so10886879wmf.2 for ; Fri, 12 Apr 2019 05:51:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=YRXN73rwWK7CxJS5YgF/viBNttH7xk5Xg8WuUiR1Q98=; b=WrGfFosqO0n7rEE40N73YryU8iFNP4iRBITt3YmVUm792V7uyVg3WjTshSr6oahWAG JSSPUV4hd9N5tdvVtJVayS4CtKk6bhb7iq7VQkrIXLH1o5acrcknPopFqyCjeL/HVYlH 9B9RuK6K4tI0LcY3j5WEgQ0V5vo0folNfv8LgMIInHmcsZYV4ysTCMJvBdZRmu+fqqF2 pIsIteOPGE77BfzmoNnUYuA3y3kraQYtyu6RtDL7041EWy4cwN0pjf4xwzpyhGDXrQGx zUeWJJ2Cs1R/UdZhGGWvblPPRlphv/AJJFWevRAS/0RgSUygrGMyLvTFdT+zqINFGKub dw3w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=YRXN73rwWK7CxJS5YgF/viBNttH7xk5Xg8WuUiR1Q98=; b=Sg+8Mx7nzH1J5TECfULTzWs78lEHkrKCbGZGBhUWtutow95/5ys9/MLuOMtYfSd8Ze mJaPZ/1tMEmo76t6k0mHEjHVm6ern7yO238Z5dFC7qJguXKatn40yXBdSQahwi5ldzD+ 1fDEyqKW4QA9qS2ZIZd9FhYEQ6q5Ye8u1kUb88vNTmipElnrEije5SX7ZfR0zTs891pY jHC5bP+RNtCIhlBKyRQMtdpkeRFwvUt8TJGmiRZ7c9hcIo1Pk1Ugt+uVmPMupBm5iTZd upR93zxuWv/ID21KSKi4wd/gq1+VbE2J+qFju5lz2SoWsNQ00P26kRDtxlJPJpJDIhM4 VzEg== X-Gm-Message-State: APjAAAVa6lbUyfOlKClzPIhK8QoD3zoQqVUn7ltD0NYaAWIavCCbnjZt +fbjsX6z9lqwkRcI0PZQsFIC9w== X-Google-Smtp-Source: APXvYqxZ+Ot91QIi1v9U3unqQLTOKOXCqVZi0nLR8Cl7uBCMgWcgWg44ZpyZRAlgKW0RWNYWd+lDxA== X-Received: by 2002:a1c:1d97:: with SMTP id d145mr10608459wmd.136.1555073511533; Fri, 12 Apr 2019 05:51:51 -0700 (PDT) Received: from boomer.baylibre.com ([2a01:e34:eeb6:4690:106b:bae3:31ed:7561]) by smtp.googlemail.com with ESMTPSA id b3sm42049702wrx.57.2019.04.12.05.51.50 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 12 Apr 2019 05:51:50 -0700 (PDT) From: Jerome Brunet To: Kevin Hilman Subject: [PATCH 3/7] arm64: dts: meson: g12a: add audio fifos Date: Fri, 12 Apr 2019 14:51:32 +0200 Message-Id: <20190412125136.28232-4-jbrunet@baylibre.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190412125136.28232-1-jbrunet@baylibre.com> References: <20190412125136.28232-1-jbrunet@baylibre.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190412_055153_351174_474AE88A X-CRM114-Status: UNSURE ( 9.64 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-amlogic@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, patchwork-bot+notify@kernel.org, linux-amlogic@lists.infradead.org, linux-arm-kernel@lists.infradead.org, Jerome Brunet Sender: "linux-amlogic" Errors-To: linux-amlogic-bounces+patchwork-linux-amlogic=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Add the capture and playback audio fifos (DMA) of the g12a SoCs. Signed-off-by: Jerome Brunet --- arch/arm64/boot/dts/amlogic/meson-g12a.dtsi | 73 +++++++++++++++++++++ 1 file changed, 73 insertions(+) diff --git a/arch/arm64/boot/dts/amlogic/meson-g12a.dtsi b/arch/arm64/boot/dts/amlogic/meson-g12a.dtsi index b2acece1b66b..18f7d5af7dae 100644 --- a/arch/arm64/boot/dts/amlogic/meson-g12a.dtsi +++ b/arch/arm64/boot/dts/amlogic/meson-g12a.dtsi @@ -8,6 +8,7 @@ #include #include #include +#include #include / { @@ -240,6 +241,78 @@ resets = <&reset RESET_AUDIO>; }; + toddr_a: audio-controller@100 { + compatible = "amlogic,g12a-toddr", + "amlogic,axg-toddr"; + reg = <0x0 0x100 0x0 0x1c>; + #sound-dai-cells = <0>; + sound-name-prefix = "TODDR_A"; + interrupts = ; + clocks = <&clkc_audio AUD_CLKID_TODDR_A>; + resets = <&arb AXG_ARB_TODDR_A>; + status = "disabled"; + }; + + toddr_b: audio-controller@140 { + compatible = "amlogic,g12a-toddr", + "amlogic,axg-toddr"; + reg = <0x0 0x140 0x0 0x1c>; + #sound-dai-cells = <0>; + sound-name-prefix = "TODDR_B"; + interrupts = ; + clocks = <&clkc_audio AUD_CLKID_TODDR_B>; + resets = <&arb AXG_ARB_TODDR_B>; + status = "disabled"; + }; + + toddr_c: audio-controller@180 { + compatible = "amlogic,g12a-toddr", + "amlogic,axg-toddr"; + reg = <0x0 0x180 0x0 0x1c>; + #sound-dai-cells = <0>; + sound-name-prefix = "TODDR_C"; + interrupts = ; + clocks = <&clkc_audio AUD_CLKID_TODDR_C>; + resets = <&arb AXG_ARB_TODDR_C>; + status = "disabled"; + }; + + frddr_a: audio-controller@1c0 { + compatible = "amlogic,g12a-frddr", + "amlogic,axg-frddr"; + reg = <0x0 0x1c0 0x0 0x1c>; + #sound-dai-cells = <0>; + sound-name-prefix = "FRDDR_A"; + interrupts = ; + clocks = <&clkc_audio AUD_CLKID_FRDDR_A>; + resets = <&arb AXG_ARB_FRDDR_A>; + status = "disabled"; + }; + + frddr_b: audio-controller@200 { + compatible = "amlogic,g12a-frddr", + "amlogic,axg-frddr"; + reg = <0x0 0x200 0x0 0x1c>; + #sound-dai-cells = <0>; + sound-name-prefix = "FRDDR_B"; + interrupts = ; + clocks = <&clkc_audio AUD_CLKID_FRDDR_B>; + resets = <&arb AXG_ARB_FRDDR_B>; + status = "disabled"; + }; + + frddr_c: audio-controller@240 { + compatible = "amlogic,g12a-frddr", + "amlogic,axg-frddr"; + reg = <0x0 0x240 0x0 0x1c>; + #sound-dai-cells = <0>; + sound-name-prefix = "FRDDR_C"; + interrupts = ; + clocks = <&clkc_audio AUD_CLKID_FRDDR_C>; + resets = <&arb AXG_ARB_FRDDR_C>; + status = "disabled"; + }; + arb: reset-controller@280 { status = "disabled"; compatible = "amlogic,meson-axg-audio-arb";