From patchwork Tue Jul 17 15:36:25 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jerome Brunet X-Patchwork-Id: 10529771 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 946C260545 for ; Tue, 17 Jul 2018 15:37:14 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 871422917F for ; Tue, 17 Jul 2018 15:37:14 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 7AD5F29188; Tue, 17 Jul 2018 15:37:14 +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=-2.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C20482917F for ; Tue, 17 Jul 2018 15:37:13 +0000 (UTC) Received: from alsa0.perex.cz (localhost [127.0.0.1]) by alsa0.perex.cz (Postfix) with ESMTP id 286C02677D9; Tue, 17 Jul 2018 17:36:55 +0200 (CEST) X-Original-To: alsa-devel@alsa-project.org Delivered-To: alsa-devel@alsa-project.org Received: by alsa0.perex.cz (Postfix, from userid 1000) id 3327D2677D1; Tue, 17 Jul 2018 17:36:51 +0200 (CEST) Received: from mail-wr1-f66.google.com (mail-wr1-f66.google.com [209.85.221.66]) by alsa0.perex.cz (Postfix) with ESMTP id A18BC2677CE for ; Tue, 17 Jul 2018 17:36:48 +0200 (CEST) Received: by mail-wr1-f66.google.com with SMTP id c4-v6so1690406wrs.12 for ; Tue, 17 Jul 2018 08:36:48 -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=fpyojqqEXxBMVGQ9gOj0nSaGphKtXorSOcTurNY/3cc=; b=tEYgpMcSVhKeFLn59F2/ms1O7JqnRZw7/Zb/T2X0vIcvIJdGnSHeYnLv05fqmh7f65 1s58Kzr9hhGYc7TDSvB0P32coupLWr6FWTvZQPNNi1BIDj5CR/SAagY0YAtgSJjC88QX 79cCUiri3zpFgnmxaNfpXxtHyocohyN5MOuyioskrjbn5lxcK2xe1hqXPIZYiy/CD0nY sNhBTvcuJamxtqn4LhXYYkDQgZyMlh/VboO9sSMvOTPjBiCNRZpa+EwvmAs44cLVBhyC NNHcmtHY0OZJhp1pfjHzcV2ne8TDTiXk09jM9LanXnTKEuUQZZXlOHtZtRwey6Ll/G8I R8rQ== 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=fpyojqqEXxBMVGQ9gOj0nSaGphKtXorSOcTurNY/3cc=; b=VHihOvxLvfkAXUH9xpgh8C28m6Wkg3LO5b2BH3fpNvTkJuV3w9XFyjr5dVgzKeTxOn PKUpLIKvX37LHeUr7JIxhtv7QzbodWDMRWLG36TSQfqi9tWlLIHoznWVU62GxW+K+/vo 7iemPvOYYcqi27LpcGswxn0mhKRsD6RsJzPNYAtb5+jK+LqhNj96o9B+rN5347FSXyeB qGhrXtkOlvroHf5DZSwrgeWuN+iT+l0NCQyOCQq4OMlokoz8UEP57KNrIoGMNyWZc66w b4+Wjm3Hv6foGBv2a484b9S52iq6C+4afND0H3Gz4X2fc5EDQrrCgpbvTvNNuTXHDM8g gyvw== X-Gm-Message-State: AOUpUlGPBqTRW1Y5uE1D5Jin/7hXz7aKEpQfP+9Bp0DMifbcQxSHr/rc /gSHvmfFO10QuQYCk/tnzTWElw== X-Google-Smtp-Source: AAOMgpf7N2H+OjqUXNKGPb1GqKhHHg3Gg4URYJtXw8ypOuDTbCnPU2LsWKb243WD2cMwkrVWGola+w== X-Received: by 2002:adf:8276:: with SMTP id 109-v6mr1804507wrb.127.1531841808205; Tue, 17 Jul 2018 08:36:48 -0700 (PDT) Received: from boomer.baylibre.local ([90.63.244.31]) by smtp.googlemail.com with ESMTPSA id h12-v6sm16971464wmb.3.2018.07.17.08.36.47 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 17 Jul 2018 08:36:47 -0700 (PDT) From: Jerome Brunet To: Mark Brown , Liam Girdwood , Kevin Hilman , Carlo Caione Date: Tue, 17 Jul 2018 17:36:25 +0200 Message-Id: <20180717153643.8806-2-jbrunet@baylibre.com> X-Mailer: git-send-email 2.14.4 In-Reply-To: <20180717153643.8806-1-jbrunet@baylibre.com> References: <20180717153643.8806-1-jbrunet@baylibre.com> Cc: devicetree@vger.kernel.org, alsa-devel@alsa-project.org, linux-amlogic@lists.infradead.org, linux-kernel@vger.kernel.org, Jerome Brunet Subject: [alsa-devel] [PATCH 01/15] ASoC: meson: add axg fifos DT binding documentation X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org X-Virus-Scanned: ClamAV using ClamSMTP Add the DT bindings documentation for axg's FIFOs: TODDR and FRDDR. Signed-off-by: Jerome Brunet --- .../devicetree/bindings/sound/amlogic,axg-fifo.txt | 23 ++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 Documentation/devicetree/bindings/sound/amlogic,axg-fifo.txt diff --git a/Documentation/devicetree/bindings/sound/amlogic,axg-fifo.txt b/Documentation/devicetree/bindings/sound/amlogic,axg-fifo.txt new file mode 100644 index 000000000000..3dfc2515e5c6 --- /dev/null +++ b/Documentation/devicetree/bindings/sound/amlogic,axg-fifo.txt @@ -0,0 +1,23 @@ +* Amlogic Audio FIFO controllers + +Required properties: +- compatible: 'amlogic,axg-toddr' or + 'amlogic,axg-frddr' +- reg: physical base address of the controller and length of memory + mapped region. +- interrupts: interrupt specifier for the fifo. +- clocks: phandle to the fifo peripheral clock provided by the audio + clock controller. +- resets: phandle to memory ARB line provided by the arb reset controller. +- #sound-dai-cells: must be 0. + +Example of FRDDR A on the A113 SoC: + +frddr_a: audio-controller@1c0 { + compatible = "amlogic,axg-frddr"; + reg = <0x0 0x1c0 0x0 0x1c>; + #sound-dai-cells = <0>; + interrupts = ; + clocks = <&clkc_audio AUD_CLKID_FRDDR_A>; + resets = <&arb AXG_ARB_FRDDR_A>; +};