From patchwork Tue May 14 14:26:44 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jerome Brunet X-Patchwork-Id: 164207 Delivered-To: patch@linaro.org Received: by 2002:a92:9e1a:0:0:0:0:0 with SMTP id q26csp2694167ili; Tue, 14 May 2019 07:27:06 -0700 (PDT) X-Google-Smtp-Source: APXvYqz5q61yf1vGaEsAMULp04eoIVv7CKLP40dP0oEoPRC6tyMnk8Bi+BdEONbtaoZmBhVsy53E X-Received: by 2002:a17:902:2f:: with SMTP id 44mr38027280pla.137.1557844026420; Tue, 14 May 2019 07:27:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1557844026; cv=none; d=google.com; s=arc-20160816; b=GM4M/shy352B9k5lKBk4PDEdHL++8Axyhoj0xpVJ7I7fwDNNdKketA3pNmWWjZhzxC zUato7svVdmw/OPySyBq50SFoWzOBaZc2dj3+yD7nC+BeA4EeaGNXyipLO/3wrmZBE/z Su3fqXn22CClilTaX+0vhOAKqsbuYAVC8yPD4q0bATr+wKcWK8wipSUr3U+t6YRR+Q00 65ASo+Yq5e2l5705TzceB/y3CfQU5egs9C7Mh6S/V4WXvwib2dEaI2cEKHnGuw/6f+ZT 6U4dpZqA1cB/RHq0DJrD0zxG1RNjcox8pLg3jlUzPqzRv3/DG3MvShZ49f0i+r17V/5W WdJw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=3Wh5aMQ4F/bP0rvTCc7Ak9+RHCVx6Dozll392sEPsfQ=; b=j2EeLlgN6WJfQMtHVBTkdkweoZ24nCm9rIU2yKyMRczunFSozsCHjBNYxJkXYP2AQm 6m1iOeanX4xC6Ba3v2XaRATk1NafHXJZhBZAOU4O4cj/3XkW63/l7qw2uJWaVRlWwInN K3+dNUKKZxWdnHDgOBNeU6cNMoJZ2kKfK0Ol3JP91XACHJr9xG7zAFbFCUd4uMvQCP/8 GHMInK2S6fwhkTvU7rguz0k875vAkw3BM9H1st6z7On6YvS5+4td/lkgT5Mu1NSvhYJh 46P7PLXNJ4oGNfWHj/RQS50CTw95MRSZeC3Z4g7Rbi1CyweT5n+0/27Qx85wzaqmnCJ2 G6Cg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=hoXJ+nK2; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w13si22179021pge.212.2019.05.14.07.27.06; Tue, 14 May 2019 07:27:06 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=hoXJ+nK2; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726400AbfENO1E (ORCPT + 30 others); Tue, 14 May 2019 10:27:04 -0400 Received: from mail-wr1-f68.google.com ([209.85.221.68]:43684 "EHLO mail-wr1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726290AbfENO1A (ORCPT ); Tue, 14 May 2019 10:27:00 -0400 Received: by mail-wr1-f68.google.com with SMTP id r4so19450425wro.10 for ; Tue, 14 May 2019 07:26: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=3Wh5aMQ4F/bP0rvTCc7Ak9+RHCVx6Dozll392sEPsfQ=; b=hoXJ+nK2lN8v/fVuoSDRsSP9X7D7ccCtD9GeraOWqvUdWAY+PP2hF8mgYifUkcWJkJ A3SRNJZs2ohyxY5YQqZ7ehMClvYojld6W8mi9DDPHGVRuDXbO5mw2F8SbMMmGhktesoI PKvzb5uYq7UUmvsLV3VluPtZsiZty74dQgs4YOIssP3T2R2SZPr+wFr2yS3IeNGOGc0+ p6uGuFEQq6IG264WIk/rRMhwnj0M+MeBX5Go2DMy2UeGjltc4zJuw6TBCQ/a3L5JDkNz s4zC1V7l+D4IhNNM3IhQLWyNHWtI7DkikDp7Y0y9AkFLSZrRVDLjVdeYK8md7NpbYEgt M4WQ== 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=3Wh5aMQ4F/bP0rvTCc7Ak9+RHCVx6Dozll392sEPsfQ=; b=HwBkj43dbWnPBOTNsM3M4L+T1/QRwmvJ+ZtyClr7dxqJY4hiyVC90QiaAnBMCb/fRP x5362pJDQJ50O4/UIYsDFYI5QjN9PaabDew8yFbAoFQXlMxQxUe5juT3v3cZ/9eKkgyd n5xLpwgPqnwNKbV64B57Rp0l1eDeXoFuPNBOeWdY0fF5+WBza/deqGGouiHeO+g1iF43 VBIUz+ZkMsfnoPvgaqEqz6HBQZPN0gFOQXRE2tFexJQI0E4r+MryzYe7KivMAUMqwCJT MrqwjSlSOXDytFLqPS/OTfLciohqT1azSjSSigIdt13G4oCzu3Y44VtK9LRzkgOIES9h mwng== X-Gm-Message-State: APjAAAXZExC7tP6+VXH/d2mHIvLSsYOmPtAeMYERlKYZIbd0BLphu3ON JHv6FabHBuXXmx7YsvAw/WbYWg== X-Received: by 2002:adf:f74a:: with SMTP id z10mr270724wrp.291.1557844018518; Tue, 14 May 2019 07:26:58 -0700 (PDT) Received: from boomer.local (lmontsouris-657-1-212-31.w90-63.abo.wanadoo.fr. [90.63.244.31]) by smtp.googlemail.com with ESMTPSA id h15sm12343642wru.52.2019.05.14.07.26.57 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 14 May 2019 07:26:58 -0700 (PDT) From: Jerome Brunet To: Kevin Hilman Cc: Jerome Brunet , devicetree@vger.kernel.org, linux-amlogic@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 3/8] arm64: dts: meson: g12a: add audio fifos Date: Tue, 14 May 2019 16:26:44 +0200 Message-Id: <20190514142649.1127-4-jbrunet@baylibre.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190514142649.1127-1-jbrunet@baylibre.com> References: <20190514142649.1127-1-jbrunet@baylibre.com> MIME-Version: 1.0 X-Patchwork-Bot: notify Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add the playback and capture memory interfaces of the g12a SoC family. Signed-off-by: Jerome Brunet --- arch/arm64/boot/dts/amlogic/meson-g12a.dtsi | 73 +++++++++++++++++++++ 1 file changed, 73 insertions(+) -- 2.20.1 diff --git a/arch/arm64/boot/dts/amlogic/meson-g12a.dtsi b/arch/arm64/boot/dts/amlogic/meson-g12a.dtsi index 2d5bccad4035..935a84b9f836 100644 --- a/arch/arm64/boot/dts/amlogic/meson-g12a.dtsi +++ b/arch/arm64/boot/dts/amlogic/meson-g12a.dtsi @@ -10,6 +10,7 @@ #include #include #include +#include #include / { @@ -709,6 +710,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";