From patchwork Tue Jul 24 12:52:29 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jerome Brunet X-Patchwork-Id: 10542135 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 095E2180E for ; Tue, 24 Jul 2018 12:57:07 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id EB5952874A for ; Tue, 24 Jul 2018 12:57:06 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id DF0C2287AC; Tue, 24 Jul 2018 12:57:06 +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=unavailable 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 8E7842874A for ; Tue, 24 Jul 2018 12:57:06 +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=oM8y9kaCMFipr9vQV/kcoqF20nGoj1HP0ddwz5lt8oM=; b=PUye1zW3qp+XDpB7atahTmcXbv uJkdULMySYmE/3GQEnXy/BdqyIb4xjILH8nhI7/5f/CQArjty6oJTyH5S2eaWlVaQc0D5Je21K3Ik s8tY9s6RHMSJVkKPEVlrJPjqHEU/Ksw+DFJoIGEuUdmWAxvjrbs/Txv13DHFlHkcjXFOmiARfoBng W4Qqry+09T0ASS3v+c0jfKi5EUKWWHn1jAJMmB0rQgoqxEFX507levEMcYJTCypnSHSFvcsU1ARId RbkBHVk3vYsgByfrkDnIq+zTOxTQMPJ6dU5e3ge4LBwV/josa9k/wx9cVNo0Yf9DZY+qlYMAAIPOG ELbok5Tg==; 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 1fhws6-0001i5-VE; Tue, 24 Jul 2018 12:56:58 +0000 Received: from mail-wr1-x444.google.com ([2a00:1450:4864:20::444]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fhwoL-0005Fy-Cm for linux-arm-kernel@lists.infradead.org; Tue, 24 Jul 2018 12:53:12 +0000 Received: by mail-wr1-x444.google.com with SMTP id c13-v6so4052211wrt.1 for ; Tue, 24 Jul 2018 05:52:57 -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=s2BTI8uCMgzn7Pm+aC1/UqH+TlJWfGQBNvuxxj87VzU=; b=CksN68V8puH0rrAa6sVVYNvMZ3UixRTIo3HBQGs+aTGaAYklJD6vbvuo8mjUPPvozw JATSPvn50+mVTSXnLIRzI1lGEmcKAr3pVt+KW+GUOSSaivKDqz5akhWxaubtoUajfN5q +UW6xn+A32fV9IQSEYGYU38guiL+SCunlYiEIt4CdPy9NnUrKQSgeJz9p2kPN7cyCAoV XRFkvwCm5A6tivI38duZUyeBUzKXaNZ9doki4CJQFtPeuZSOUecR8mFBakch5LAM0qfk rw9dVsJ9/A2xoE3etFRT6BT7X/Xfz0pGfsLgp93iu8DV0o2Qm7KYSZoej8Az9NoXgXMt 7pcg== 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=s2BTI8uCMgzn7Pm+aC1/UqH+TlJWfGQBNvuxxj87VzU=; b=KJE87ZTedJJjdX+BMpa6jSj+5ocXKmCDyW1LkNUpKeLAkz/UgWiNtTmxg3tWavEC6U v2KtJD/X5mE0Ojlfg3EYCSN8uqi9m5ZR73/YxzgbZAeQF90EDG5wXpBzYJZp+dd3JZg1 4fNi7SGpN8J4TjU5QoeeoPBZL0BAxdsoLvB7i6spLGEX2H9ID5WoLuh0Gr6eUPjhHma7 oIASQyJaI5VrEN8ga1O69Ji6uuNIYPOZs45UWOoFeCBOWCwydy8XmWpC/i+957XEkvqi L53MuRCR5wVXHcXC/jE7qQXBJwZxjmOXFMbKfeovld0D3qZXzMXIyG4S0ua+uT07cSje 21fw== X-Gm-Message-State: AOUpUlH/nQz69hwmhUG2cv0Ai+t8l5sCi6xdPjcMz3O2aP/Y4rc8k+r3 Z249cTMrzYFlWeEDNe51cIsibQ== X-Google-Smtp-Source: AAOMgpe1pQltfKXKLIJF9nTLdyYD4NYhcJcHFRd2Hku6/Q0Wb1BS7aKsmywK35aS7+3m5o5teX6gWA== X-Received: by 2002:adf:adc9:: with SMTP id w67-v6mr11098671wrc.135.1532436776142; Tue, 24 Jul 2018 05:52:56 -0700 (PDT) Received: from boomer.lan (cag06-3-82-243-161-21.fbx.proxad.net. [82.243.161.21]) by smtp.googlemail.com with ESMTPSA id e7-v6sm20834235wrm.14.2018.07.24.05.52.55 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 24 Jul 2018 05:52:55 -0700 (PDT) From: Jerome Brunet To: Kevin Hilman , Carlo Caione Subject: [PATCH 05/14] arm64: dts: meson-axg: add audio fifos Date: Tue, 24 Jul 2018 14:52:29 +0200 Message-Id: <20180724125238.14567-6-jbrunet@baylibre.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180724125238.14567-1-jbrunet@baylibre.com> References: <20180724125238.14567-1-jbrunet@baylibre.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180724_055305_446878_3181D92C X-CRM114-Status: GOOD ( 12.15 ) 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-kernel@vger.kernel.org, Philipp Zabel , linux-amlogic@lists.infradead.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 --- Kevin, As you will see below, this patch depends on the ARB reset bindings which have been accepted by Philip recently. Cheers Jerome 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 3893c630d969..a20189844d92 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"; @@ -190,6 +191,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>;