From patchwork Fri Apr 12 12:51:30 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jerome Brunet X-Patchwork-Id: 10898209 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 45169922 for ; Fri, 12 Apr 2019 12:52:12 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 25A3B28D89 for ; Fri, 12 Apr 2019 12:52:12 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 19A7E28D91; Fri, 12 Apr 2019 12:52:12 +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 C061028D89 for ; Fri, 12 Apr 2019 12:52:11 +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=C+lbwmmXqh6AGBwpO/lW6uTNwTeRxc0NJiQXmT7FpmY=; b=E/cCKPsbeEFKa0 Va1jvNt+0NRf291oC9NT00anQ4nTsZk0wHeZ9nPguap5kPog7TJAhQFyLL8+bk5WScU4fw39Kbgdf fqvL0IYNUeV/zW0EzC/E39rzY6wvEPmC6BPL33VM+2KA7JjjZEgE3ld9Udq/mCLd8Cj5Ey40yU/QI TyW0nSxFICurqGNO0uVpbZcMbR/xhGqLBF/JjxXEexDKhxUqSbbRfnmdOGKrpdlWtj1907moAgmsq OzJ7kbxjtSt05mfTwJKWNf5/PrLHl16qCEiXx3YgTMrc1GOtSWt1Axlf6XNPK7l0bO7H5iARtzUrg 9vuo+GL96J0X3bNHQw0Q==; 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 1hEvf7-0003Bw-V2; Fri, 12 Apr 2019 12:52:09 +0000 Received: from mail-wr1-x443.google.com ([2a00:1450:4864:20::443]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1hEven-0002qC-Rc for linux-arm-kernel@lists.infradead.org; Fri, 12 Apr 2019 12:51:51 +0000 Received: by mail-wr1-x443.google.com with SMTP id k11so11813943wro.5 for ; Fri, 12 Apr 2019 05:51:49 -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=pD/ha1o6xuuVhzSZWIPaFNtC4/6La9+pE80liTrfGdE=; b=wKIzkJkJ1lUE+QbaeCtOMd1B8P8cFTBCdaIFNAXADJ+vHY3yVSwLaa4P+9ANa6hZ1W nwgZJnhZxPBXqBoUt7QgV6HeNNiNMdsHP3EDrxMj/PVqOpkdmYuKzpK1FYybttWQwLMX Yym2l14aXy7blpoLTzcdpiw9IowoFnPKmQkr/ICIipVRtRxC9QablDJr7rJqGsuVFnks bzuDNOPDFJ+TmKgy5MFoBF+uzUbiVCbO2KKov9ZDuRoXWpArUr4sBk4PoKXvgfSbF3ws m7MZl6FF1WVf6t3ur/pPsaozmHw+wmTWXox0jwMIYPfkEbw/Hubs1FZ3r+W5CaRMSH4O YZMQ== 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=pD/ha1o6xuuVhzSZWIPaFNtC4/6La9+pE80liTrfGdE=; b=K7en0QYEwugIudCmHwlfrAnX+GOapLLAB5AJVcBLYVJWHPSQpowo4w2fnax5iLT47p J6mhmZ9sGlXHO67bGH8AErihlVYBFo6XUch18N6qJxxVExI1RG6FJqpdqp7TTVk3gYoX UHHyXisQIE211g2oxmaFCTvgsH7dlcJrxlov6IJvQqp9jFollUMwvun5oCYTvB1KHA0S v6EfDiL9oyvviaKAhJKOHGN1/446JPk2FXZMtaiTw8uSY/1VGRwm8CfHgwPzX53/2Agy i5qbd+rRRW8Nn1FXfoecLcsQnKpG2HDZgPuHZPL/p86mx2Kun95Ed9bCza8MYp4OUz0c NA5w== X-Gm-Message-State: APjAAAWGr2q1IqMSIvxynKEltSf8L+3T4j9ZVesmZJQIlk7j/XhtXiNP HMVluyIFsT3EoMt1q2J2UxKUVwcx4wk= X-Google-Smtp-Source: APXvYqz8A36P9ZWbN4122tC3oJ0vZQQEooXHFzHbMajUhOclVDtOFX2+hq6RxAvjq57thiJ3WD3ipw== X-Received: by 2002:adf:e9c1:: with SMTP id l1mr26023039wrn.270.1555073508457; Fri, 12 Apr 2019 05:51:48 -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.47 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 12 Apr 2019 05:51:47 -0700 (PDT) From: Jerome Brunet To: Kevin Hilman Subject: [PATCH 1/7] arm64: dts: meson: g12a: add audio clock controller Date: Fri, 12 Apr 2019 14:51:30 +0200 Message-Id: <20190412125136.28232-2-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_055149_889528_8CC00C17 X-CRM114-Status: GOOD ( 11.30 ) 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 controller dedicated to audio clocks found on the g12a SoC. Signed-off-by: Jerome Brunet --- arch/arm64/boot/dts/amlogic/meson-g12a.dtsi | 37 +++++++++++++++++++++ 1 file changed, 37 insertions(+) diff --git a/arch/arm64/boot/dts/amlogic/meson-g12a.dtsi b/arch/arm64/boot/dts/amlogic/meson-g12a.dtsi index d6ca0bbd8f74..1ab2a77b01eb 100644 --- a/arch/arm64/boot/dts/amlogic/meson-g12a.dtsi +++ b/arch/arm64/boot/dts/amlogic/meson-g12a.dtsi @@ -7,6 +7,7 @@ #include #include #include +#include / { compatible = "amlogic,g12a"; @@ -202,6 +203,42 @@ }; }; }; + + audio: bus@42000 { + compatible = "simple-bus"; + reg = <0x0 0x42000 0x0 0x2000>; + #address-cells = <2>; + #size-cells = <2>; + ranges = <0x0 0x0 0x0 0x42000 0x0 0x2000>; + + clkc_audio: clock-controller@0 { + status = "disabled"; + compatible = "amlogic,g12a-audio-clkc"; + reg = <0x0 0x0 0x0 0xb4>; + #clock-cells = <1>; + + clocks = <&clkc CLKID_AUDIO>, + <&clkc CLKID_MPLL0>, + <&clkc CLKID_MPLL1>, + <&clkc CLKID_MPLL2>, + <&clkc CLKID_MPLL3>, + <&clkc CLKID_HIFI_PLL>, + <&clkc CLKID_FCLK_DIV3>, + <&clkc CLKID_FCLK_DIV4>, + <&clkc CLKID_GP0_PLL>; + clock-names = "pclk", + "mst_in0", + "mst_in1", + "mst_in2", + "mst_in3", + "mst_in4", + "mst_in5", + "mst_in6", + "mst_in7"; + + resets = <&reset RESET_AUDIO>; + }; + }; }; aobus: bus@ff800000 { From patchwork Fri Apr 12 12:51:31 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jerome Brunet X-Patchwork-Id: 10898213 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 B9FBF922 for ; Fri, 12 Apr 2019 12:52:21 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 9D3BA28D83 for ; Fri, 12 Apr 2019 12:52:21 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 9199628D8C; Fri, 12 Apr 2019 12:52:21 +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 3646128D83 for ; Fri, 12 Apr 2019 12:52:21 +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=fxjHFdILvIuMLu//vx+b0xat7ZwrLRydj0yNbXhidLY=; b=rr+XsThD5lQSKS YGa5fKhbUbhWX3ZM0n9m/wEk8MmT291dMo5/cHhTuUThTtV86IqI9nZ5V7lyQhtxwFIFCr0ZjuYj8 PfAgh1m3ocyFo9CHKvFH48b3aOuPv/IbK15Asm2McVVmANVBM62ac72UODr7ydi+VwSxifjWsn5/h ja9paUWIFagllOgcPH2DB2GSXFO6NdmvSmLS1a7TTFGvv6LUhQ8ELAheDmvyWQv1m+DB6gEhjqx0/ yIw044eUDP2Hk9tgM8ls0mCPJEhRvqlQDbIAd9MDXaeg/bKeMLfubYb+deXYMxFTD2Bd7aPZ0usZY OjS1L1yg/EQuqBBLb6WA==; 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 1hEvfH-0003N2-A5; Fri, 12 Apr 2019 12:52:19 +0000 Received: from mail-wm1-x342.google.com ([2a00:1450:4864:20::342]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1hEvep-0002qp-Fm for linux-arm-kernel@lists.infradead.org; Fri, 12 Apr 2019 12:51:53 +0000 Received: by mail-wm1-x342.google.com with SMTP id c1so11084603wml.4 for ; Fri, 12 Apr 2019 05:51:51 -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=LyEpL17LgBNZeGjq/1bCg8MXLn3ABQcKDag1wbyqyFQ=; b=L6sPYtYcW2TpMtcF2CXTtyvSfab1PYutcI+IRWV06fe/fHjYd0kO0dxeElOFb2HO7M M6tYMDXWM7Dar2FshOm/ezWzIGBkkF6g6nZL3TGqRxXdHaNUsIInSwDhGCd4pWB4Uuo+ 9vtTQIVxtgM+GV9oM0/tNDr7s4wbqI0uuGQoeofInM/rBk6JURzCQrpvne96slZzyEcZ MH4Y2NARyZNHUryKkctOwDoKGbQO3QdxgAD5o0JTQZHgeRKRoDOMl4U7PPihKtBKUOQp msGVbJhN3qHOAonr7O0q3Zpik/HmJfuTlyEzi0MJL02uOA72cX0KCUYJPxt8BCmbP0l6 i80w== 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=LyEpL17LgBNZeGjq/1bCg8MXLn3ABQcKDag1wbyqyFQ=; b=JDIFZ2pFXB+3sygY7YaAkw7IVJElOOWlthksl66nYOEh0AfPmiXTANrsXfk+0jrWRl rWx9Nemj4sqLvOf07WvW3e0kQcpCwH22thoCSs4uYEfA/+6eLU/7157feYwqOR8PtM60 aayqyfFJY5p8lZlj0NA4Iw+vV7LoiOfu9lmhdJ+6jR51nP7t1Zfw3WJ6TyOkNZLN/mM+ NyR6N9h1v0+pKFKylScvmVFv2AEK55YncMipBKaNOeXggFTZjF+mRA/5vxGq5hdDZLPq lYBXIXvGp5YNn/LQcpgcRzTeW7TwCbQ6/ZQEJvP76bSeuuE/WK7dDEjufv1e+8rxbHTb qANw== X-Gm-Message-State: APjAAAUWHWBhg7Spsio0FC2+ACTTh50c6lUyzjg2csiwWlpGhlIaQLqO sg3xzObXkpkqkh48WB7zg/mmJA== X-Google-Smtp-Source: APXvYqzEGdtoEfCd85te0YIevixYWmQNLaY+2lAnWUA8HaoI4yIi7XkNcL10AdjISzwUjO+BWkGIiw== X-Received: by 2002:a1c:bd8b:: with SMTP id n133mr11154540wmf.73.1555073510078; Fri, 12 Apr 2019 05:51:50 -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.48 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 12 Apr 2019 05:51:49 -0700 (PDT) From: Jerome Brunet To: Kevin Hilman Subject: [PATCH 2/7] arm64: dts: meson: g12a: add audio memory arbitrer Date: Fri, 12 Apr 2019 14:51:31 +0200 Message-Id: <20190412125136.28232-3-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_055151_702737_5E298C47 X-CRM114-Status: GOOD ( 10.10 ) 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 DDR memory arbitrer dedicated to audio subsystem of the g12a Signed-off-by: Jerome Brunet --- arch/arm64/boot/dts/amlogic/meson-g12a.dtsi | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/arch/arm64/boot/dts/amlogic/meson-g12a.dtsi b/arch/arm64/boot/dts/amlogic/meson-g12a.dtsi index 1ab2a77b01eb..b2acece1b66b 100644 --- a/arch/arm64/boot/dts/amlogic/meson-g12a.dtsi +++ b/arch/arm64/boot/dts/amlogic/meson-g12a.dtsi @@ -4,6 +4,7 @@ */ #include +#include #include #include #include @@ -238,6 +239,14 @@ resets = <&reset RESET_AUDIO>; }; + + arb: reset-controller@280 { + status = "disabled"; + compatible = "amlogic,meson-axg-audio-arb"; + reg = <0x0 0x280 0x0 0x4>; + #reset-cells = <1>; + clocks = <&clkc_audio AUD_CLKID_DDR_ARB>; + }; }; }; 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"; From patchwork Fri Apr 12 12:51:33 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jerome Brunet X-Patchwork-Id: 10898223 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 1FC5E17E0 for ; Fri, 12 Apr 2019 12:53:01 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id F0F9B28D7D for ; Fri, 12 Apr 2019 12:53:00 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id E55F028D83; Fri, 12 Apr 2019 12:53:00 +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 8305828D7D for ; Fri, 12 Apr 2019 12:53:00 +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=nnxuC9q2oOEqP17+J03wj/YjbQxwa+TKsJ62Cpzb6zM=; b=Al3BYV0x2sI0oW W6jD1QCt6JArjCEc+dIkO+HjieYZXURCIR5lRDj2hjYAvwwDWC0eRHaqrNlRexEqphVHFhj8If37l LnrjmjRP/hDDaUAu4op40JyBTAxAiFVJs6V1gHJt9U0H5l9WMLVFyPpkunhqpw/opWDMGO3Ny8uKE +sdk6Glx2kw8+2BJ6ect+23/bHpIIQKubajvDe/EZ3wLoUf34QNydZzdIPN/fS1UDlTU9w6bqwWlz qiZt9WCJQG2PAx/ZxdnKLQVRoCgJUudexPw/vgJtNUryNuXSLedNdr7a8BeNvGim0qxKNM7DkSHYP dN0ze88kh6z4mNCw/eWg==; 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-000464-QU; Fri, 12 Apr 2019 12:52:54 +0000 Received: from mail-wm1-x342.google.com ([2a00:1450:4864:20::342]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1hEves-0002tq-Q3 for linux-arm-kernel@lists.infradead.org; Fri, 12 Apr 2019 12:52:01 +0000 Received: by mail-wm1-x342.google.com with SMTP id q16so11093756wmj.3 for ; Fri, 12 Apr 2019 05:51: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 :mime-version:content-transfer-encoding; bh=qQKSrAozsbENhTZ6S3OHU0SyNZNFyQXAXzXFR3IFJvY=; b=zODMANuHrceM7wVHJE1vYFLTNr4tuxlssv2rouQOifD9bLvX1ZXzxzDmzsaD0Zy0U5 Rmd7jINYyED5FmMxdgNczZ6joC2jK22/cvSA8lLoUpqRd+FScNHLsYvtZU9n7AuiJOmU f9zts3GarrHiDbFJ9pyD6B1Zq4uS6N/uWzmo00xwacZvE1vUcaN+4cHaJFf+eQAkVeHB qz8B25m3GEOf27QFBamfbp2ZZ3AAJ8oE+kMWQEQcQ9bPIwgSF5mlTWiokqt4yhHH0Dil xxMIIbqDMtBGpelPDz85bWV03Sphv/3/pvM6iE9ifXJcqlMC2f6on+3HnhG2AvSopxmV nXlg== 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=qQKSrAozsbENhTZ6S3OHU0SyNZNFyQXAXzXFR3IFJvY=; b=adEtt63RONPEiBOLhOqEOyAa7dtk7kCeN5n8Q+79TuXb4UDI/rR1xenF/48S9MPfRt bANLFsMktHTgSpOSv+sANI2mPG82XWAnDclviB4oRYYoLoliHnuPwNLW7OGjzLf1UHY2 yWpgtyo719OnjG5QVln2uY3yaZ8E+ErniJFjMhUhs/HgOpw3n34QWSYSq1I3iqvFM01z /3dmsv84VfzuPZxTajfm6ANNsygEtB4S6xDCuPz5mCZ0hHETsNP2QFBZtu3FZE6w9aH2 dJdmLv5k0f/QKVeBifnWateuMpBwIBX8/6O0ck/sWL/DgASXe4DpeVxafqQXTWfUwwQ/ Jv8Q== X-Gm-Message-State: APjAAAUX+E26WPZJAfaC7VqkG5aIYbntVRKXl6A5/sjcmEEDBlz59U77 3pDqfb43l8jOfrHUENgXk34MDg== X-Google-Smtp-Source: APXvYqwIZWgFQJ1PWqMKDjYgCZL8xtId3mENkAYh4t0srd8wBB+lBtzpmWHMzRZQZzamVilD46xujg== X-Received: by 2002:a05:600c:2055:: with SMTP id p21mr10342654wmg.118.1555073513423; Fri, 12 Apr 2019 05:51:53 -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.51 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 12 Apr 2019 05:51:52 -0700 (PDT) From: Jerome Brunet To: Kevin Hilman Subject: [PATCH 4/7] arm64: dts: meson: g12a: add tdm devices Date: Fri, 12 Apr 2019 14:51:33 +0200 Message-Id: <20190412125136.28232-5-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_055155_289118_07CD3F16 X-CRM114-Status: GOOD ( 10.45 ) 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 tdm encoders, decoders and interfaces devices of the g12a SoC. Signed-off-by: Jerome Brunet --- arch/arm64/boot/dts/amlogic/meson-g12a.dtsi | 135 ++++++++++++++++++++ 1 file changed, 135 insertions(+) diff --git a/arch/arm64/boot/dts/amlogic/meson-g12a.dtsi b/arch/arm64/boot/dts/amlogic/meson-g12a.dtsi index 18f7d5af7dae..5f5b8c67df49 100644 --- a/arch/arm64/boot/dts/amlogic/meson-g12a.dtsi +++ b/arch/arm64/boot/dts/amlogic/meson-g12a.dtsi @@ -18,6 +18,39 @@ #address-cells = <2>; #size-cells = <2>; + tdmif_a: audio-controller-0 { + compatible = "amlogic,axg-tdm-iface"; + #sound-dai-cells = <0>; + sound-name-prefix = "TDM_A"; + clocks = <&clkc_audio AUD_CLKID_MST_A_MCLK>, + <&clkc_audio AUD_CLKID_MST_A_SCLK>, + <&clkc_audio AUD_CLKID_MST_A_LRCLK>; + clock-names = "mclk", "sclk", "lrclk"; + status = "disabled"; + }; + + tdmif_b: audio-controller-1 { + compatible = "amlogic,axg-tdm-iface"; + #sound-dai-cells = <0>; + sound-name-prefix = "TDM_B"; + clocks = <&clkc_audio AUD_CLKID_MST_B_MCLK>, + <&clkc_audio AUD_CLKID_MST_B_SCLK>, + <&clkc_audio AUD_CLKID_MST_B_LRCLK>; + clock-names = "mclk", "sclk", "lrclk"; + status = "disabled"; + }; + + tdmif_c: audio-controller-2 { + compatible = "amlogic,axg-tdm-iface"; + #sound-dai-cells = <0>; + sound-name-prefix = "TDM_C"; + clocks = <&clkc_audio AUD_CLKID_MST_C_MCLK>, + <&clkc_audio AUD_CLKID_MST_C_SCLK>, + <&clkc_audio AUD_CLKID_MST_C_LRCLK>; + clock-names = "mclk", "sclk", "lrclk"; + status = "disabled"; + }; + cpus { #address-cells = <0x2>; #size-cells = <0x0>; @@ -320,6 +353,108 @@ #reset-cells = <1>; clocks = <&clkc_audio AUD_CLKID_DDR_ARB>; }; + + tdmin_a: audio-controller@300 { + compatible = "amlogic,g12a-tdmin", + "amlogic,axg-tdmin"; + reg = <0x0 0x300 0x0 0x40>; + sound-name-prefix = "TDMIN_A"; + clocks = <&clkc_audio AUD_CLKID_TDMIN_A>, + <&clkc_audio AUD_CLKID_TDMIN_A_SCLK>, + <&clkc_audio AUD_CLKID_TDMIN_A_SCLK_SEL>, + <&clkc_audio AUD_CLKID_TDMIN_A_LRCLK>, + <&clkc_audio AUD_CLKID_TDMIN_A_LRCLK>; + clock-names = "pclk", "sclk", "sclk_sel", + "lrclk", "lrclk_sel"; + status = "disabled"; + }; + + tdmin_b: audio-controller@340 { + compatible = "amlogic,g12a-tdmin", + "amlogic,axg-tdmin"; + reg = <0x0 0x340 0x0 0x40>; + sound-name-prefix = "TDMIN_B"; + clocks = <&clkc_audio AUD_CLKID_TDMIN_B>, + <&clkc_audio AUD_CLKID_TDMIN_B_SCLK>, + <&clkc_audio AUD_CLKID_TDMIN_B_SCLK_SEL>, + <&clkc_audio AUD_CLKID_TDMIN_B_LRCLK>, + <&clkc_audio AUD_CLKID_TDMIN_B_LRCLK>; + clock-names = "pclk", "sclk", "sclk_sel", + "lrclk", "lrclk_sel"; + status = "disabled"; + }; + + tdmin_c: audio-controller@380 { + compatible = "amlogic,g12a-tdmin", + "amlogic,axg-tdmin"; + reg = <0x0 0x380 0x0 0x40>; + sound-name-prefix = "TDMIN_C"; + clocks = <&clkc_audio AUD_CLKID_TDMIN_C>, + <&clkc_audio AUD_CLKID_TDMIN_C_SCLK>, + <&clkc_audio AUD_CLKID_TDMIN_C_SCLK_SEL>, + <&clkc_audio AUD_CLKID_TDMIN_C_LRCLK>, + <&clkc_audio AUD_CLKID_TDMIN_C_LRCLK>; + clock-names = "pclk", "sclk", "sclk_sel", + "lrclk", "lrclk_sel"; + status = "disabled"; + }; + + tdmin_lb: audio-controller@3c0 { + compatible = "amlogic,g12a-tdmin", + "amlogic,axg-tdmin"; + reg = <0x0 0x3c0 0x0 0x40>; + sound-name-prefix = "TDMIN_LB"; + clocks = <&clkc_audio AUD_CLKID_TDMIN_LB>, + <&clkc_audio AUD_CLKID_TDMIN_LB_SCLK>, + <&clkc_audio AUD_CLKID_TDMIN_LB_SCLK_SEL>, + <&clkc_audio AUD_CLKID_TDMIN_LB_LRCLK>, + <&clkc_audio AUD_CLKID_TDMIN_LB_LRCLK>; + clock-names = "pclk", "sclk", "sclk_sel", + "lrclk", "lrclk_sel"; + status = "disabled"; + }; + + tdmout_a: audio-controller@500 { + compatible = "amlogic,g12a-tdmout"; + reg = <0x0 0x500 0x0 0x40>; + sound-name-prefix = "TDMOUT_A"; + clocks = <&clkc_audio AUD_CLKID_TDMOUT_A>, + <&clkc_audio AUD_CLKID_TDMOUT_A_SCLK>, + <&clkc_audio AUD_CLKID_TDMOUT_A_SCLK_SEL>, + <&clkc_audio AUD_CLKID_TDMOUT_A_LRCLK>, + <&clkc_audio AUD_CLKID_TDMOUT_A_LRCLK>; + clock-names = "pclk", "sclk", "sclk_sel", + "lrclk", "lrclk_sel"; + status = "disabled"; + }; + + tdmout_b: audio-controller@540 { + compatible = "amlogic,g12a-tdmout"; + reg = <0x0 0x540 0x0 0x40>; + sound-name-prefix = "TDMOUT_B"; + clocks = <&clkc_audio AUD_CLKID_TDMOUT_B>, + <&clkc_audio AUD_CLKID_TDMOUT_B_SCLK>, + <&clkc_audio AUD_CLKID_TDMOUT_B_SCLK_SEL>, + <&clkc_audio AUD_CLKID_TDMOUT_B_LRCLK>, + <&clkc_audio AUD_CLKID_TDMOUT_B_LRCLK>; + clock-names = "pclk", "sclk", "sclk_sel", + "lrclk", "lrclk_sel"; + status = "disabled"; + }; + + tdmout_c: audio-controller@580 { + compatible = "amlogic,g12a-tdmout"; + reg = <0x0 0x580 0x0 0x40>; + sound-name-prefix = "TDMOUT_C"; + clocks = <&clkc_audio AUD_CLKID_TDMOUT_C>, + <&clkc_audio AUD_CLKID_TDMOUT_C_SCLK>, + <&clkc_audio AUD_CLKID_TDMOUT_C_SCLK_SEL>, + <&clkc_audio AUD_CLKID_TDMOUT_C_LRCLK>, + <&clkc_audio AUD_CLKID_TDMOUT_C_LRCLK>; + clock-names = "pclk", "sclk", "sclk_sel", + "lrclk", "lrclk_sel"; + status = "disabled"; + }; }; }; From patchwork Fri Apr 12 12:51:34 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jerome Brunet X-Patchwork-Id: 10898221 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 A478717E1 for ; Fri, 12 Apr 2019 12:52:47 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 7FB0428D82 for ; Fri, 12 Apr 2019 12:52:47 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 7408B28D89; Fri, 12 Apr 2019 12:52:47 +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 1A4F528D82 for ; Fri, 12 Apr 2019 12:52:47 +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=ml4Wk3abcDmk56NYaCI5lVaiVDruhm3+qL3TzE4d2WI=; b=VugyU1TMCkqWWl EiTqln6Cop+c1G1wF3udHNvily1rp6dfBQoj8SncE9bAt/HBg9hcvuSBV6qN5wTBagNIpbyxV9JC9 FeHcn1+OnWel15ARZtsCk0pJTFe9p+oWEgJ9KxBqhTQOKOF6kndCDfcQAYgc84nTBQHArQsBIoCtg ZjK91OXaUOZPdFeBzgTvGUqwH6jAATzRlwByraR7lEySO+/tSi+v1S0kQe+0FuIYLBj6lcIW/Fb3n WQHEA+qsa5PTpka5ytwlzb84eNzHpku/ZEv0JQYaBtUywsBe88pivs4glrLQtIMayHUv2MbS4BmNZ 2Ea4OgjoNZbj5aB/khhQ==; 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 1hEvff-0003sl-Ii; Fri, 12 Apr 2019 12:52:43 +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 1hEveu-0002w9-Cp for linux-arm-kernel@lists.infradead.org; Fri, 12 Apr 2019 12:52:02 +0000 Received: by mail-wm1-x344.google.com with SMTP id z24so10962720wmi.5 for ; Fri, 12 Apr 2019 05:51:56 -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=4Niok7+mQ1HMXYhWIferbfqJsQTk/gK20ga0eIZkuSs=; b=LUsrQuhyPX+sl/sci8Wxo10d+c5z2DVx3f3EnZ074fFT0jH7dLmqYugHEzwuwt4/L2 UvGo6eC9cVmNy0bGM4OI36yNDLbAxOf8W0idOaWJox4mZ8YGIFCilpqqNZlN0rUKGY3f 9PV4Aszv7H+uHYx0b45aNekCsrtXScFsXctc/CXoranGBWfc+/VhQGFhImQ756rNXZfd 8Zdd2LDOS9lin8FztiZny6CeG/ACB8APOdQeH1m4X0I9k986bC3eVP3OCqZotiCrKOZw uwSaxXrEU5t9yXSNT+ZFGViQq/woq3KNGK6Wr4jh4Blg/Wy8V9/7R2mMdyn2CAubtP3C a+NQ== 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=4Niok7+mQ1HMXYhWIferbfqJsQTk/gK20ga0eIZkuSs=; b=OI7otVA6fD6wjDjdy72LqzceImuMaMVM1EKrARq+rywuxrDYdu1Uc8JsJlQjV6nvWO HplTdsbZE5aQtx/Ybq9q7hkfNMHGR1/5I8bK5KL1jyiq4pXmA1V07PyEOnK1eaBMsdxP eGxPi1avU44Ul09Aaj3q+ZCFdiS2leUFB6AXiFxG3pxdyRSSp2hyRZpmA2F4oXeu2q8A i5rU8sDNBca2upSXuuNX4ufdvwD5pNUCe4Fpyw3X59/C+q2YBrjPmEl+jSGR+Xh8iuqp 1h2rLqCA85FpPKTTW8uupw0w+uGqW++3v6XDCUHZtmQVg6/U49QzxarWONk1AvAkHEs7 hU0A== X-Gm-Message-State: APjAAAVS/yDcQ9sP5G8L+v2W4rgrsBFkRQFmfpEXxSlB3KP2UdPS96xl Vn3/DdJTlR5jT6GqjMr5eDl6tQ== X-Google-Smtp-Source: APXvYqwkv/HuIzCLU2dgZttfVJ4dJ0e06IQmwSTo+V6pVJ+Cp/Lid5XtfgOmZK0WgM6dZWLq7DqetA== X-Received: by 2002:a1c:e90f:: with SMTP id q15mr10691902wmc.1.1555073515021; Fri, 12 Apr 2019 05:51:55 -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.53 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 12 Apr 2019 05:51:54 -0700 (PDT) From: Jerome Brunet To: Kevin Hilman Subject: [PATCH 5/7] arm64: dts: meson: g12a: add spdifouts Date: Fri, 12 Apr 2019 14:51:34 +0200 Message-Id: <20190412125136.28232-6-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_055156_783041_6E300CF1 X-CRM114-Status: GOOD ( 10.67 ) 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 spdif output devices of the g12a SoCs. Signed-off-by: Jerome Brunet --- arch/arm64/boot/dts/amlogic/meson-g12a.dtsi | 24 +++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/arch/arm64/boot/dts/amlogic/meson-g12a.dtsi b/arch/arm64/boot/dts/amlogic/meson-g12a.dtsi index 5f5b8c67df49..90b23bacd51c 100644 --- a/arch/arm64/boot/dts/amlogic/meson-g12a.dtsi +++ b/arch/arm64/boot/dts/amlogic/meson-g12a.dtsi @@ -414,6 +414,18 @@ status = "disabled"; }; + spdifout: audio-controller@480 { + compatible = "amlogic,g12a-spdifout", + "amlogic,axg-spdifout"; + reg = <0x0 0x480 0x0 0x50>; + #sound-dai-cells = <0>; + sound-name-prefix = "SPDIFOUT"; + clocks = <&clkc_audio AUD_CLKID_SPDIFOUT>, + <&clkc_audio AUD_CLKID_SPDIFOUT_CLK>; + clock-names = "pclk", "mclk"; + status = "disabled"; + }; + tdmout_a: audio-controller@500 { compatible = "amlogic,g12a-tdmout"; reg = <0x0 0x500 0x0 0x40>; @@ -455,6 +467,18 @@ "lrclk", "lrclk_sel"; status = "disabled"; }; + + spdifout_b: audio-controller@680 { + compatible = "amlogic,g12a-spdifout", + "amlogic,axg-spdifout"; + reg = <0x0 0x680 0x0 0x50>; + #sound-dai-cells = <0>; + sound-name-prefix = "SPDIFOUT_B"; + clocks = <&clkc_audio AUD_CLKID_SPDIFOUT_B>, + <&clkc_audio AUD_CLKID_SPDIFOUT_B_CLK>; + clock-names = "pclk", "mclk"; + status = "disabled"; + }; }; }; From patchwork Fri Apr 12 12:51:35 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jerome Brunet X-Patchwork-Id: 10898227 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 5322217E1 for ; Fri, 12 Apr 2019 12:53:08 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 30E9028D82 for ; Fri, 12 Apr 2019 12:53:08 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 23F1428D83; Fri, 12 Apr 2019 12:53:08 +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 C779428D7D for ; Fri, 12 Apr 2019 12:53:07 +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=wZ8mfjNOcqVFn2fWv3vpUMFjvq2O3aR61IEUg//D8JQ=; b=sxmR1ZlUiicvUP rRN2LWSnl2eSGtHTkJlGb7Z3qSaeeJOBkCKvmZ8CCLe81DADsiHBiKA6f5k4eXh2+9BGSArDBHXjL 3oF9xwsLMUCD093EZCVsMqXH2+aBiAxI0ImaifKKH1mgStS7hTrMNNNKw8fD6krZZ8xf+V2V3Lo/C tGHQ+2xChdZrQJ5AhKWymR4RhPUthIMB508zklxjaM5qyE1+MyXoQZAgYmxeusgUtglfgKwckICAE Ah+Qj6daMuZpMrGYZTj36r+BjnqlVcC72C8RrkSCpirW+RsdZBXUqyAuXBGJAtPCbaajYG7cvN81T PeJdRzW6YpANRMjS1/oQ==; 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 1hEvg2-0004Lh-4Y; Fri, 12 Apr 2019 12:53:06 +0000 Received: from mail-wr1-x443.google.com ([2a00:1450:4864:20::443]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1hEvew-0002zM-MU for linux-arm-kernel@lists.infradead.org; Fri, 12 Apr 2019 12:52:03 +0000 Received: by mail-wr1-x443.google.com with SMTP id p10so11835741wrq.1 for ; Fri, 12 Apr 2019 05:51:58 -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=VWwFb/x/5djGRQFOAMKS9jR6gvNhGl6yp11Dvv7sduU=; b=aJds8UMcq31d/Jx5oG4bxxbazE5RXiMDjt3rTmBGHiVfuQDP6Rhy8Q9ktE1tmXMy95 2ASHaq16IpPYzOX6eC8DQjsRKzgBv17pLfY1Jpj01DP42R2W/qH30mTwLP/Ux4jsC1Ks M3fNdqTfGnkcw1b+TMILwgeZBCQr3z8w5J8c1+TAbrnONrH6YtIvcWeSsy1hhwKWMPyQ GPh0yhZNruBRKXpceq0FHZ7xWtYkvB6muNijT7RQACKvJYrVO0zZgmyBY03JJBUBLiS7 QUJQTAjtnmD6RWQvGGJzJc/gxjybHw5+loDfhqP9NKeexK2M2NV+Qi8rsT/DxAyMQNKc hAQg== 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=VWwFb/x/5djGRQFOAMKS9jR6gvNhGl6yp11Dvv7sduU=; b=l6ptlgbb3BA7k8wuTRFiqRZkgqYaHgRCNhIpr4YQVhvtkL3j2zBuSrIdkip8xPcxUK DSXer6NwWhNmVeABTSGDQSJLChfgeJ1Hqx4TKqneojZLkYxH9mxT/TQjHwFKa5lGtTti Sg374Ot5Fxocq6OawiZI6kTU8MIMRgsKDgN/4vdNkWfFwSTHNchcLR5dHt5CAZpVDB8O zU6h6c+zxB/5TXE4ocnE60vpW9YsHDwsbAkNv6iAeN1TTwXOX6UALpRlFMwP4FzboahM fTsw6dQWNTz4GPOs+Zn2tG7TtfZQmxQkVsOQHL5lIYTXBUMBsOc0vZ+Mh8HoISv/JpRx p5qg== X-Gm-Message-State: APjAAAXGopI3GjvXIDQB4eTNrDtY+sW73jbfeRz0tL+qbTghlxMFIYby tAW5tHHLJXntd6DbvrfW1RyPmw== X-Google-Smtp-Source: APXvYqzF1xmnzjs3JDjLGzZTIbfa0ZdFr/2qaQT4OKX+ROJviZKWq1zN2dh40Iw7bRCBq2Q9J94kRA== X-Received: by 2002:adf:e510:: with SMTP id j16mr37111086wrm.259.1555073516421; Fri, 12 Apr 2019 05:51:56 -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.55 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 12 Apr 2019 05:51:55 -0700 (PDT) From: Jerome Brunet To: Kevin Hilman Subject: [PATCH 6/7] arm64: dts: meson: g12a: add pdm Date: Fri, 12 Apr 2019 14:51:35 +0200 Message-Id: <20190412125136.28232-7-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_055159_113386_4ED17823 X-CRM114-Status: UNSURE ( 9.76 ) X-CRM114-Notice: Please train this message. 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 PDM audio capture device of the g12a SoC. Signed-off-by: Jerome Brunet --- arch/arm64/boot/dts/amlogic/meson-g12a.dtsi | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/arch/arm64/boot/dts/amlogic/meson-g12a.dtsi b/arch/arm64/boot/dts/amlogic/meson-g12a.dtsi index 90b23bacd51c..ab46b2b0fb86 100644 --- a/arch/arm64/boot/dts/amlogic/meson-g12a.dtsi +++ b/arch/arm64/boot/dts/amlogic/meson-g12a.dtsi @@ -239,6 +239,19 @@ }; }; + pdm: audio-controller@40000 { + compatible = "amlogic,g12a-pdm", + "amlogic,axg-pdm"; + reg = <0x0 0x40000 0x0 0x34>; + #sound-dai-cells = <0>; + sound-name-prefix = "PDM"; + clocks = <&clkc_audio AUD_CLKID_PDM>, + <&clkc_audio AUD_CLKID_PDM_DCLK>, + <&clkc_audio AUD_CLKID_PDM_SYSCLK>; + clock-names = "pclk", "dclk", "sysclk"; + status = "disabled"; + }; + audio: bus@42000 { compatible = "simple-bus"; reg = <0x0 0x42000 0x0 0x2000>; From patchwork Fri Apr 12 12:51:36 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jerome Brunet X-Patchwork-Id: 10898233 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 331A917E1 for ; Fri, 12 Apr 2019 12:53:28 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 12E2F28D83 for ; Fri, 12 Apr 2019 12:53:28 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 041CC28D8C; Fri, 12 Apr 2019 12:53:28 +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 A871628D83 for ; Fri, 12 Apr 2019 12:53:27 +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=kpxljRKZHQ9NeDXn3MEtLAR2qWBJ9ZoYqPhnVVV2yYk=; b=gMHopEvPEO1kwV 4D2XvLsnHn+gdhMMXPlQ38no+gzZCzgb2bS6ZdZA5xnK2gmydj/AM0gTCwaiY3eVdMfcNue1R6927 w81wlo/F+8/4BLUkqNvStJrFhspWMqUnGqhd3hh2v8L1S5VWDe9j5G3O2nLmqyXSCLyrydHjpQsE0 PyQg/M7qGO5utxNdZZBTd35omf1li+trQnHsn3uio/DrXJHBeRP9AGq9gmAQ0tftgbN3z697j1ocP 7Tbx2z775NDsbhTYTDfRkRbzB/QBbfdabJis4Y+DjlqC+oGjSOED2JCvlpTmSzsDnPfCtNsG7SJXg byCzTaV30BBwGHY8V/WA==; 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 1hEvgI-0004e9-8b; Fri, 12 Apr 2019 12:53:22 +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 1hEvex-00030E-9R for linux-arm-kernel@lists.infradead.org; Fri, 12 Apr 2019 12:52:05 +0000 Received: by mail-wm1-x344.google.com with SMTP id h18so10896240wml.1 for ; Fri, 12 Apr 2019 05:51:59 -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=S2XgHdka99JxAH5bHt7QNVLYXwa4NYXicHBYGQh/K/U=; b=LoYp4HfsTJ5FffilToBeq3hf38rheo1/X2SZYNC8RiUZL8PK2c0mOJmHVO8WRJWkG7 9EAjSSQy74qy8kNTNCnt+CuLOeEW/pPXOMN5n62xB1jw13CIsRU6qDbN1AZ2cA7M0L+6 7X5KJqZpKJIu408rWW2j8viRuP/UDOJo7mHIn3SQHUo2J/brKcceEChlaTe5SDyx5/+s 9cBMjfMOYMh/g35TNOl7qlB7QVadE2uhABLgY690wECOobMkVdHHxg9wTMCBcWTBsW39 t8s5VLeFhEn+QT0oodLAIdnYQXMmi4SDOzmyQUGnB0dQ0ZL748fAPGIf+dNvIo0+6J5Y T75w== 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=S2XgHdka99JxAH5bHt7QNVLYXwa4NYXicHBYGQh/K/U=; b=fL/1LxB0Y58jWTJX0YKODjSh3Aa9avDZ8IiTnRYm0c6MU+YWMEIdmjL6ZDlsI3r9fQ sIWb45/g6W7l6gvHUmksnx1PC1iOHdiZWm04qa1xyCyc07XLyTkGKZjKZv1kAWddW5Sb MIuEcWmi7gD+f75lHXd1q/VsSOyBYBp8Kz5UlpO5bSRd2xbuZfb4OImCj6/rUjVJAqmT ip6H+0X/m6ARfjBoHXJYr3Sez61y6QgrHxI5aM6wx5x/InOhjBWoPPOAOOBign27/JF2 23KgrZMgIIJXRPV9dGnm3gpisIcMO7eFxVIbBBCHJUj0hYbn0L/AXWpUlKHmsNNbcH7u VgYQ== X-Gm-Message-State: APjAAAWxLgBEsk5wCnYnjKjxf5FJ40khv+hPHbcdi4iHp7Bp6he8CpIH y3I4WB5opZNlzrxTrBNxaQ9NYw== X-Google-Smtp-Source: APXvYqwZNcVmfesEvsS9kQo3zK1W6pR/gwgB05Ni/jHWLnfkJTuuNFJxxSjEkDSckQYCiwGH1YsKBA== X-Received: by 2002:a7b:c5ce:: with SMTP id n14mr11375013wmk.18.1555073517956; Fri, 12 Apr 2019 05:51:57 -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.56 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 12 Apr 2019 05:51:57 -0700 (PDT) From: Jerome Brunet To: Kevin Hilman Subject: [PATCH 7/7] arm64: dts: meson: g12a: add spdifin Date: Fri, 12 Apr 2019 14:51:36 +0200 Message-Id: <20190412125136.28232-8-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_055159_693798_6ABACC47 X-CRM114-Status: GOOD ( 10.42 ) 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 spdif input device of the g12a SoC Signed-off-by: Jerome Brunet --- arch/arm64/boot/dts/amlogic/meson-g12a.dtsi | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/arch/arm64/boot/dts/amlogic/meson-g12a.dtsi b/arch/arm64/boot/dts/amlogic/meson-g12a.dtsi index ab46b2b0fb86..41419ff74be7 100644 --- a/arch/arm64/boot/dts/amlogic/meson-g12a.dtsi +++ b/arch/arm64/boot/dts/amlogic/meson-g12a.dtsi @@ -427,6 +427,19 @@ status = "disabled"; }; + spdifin: audio-controller@400 { + compatible = "amlogic,g12a-spdifin", + "amlogic,axg-spdifin"; + reg = <0x0 0x400 0x0 0x30>; + #sound-dai-cells = <0>; + sound-name-prefix = "SPDIFIN"; + interrupts = ; + clocks = <&clkc_audio AUD_CLKID_SPDIFIN>, + <&clkc_audio AUD_CLKID_SPDIFIN_CLK>; + clock-names = "pclk", "refclk"; + status = "disabled"; + }; + spdifout: audio-controller@480 { compatible = "amlogic,g12a-spdifout", "amlogic,axg-spdifout";