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: 142792 Delivered-To: patch@linaro.org Received: by 2002:a2e:9754:0:0:0:0:0 with SMTP id f20-v6csp7232865ljj; Tue, 24 Jul 2018 05:53:01 -0700 (PDT) X-Google-Smtp-Source: AAOMgpeT3yqSwJI/q3J7Ipv0OP7FT/vIWrOWmhq1gpyhaVqM2bZPAWUJvSRfVEItcfQcdz632YuQ X-Received: by 2002:a62:da07:: with SMTP id c7-v6mr17574869pfh.106.1532436781802; Tue, 24 Jul 2018 05:53:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1532436781; cv=none; d=google.com; s=arc-20160816; b=TAMKLv7NIXi6PUp539PmVi2l//iJa9lpFpuZwtUWfAaMcenHq7K89DtI0KDzST95/I tPULIMugap9WyAU3zaIMNcF5kercLqe9cVmAVuR/4E7R7EWB9vrN39YAVfiFtpBOwzsy 6W1qBabjf+kkcKFllkozG6y9mKOPdtQlT763Sq4MwFxM15VjTHifxHOlQcLKrEr5SGkr RgAfpW572toyEXaH1ea9gKH9hSLys3h+14L7u3Wmvri0+xRaelo3sK+Oh2lr2pN3ACqi Jibmx7MRRHb51frKzAdQ4RJ8qimqveTQKiarBB5LMwb/IHScvlP9SxcWS54PPWh9a5Xq LFgA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature:arc-authentication-results; bh=s2BTI8uCMgzn7Pm+aC1/UqH+TlJWfGQBNvuxxj87VzU=; b=Vnoh8Aii7r7cp/OMP4GhREkv1QF5P3H1Bp+koKK0r3379QLVtz5ncWVIEZTaullLcU Jv9NWwLxXw4iOnadM7T90RD1jigT5zey/GqBxZ/BjUjj9yp3niTxCnvPkicEb+vg3Rlu N4P/2oJpOWdEb6D7t/6iHCwACfUaskrNB2bfttWbw7cJP5lIZmHdhaB2BX0fWc7Ts5fw 73nFVPNpr2967x25XMgqsfJDd5Kcjy7NXp4dr8mUK3YbcBqH9ptXXg3dVuzid0mLBEVz rI9tZqkFBMGtggCNamMKrrVBrjUYZi5z2KzLwH/D7gbM+JJovrtC0z0DTra047t5G73W q8pw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=CksN68V8; 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 y2-v6si11690715pga.141.2018.07.24.05.53.01; Tue, 24 Jul 2018 05:53:01 -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=CksN68V8; 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 S2388536AbeGXN7T (ORCPT + 31 others); Tue, 24 Jul 2018 09:59:19 -0400 Received: from mail-wr1-f68.google.com ([209.85.221.68]:37036 "EHLO mail-wr1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388343AbeGXN7S (ORCPT ); Tue, 24 Jul 2018 09:59:18 -0400 Received: by mail-wr1-f68.google.com with SMTP id q10-v6so4033705wrd.4 for ; Tue, 24 Jul 2018 05:52: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; 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=DZHuM9c6aJzZwuB3M6fOgITlgejL6L+MZWFZ5BPkdht3ul6/wybMNTC6OoduCITsrj cxrVPW0Fx0bgrdpZcEehI2jy/GRP81CSxbjjy7wVtAZPDFMs0JnR9PUOpprVEqskhkVa hfMXe5wkUoNpOUl3K1wG7vkrTs5tjAILwbuUuAdExK+OR3wDi6v1ecO04PyXj891WFSc R/M0I0SZ419hj/Zmu3Ha00gNKkZJFEFgLe1asKi4/8/jEndKek0kGunZ8a6r+Rgsf19l 1yKC2oGnJFMN/DeZ+wKJHTckI55wyrIvEnXoCaVKQUS8tBDjWBMfCa7tSM/aiW+vFOKH 8Gmg== X-Gm-Message-State: AOUpUlH7sEBuCdWxm+VgjY/0FMRgB9fLQ5/5h5TKae6n+U/+UKwVKiky SLGQrAeCpn4KBguayJXP1oWOcw== 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 Cc: Jerome Brunet , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-amlogic@lists.infradead.org, linux-kernel@vger.kernel.org, Philipp Zabel 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> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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(+) -- 2.17.1 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>;