From patchwork Wed Dec 18 20:24:52 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jerome Brunet X-Patchwork-Id: 182029 Delivered-To: patch@linaro.org Received: by 2002:a92:3001:0:0:0:0:0 with SMTP id x1csp1150383ile; Wed, 18 Dec 2019 12:25:06 -0800 (PST) X-Google-Smtp-Source: APXvYqytZp/kQTXwRJ6VdIPAa/bvcaSY/pTJf7oU0eLe1q/kZ/mUuOT8E/9EZw+Wgu4NzJ+if+Hu X-Received: by 2002:a9d:7085:: with SMTP id l5mr4704206otj.25.1576700706360; Wed, 18 Dec 2019 12:25:06 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1576700706; cv=none; d=google.com; s=arc-20160816; b=IlWVZrHMq+PD7VyvSLwYFFHY7eU6yAu6J1uD08ZY4TgezQf0Kf+yUcEO6gPnTEJnbc tesjlvsYP0TEsXuB26NxdBphcdZ7MKV4mFKXKwsDFo78qNdSumnh1QxuUEf7Q/6b0eFA dXf8cW55iRhLhy8EBOi9SfU7br2IlyGHVC6O41wWLPo5gSSiui/mnjwuGF1vl/vJa8BC wSHaiSDrd1WJMsX6IGyBPPXn2O8xjQ7xx9xFAljaP72G6HpVoczXCWzlkytVIn6o7xWU g7x1e7jS+QXC938thcxg6VLR3DzkEj9pIF7Dulgwnbn1mm6v1taBGHCGpRLpEGo2OMAu 35SQ== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=0WvlYOoAD1IOta9diQC+n30t1bIYLy4c6uAUgMu9Krg=; b=PpRv7iDXNc3U86+Ggj9tV6wzKmQ5vfLPyPXFXMGnyg7lqfwijmtxRq0ihipBcqRssJ hDIRD8JytZcKkc4WVI8Ql4BoHaMtzsH8XAGPiQAkpcPb16eCZnFWLJrEKXFCawuHnXcC DLv3nmNxsiTjFeUCV5NgbgP0XNzXDw5rSVGgKiP4KJtP3UL/kNJIcmCCpE46rE8NmotN ALD2OM8O/Z8wz9pwqaBRvRfSlmeevKp91f9nvsiwjhTm4e340ti2V2gF0i20F17cq0mf XA6JlAoiRBceUB2JXXMwWzPhAS1BYzvCeWOZjzjDcaf6ggGgNfIQmoRKVUQ1yS4wrohC 401g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=JMGvz9LP; 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 k77si2025538oih.103.2019.12.18.12.25.06; Wed, 18 Dec 2019 12:25:06 -0800 (PST) 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=JMGvz9LP; 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 S1727639AbfLRUZE (ORCPT + 27 others); Wed, 18 Dec 2019 15:25:04 -0500 Received: from mail-wm1-f67.google.com ([209.85.128.67]:40063 "EHLO mail-wm1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725955AbfLRUZE (ORCPT ); Wed, 18 Dec 2019 15:25:04 -0500 Received: by mail-wm1-f67.google.com with SMTP id t14so3326212wmi.5 for ; Wed, 18 Dec 2019 12:25:03 -0800 (PST) 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:mime-version :content-transfer-encoding; bh=0WvlYOoAD1IOta9diQC+n30t1bIYLy4c6uAUgMu9Krg=; b=JMGvz9LPMfSDZ7/RKUL+GMHZ0dcLW4/G4SdYnxB64Fr9ldBxGjXdsecfr4kS2nJp6F 4HM1prGAY/8hLnhaibrv6LF7bMlZRV79ccZqMo3jnspkVh+o25se3IVe3FNi/YTACHDk FLUX+9uWWtItdOeDQlFNzV2oqY1O1UVI9YK49bQSXcIjkdv0SQAkSuEVuV4gt5KmN7Ue nBgZGtVAOs7ZkZeY6CcjODWQ7j/RXXjWn4G4Ql1FTqJgYD4lcyjBSDBpqQvh+V0DCLhA 2+3RcaLe2Zj8J0OPZZjrKho2SWmPKXn3XnRyu2bjN8bqgiGt7LK4l6b4rSt1LzL0zPkV V9ZA== 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:mime-version :content-transfer-encoding; bh=0WvlYOoAD1IOta9diQC+n30t1bIYLy4c6uAUgMu9Krg=; b=K0EA2l7uDKCHIUjP0+4TSa6TQ1mmM6T3erkmKzB8Nmhk6goSfvTJ+gg5ZCNXi7Eeyx +Nkl/lEExNDVDGoMdWgEJM95dYsYeQzZ+upDJdybreaE24fnes01IpUsqKM7LpEWGY5+ xfVPnesCPjcQIMUeYn9Sdbx3S8dKxy5LXKVM/tCRTsapQoOG9alUZsQMEHNitix/Bi9B mey1tb1EjkGq4CgzfPBdWmOitLVuK5pNSyY0nsz171p0k5zBiuWnl2YXyiXOsfrr+a7s RVEHcKjBQzCwDeqS2e9GTSxicjP33MKQZFcaYKSq1lohLgAdEr6afuNVAqQQsEzQr3LC FrOw== X-Gm-Message-State: APjAAAWcAmc1kB+5iHgvYVHijRFW8vh7iyYkpPCLJgpMkAHRMBdE+9t0 ugvM2H5noM8Gy93TooJcxuKCbVBLDJU= X-Received: by 2002:a1c:e289:: with SMTP id z131mr5158320wmg.18.1576700702235; Wed, 18 Dec 2019 12:25:02 -0800 (PST) Received: from localhost.localdomain (cag06-3-82-243-161-21.fbx.proxad.net. [82.243.161.21]) by smtp.googlemail.com with ESMTPSA id w22sm3469481wmk.34.2019.12.18.12.25.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 18 Dec 2019 12:25:01 -0800 (PST) From: Jerome Brunet To: Kevin Hilman Cc: Jerome Brunet , linux-amlogic@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] arm64: dts: meson: add audio fifo depths Date: Wed, 18 Dec 2019 21:24:52 +0100 Message-Id: <20191218202452.1288378-1-jbrunet@baylibre.com> X-Mailer: git-send-email 2.23.0 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 property describing the depth of the audio fifo on the axg, g12a and sm1 SoC family Signed-off-by: Jerome Brunet --- Hi Kevin, The binding documentation for this new property will be merged through Mark's ASoC tree [0] [0]: https://lkml.kernel.org/r/applied-20191218172420.1199117-3-jbrunet@baylibre.com arch/arm64/boot/dts/amlogic/meson-axg.dtsi | 6 ++++++ arch/arm64/boot/dts/amlogic/meson-g12.dtsi | 6 ++++++ arch/arm64/boot/dts/amlogic/meson-sm1.dtsi | 8 ++++++++ 3 files changed, 20 insertions(+) -- 2.23.0 diff --git a/arch/arm64/boot/dts/amlogic/meson-axg.dtsi b/arch/arm64/boot/dts/amlogic/meson-axg.dtsi index 04803c3bccfa..aace3d32a3df 100644 --- a/arch/arm64/boot/dts/amlogic/meson-axg.dtsi +++ b/arch/arm64/boot/dts/amlogic/meson-axg.dtsi @@ -1169,6 +1169,7 @@ interrupts = ; clocks = <&clkc_audio AUD_CLKID_TODDR_A>; resets = <&arb AXG_ARB_TODDR_A>; + amlogic,fifo-depth = <512>; status = "disabled"; }; @@ -1180,6 +1181,7 @@ interrupts = ; clocks = <&clkc_audio AUD_CLKID_TODDR_B>; resets = <&arb AXG_ARB_TODDR_B>; + amlogic,fifo-depth = <256>; status = "disabled"; }; @@ -1191,6 +1193,7 @@ interrupts = ; clocks = <&clkc_audio AUD_CLKID_TODDR_C>; resets = <&arb AXG_ARB_TODDR_C>; + amlogic,fifo-depth = <256>; status = "disabled"; }; @@ -1202,6 +1205,7 @@ interrupts = ; clocks = <&clkc_audio AUD_CLKID_FRDDR_A>; resets = <&arb AXG_ARB_FRDDR_A>; + amlogic,fifo-depth = <512>; status = "disabled"; }; @@ -1213,6 +1217,7 @@ interrupts = ; clocks = <&clkc_audio AUD_CLKID_FRDDR_B>; resets = <&arb AXG_ARB_FRDDR_B>; + amlogic,fifo-depth = <256>; status = "disabled"; }; @@ -1224,6 +1229,7 @@ interrupts = ; clocks = <&clkc_audio AUD_CLKID_FRDDR_C>; resets = <&arb AXG_ARB_FRDDR_C>; + amlogic,fifo-depth = <256>; status = "disabled"; }; diff --git a/arch/arm64/boot/dts/amlogic/meson-g12.dtsi b/arch/arm64/boot/dts/amlogic/meson-g12.dtsi index b3ba2fda8af8..03054c478896 100644 --- a/arch/arm64/boot/dts/amlogic/meson-g12.dtsi +++ b/arch/arm64/boot/dts/amlogic/meson-g12.dtsi @@ -106,6 +106,7 @@ resets = <&arb AXG_ARB_TODDR_A>, <&clkc_audio AUD_RESET_TODDR_A>; reset-names = "arb", "rst"; + amlogic,fifo-depth = <512>; status = "disabled"; }; @@ -120,6 +121,7 @@ resets = <&arb AXG_ARB_TODDR_B>, <&clkc_audio AUD_RESET_TODDR_B>; reset-names = "arb", "rst"; + amlogic,fifo-depth = <256>; status = "disabled"; }; @@ -134,6 +136,7 @@ resets = <&arb AXG_ARB_TODDR_C>, <&clkc_audio AUD_RESET_TODDR_C>; reset-names = "arb", "rst"; + amlogic,fifo-depth = <256>; status = "disabled"; }; @@ -148,6 +151,7 @@ resets = <&arb AXG_ARB_FRDDR_A>, <&clkc_audio AUD_RESET_FRDDR_A>; reset-names = "arb", "rst"; + amlogic,fifo-depth = <512>; status = "disabled"; }; @@ -162,6 +166,7 @@ resets = <&arb AXG_ARB_FRDDR_B>, <&clkc_audio AUD_RESET_FRDDR_B>; reset-names = "arb", "rst"; + amlogic,fifo-depth = <256>; status = "disabled"; }; @@ -176,6 +181,7 @@ resets = <&arb AXG_ARB_FRDDR_C>, <&clkc_audio AUD_RESET_FRDDR_C>; reset-names = "arb", "rst"; + amlogic,fifo-depth = <256>; status = "disabled"; }; diff --git a/arch/arm64/boot/dts/amlogic/meson-sm1.dtsi b/arch/arm64/boot/dts/amlogic/meson-sm1.dtsi index be00b8f2f1e6..d847a3fcbc85 100644 --- a/arch/arm64/boot/dts/amlogic/meson-sm1.dtsi +++ b/arch/arm64/boot/dts/amlogic/meson-sm1.dtsi @@ -201,6 +201,7 @@ resets = <&arb AXG_ARB_TODDR_A>, <&clkc_audio AUD_RESET_TODDR_A>; reset-names = "arb", "rst"; + amlogic,fifo-depth = <8192>; status = "disabled"; }; @@ -215,6 +216,7 @@ resets = <&arb AXG_ARB_TODDR_B>, <&clkc_audio AUD_RESET_TODDR_B>; reset-names = "arb", "rst"; + amlogic,fifo-depth = <256>; status = "disabled"; }; @@ -229,6 +231,7 @@ resets = <&arb AXG_ARB_TODDR_C>, <&clkc_audio AUD_RESET_TODDR_C>; reset-names = "arb", "rst"; + amlogic,fifo-depth = <256>; status = "disabled"; }; @@ -243,6 +246,7 @@ resets = <&arb AXG_ARB_FRDDR_A>, <&clkc_audio AUD_RESET_FRDDR_A>; reset-names = "arb", "rst"; + amlogic,fifo-depth = <512>; status = "disabled"; }; @@ -257,6 +261,7 @@ resets = <&arb AXG_ARB_FRDDR_B>, <&clkc_audio AUD_RESET_FRDDR_B>; reset-names = "arb", "rst"; + amlogic,fifo-depth = <256>; status = "disabled"; }; @@ -271,6 +276,7 @@ resets = <&arb AXG_ARB_FRDDR_C>, <&clkc_audio AUD_RESET_FRDDR_C>; reset-names = "arb", "rst"; + amlogic,fifo-depth = <256>; status = "disabled"; }; @@ -412,6 +418,7 @@ resets = <&arb AXG_ARB_TODDR_D>, <&clkc_audio AUD_RESET_TODDR_D>; reset-names = "arb", "rst"; + amlogic,fifo-depth = <256>; status = "disabled"; }; @@ -426,6 +433,7 @@ resets = <&arb AXG_ARB_FRDDR_D>, <&clkc_audio AUD_RESET_FRDDR_D>; reset-names = "arb", "rst"; + amlogic,fifo-depth = <256>; status = "disabled"; }; };