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: 10898217 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 6C13517E0 for ; Fri, 12 Apr 2019 12:52:39 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 5055928D7D for ; Fri, 12 Apr 2019 12:52:39 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 441C728D83; Fri, 12 Apr 2019 12:52:39 +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=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 E4E8B28D7D for ; Fri, 12 Apr 2019 12:52:38 +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=znk3GyoJTwMNWCqgejjFVwAktfIJp7J5cDrISnZ0Xuc=; b=LX8dAf98YDRAoi ahXlsVzjB6zMbx/LXS4BnHQEjskOCcyD7Y7/BdvV6cJKEEoNUHIwQuwbYP2QSJmuvhhR6NZxLSJPM rG9JIKIz8pMC7V0dC0F62UAwNsEw8hEu/oS4Dx/LBkvwaTR3R8N0JeYEI0QQpYe+Vit+7CQasQSxb OzJfZYJgLYeG/6760BO7KEvf6TMXG7CyM/vM494vN/9K+PTFsAsZDDBqi/stw6x8wQ2sImwCx4eff 0C/E3ZBds6YB4QEMVP2IFkhz3RKOl+nU0r/NKVLj9ce+57/ObKLSf34SkTZQlhj6fh8XWFNwdvD4Z IDLwsavazbK+ySukYz/w==; 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 1hEvfU-0003co-S6; Fri, 12 Apr 2019 12:52:32 +0000 Received: from mail-wm1-x344.google.com ([2a00:1450:4864:20::344]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1hEver-0002rg-0H for linux-arm-kernel@lists.infradead.org; Fri, 12 Apr 2019 12:51:59 +0000 Received: by mail-wm1-x344.google.com with SMTP id w15so10882872wmc.3 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=rXrl+EV+aJAzztS3UVNdGmOtV6c1CR8N1tjkohuOn/8ICSAqB8lKWBSM+U6jlcLAHG pYxtMoEFbJEK/ZQ7dgMZxEpOtTgKE8014iVuNj/p7N0eTQZQ99TqDn74Ql8txM7Sr3+/ Wsi5i+0oHljK5PGFzyNY/Rul9DPqrBEpjzEqIPFuf+3XCnOUdooAuCDkPlTsfcbDtfvb 5PRtiFwe/pk099WH6DT6gWWul9bEQjpqzmZvsDfJEX3njx7V3lipiCbY5LBcjPD4+Zqh vfHZXSEg7tgW2hl9mj8+l4+lW4Qxy5+Pag/maJxjHfflaXExCqNQkAwh+CGtyuoTMUnz zBew== X-Gm-Message-State: APjAAAViWvVB7tCUxDdVZ5bshbaL9ZEa/VIW/QawzgmTLn5wjzhwIwAP 9Q4ipq6POlXVV+rJQmsQ9494Kg== 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_378024_7D3CED30 X-CRM114-Status: GOOD ( 11.08 ) 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, patchwork-bot+notify@kernel.org, linux-amlogic@lists.infradead.org, linux-arm-kernel@lists.infradead.org, Jerome Brunet 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 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";