From patchwork Wed Aug 1 13:40:31 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jerome Brunet X-Patchwork-Id: 10552339 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 CF12313BF for ; Wed, 1 Aug 2018 13:41:33 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id BBBBE2B3FB for ; Wed, 1 Aug 2018 13:41:33 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id AF2292B4B4; Wed, 1 Aug 2018 13:41:33 +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=-2.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI 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 47B5E2B3FB for ; Wed, 1 Aug 2018 13:41:33 +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:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id: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=TrtTypE0W1fvaRqkjLLfqaeZZAYl2gUcw2051vwCimU=; b=XM+o7E2FXsRC4mZygKaVC8WjT4 GYd14G8kgl/kjXB1covi9dNn6T7a1n5O4YqU9mYtX4zN/Cmd92mHs14+PzNNQnciEth09IZ7JKa8K ZWZbmYNttvnDeLEOiqb2GZG/7Agqv7QQV+51kAH3LcjwnH9XsHOCqnOE3b301YiuDRKKsYCKOsUo1 aNR+jtLIW1SO64F9TrdiHWFGTCKtpwAllHfnlVEnPG7UZ7nU1OARNI0f4DhJFMClkiwBiGdUbhyno iytu7HiwU2rYmch9ctDnb7ngCFaRPHhQ7o7kwW9z27O4CAv0+LFAEbtfEyEvKs/ViyO0KyW1OlRe1 nUSQvYqg==; 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 1fkrNY-0000wx-DU; Wed, 01 Aug 2018 13:41:28 +0000 Received: from mail-wm0-x242.google.com ([2a00:1450:400c:c09::242]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fkrNB-0000Qp-85 for linux-arm-kernel@lists.infradead.org; Wed, 01 Aug 2018 13:41:08 +0000 Received: by mail-wm0-x242.google.com with SMTP id w24-v6so5628706wmc.1 for ; Wed, 01 Aug 2018 06:40:54 -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; bh=/E6fIhRE3dLA0i5nGkTLVuoWqI+hiTTn/S57jEQ7FPM=; b=eHeCVeTCpLc18rtYN6sJSHW65vAsUq2yAW/vZXg0CnQ2CbXJ8wUBNBOB3em+Nf16Lt nZ8KTuHzugCQ7kTzxL6CaFIg8cvqYpvcyQlyJMiDOOZUAdwqnk/Opg9J7KCUWOFIWouG Eb6ySdBrDqog2R6O2aXjGJD0O0OcMf1rPWbcxY+nNL2KpAWnVLOnURYvf8Zqy4BL3kTV p2TY/2G72s2zg0ugUk7sq2/bYj/m5yW9h9/5ZfUWMV/cY/wM4p46CNnvIKiapFOucCBP slbLsn8J8bpcqiJFk8jxBz14v7Fy9LAXGDyCEo451qjLmFR7oIWpMJ2e4lVrPKePb8lD AtyA== 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; bh=/E6fIhRE3dLA0i5nGkTLVuoWqI+hiTTn/S57jEQ7FPM=; b=tTrTdKd1D1URYCxwYM830/l7WLLgBBlG5xpq9Bwuze/XNBsBItKMnaNuxEzgCgfYi5 rHkeXUcBOw3PbKYlTffjoSKKMgK9aJfPB21nUNcJoXTS+NQmfdM2iwpqZaH5f3+hdN1n XyQnMeH1WS3Zm5fdSqrtzS7f1klpjmTlten5zrEojO9F/LG049gZ8eRK+axi0oTP3uvb 2EpwdZCJZmjfY0IzGrwUqR8eGtuOlbECo8+dyJbKGgpF03yZzc8Tny+HjSvKkpCjhTln hS5C6lfaqs0CuyA4qaZMpkAUD6HKVHiMDFStSW3qAJ3EeXT8uCvG5eEMQo4TBB9Inx+S lClQ== X-Gm-Message-State: AOUpUlH/Ib7QC18CIlOvUmui2Fs+hyQ6L+h/rocOzFZw7oQHVw6+dxLZ MIUHNNh83ZxZGuG+OVYiXw0qcmlWlgM= X-Google-Smtp-Source: AAOMgpc37eiIlSHtt9DOaTGxGFQbZOnfFOkUA2290aaCumaA/dxC9KFuSmLcwDpoeSmcwyoeDqydrA== X-Received: by 2002:a1c:8313:: with SMTP id f19-v6mr2677438wmd.144.1533130853495; Wed, 01 Aug 2018 06:40:53 -0700 (PDT) Received: from boomer.baylibre.local ([90.63.244.31]) by smtp.googlemail.com with ESMTPSA id f8-v6sm24347080wrj.9.2018.08.01.06.40.52 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 01 Aug 2018 06:40:52 -0700 (PDT) From: Jerome Brunet To: Kevin Hilman , Carlo Caione Subject: [PATCH v2 1/3] arm64: dts: meson-axg: add audio fifos Date: Wed, 1 Aug 2018 15:40:31 +0200 Message-Id: <20180801134033.21739-2-jbrunet@baylibre.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180801134033.21739-1-jbrunet@baylibre.com> References: <20180801134033.21739-1-jbrunet@baylibre.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180801_064105_324653_A903A809 X-CRM114-Status: GOOD ( 12.64 ) X-BeenThere: linux-arm-kernel@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-amlogic@lists.infradead.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Jerome Brunet MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Add TODDR and FRDDR audio fifos of the AXG SoC. These fifos are the capture and playback memory interfaces of audio subsystem of the AXG. Signed-off-by: Jerome Brunet --- arch/arm64/boot/dts/amlogic/meson-axg.dtsi | 67 ++++++++++++++++++++++ 1 file changed, 67 insertions(+) diff --git a/arch/arm64/boot/dts/amlogic/meson-axg.dtsi b/arch/arm64/boot/dts/amlogic/meson-axg.dtsi index c518130e5ce7..32f6dcacc2bc 100644 --- a/arch/arm64/boot/dts/amlogic/meson-axg.dtsi +++ b/arch/arm64/boot/dts/amlogic/meson-axg.dtsi @@ -11,6 +11,7 @@ #include #include #include +#include / { compatible = "amlogic,meson-axg"; @@ -223,6 +224,72 @@ resets = <&reset RESET_AUDIO>; }; + toddr_a: audio-controller@100 { + compatible = "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,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,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,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,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,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 { compatible = "amlogic,meson-axg-audio-arb"; reg = <0x0 0x280 0x0 0x4>;