From patchwork Tue Jul 17 15:36:34 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jerome Brunet X-Patchwork-Id: 10529853 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 7CBFB6020A for ; Tue, 17 Jul 2018 15:41:06 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B3878296DE for ; Tue, 17 Jul 2018 15:41:01 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id B0A35296CB; Tue, 17 Jul 2018 15:41:01 +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 F176A2961C for ; Tue, 17 Jul 2018 15:40:59 +0000 (UTC) Received: from alsa0.perex.cz (localhost [127.0.0.1]) by alsa0.perex.cz (Postfix) with ESMTP id C344F26782F; Tue, 17 Jul 2018 17:37:12 +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 F15C5267801; Tue, 17 Jul 2018 17:37:00 +0200 (CEST) Received: from mail-wm0-f66.google.com (mail-wm0-f66.google.com [74.125.82.66]) by alsa0.perex.cz (Postfix) with ESMTP id EF5D12677D7 for ; Tue, 17 Jul 2018 17:36:57 +0200 (CEST) Received: by mail-wm0-f66.google.com with SMTP id s13-v6so12862005wmc.1 for ; Tue, 17 Jul 2018 08:36:57 -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=b4RC/bHYB8Vb7haYF+eVU5Z7vB8057Yr70QQourlFGQ=; b=fKuLPq057tUTizEiiI6rgfEsQVsb4jKxR0C3fCKyfHtTPfLG2FZRrGEt5EG3pPAzNT kgWIkYIM15tzez+hIr16Ed31UPGHWfObRGdB7V4Y9aX7G0J6WHY+RV3DE2RFkVzWBU14 c3cL5xbrA9dnabkGsAvv9LGOHi8VKmQHEk2UjZ15nkZvHcTwHssBY28WR6rMEMT2e4qI RfTC50fo2nIfFF2974XU3iCEZwhmRyNqFThi92ZA9x6IDztxnpExawGFcB+tGGKUZ1Bf RwkCHuABlEv+RGtFvlId/KWwzFBODVnbIWMwaBmB0WmRVZX9Y4xJu5+UC9TFfFgGSadG 8saw== 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=b4RC/bHYB8Vb7haYF+eVU5Z7vB8057Yr70QQourlFGQ=; b=LjNz1RR4t9m0xJ0khwwXY3fh6fs0z/3RS6Kliw9fTjJvyyYcU9yj/WFA1JydOAPe1D iBq57R7clkpLOufI3hg6jkszD/WgoNFM22fQTdLL5tintsskEZMrnUH54aN5c8dr0GXy jCD1ScB5NkvBb8+JuNEb+L5D/LVujf70zWe1RDuL7zcGYCjlrrMWe/v9rfR71U45Gfg7 WZNmz/5j9emrqDvtsKG9755p55uWpilnTwXM0hJ5xxTCVG9ARDMP6bfQlqKFG2o+hRGW Awsnzv5K1Lad2OH7G6DpUVHPIRK1sLQ3NIzVpELkfNf61rs9wxlvT23bDdDRkH+PP4sV aGEg== X-Gm-Message-State: AOUpUlHOCmjvHnMtMQoulAaZAFFzfLxp0WBgazuwk87I1A9guAEe/HUQ 4z/hL3/JJzXlioNoZdbtPvf1vg== X-Google-Smtp-Source: AAOMgpcCsxzWQuiFs2h9pbB4g9K0JNj5+yMocwW7Pxy23RBygKW03d9icHzdKeGlbMQc0oDwCQJ/Sg== X-Received: by 2002:a1c:f216:: with SMTP id s22-v6mr1809440wmc.50.1531841817557; Tue, 17 Jul 2018 08:36:57 -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.56 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 17 Jul 2018 08:36:57 -0700 (PDT) From: Jerome Brunet To: Mark Brown , Liam Girdwood , Kevin Hilman , Carlo Caione Date: Tue, 17 Jul 2018 17:36:34 +0200 Message-Id: <20180717153643.8806-11-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 08/15] ASoC: meson: add axg tdm interface 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 binding documentation for axg's TDM interfaces Signed-off-by: Jerome Brunet --- .../bindings/sound/amlogic,axg-tdm-iface.txt | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 Documentation/devicetree/bindings/sound/amlogic,axg-tdm-iface.txt diff --git a/Documentation/devicetree/bindings/sound/amlogic,axg-tdm-iface.txt b/Documentation/devicetree/bindings/sound/amlogic,axg-tdm-iface.txt new file mode 100644 index 000000000000..cabfb26a5f22 --- /dev/null +++ b/Documentation/devicetree/bindings/sound/amlogic,axg-tdm-iface.txt @@ -0,0 +1,22 @@ +* Amlogic Audio TDM Interfaces + +Required properties: +- compatible: 'amlogic,axg-tdm-iface' +- clocks: list of clock phandle, one for each entry clock-names. +- clock-names: should contain the following: + * "sclk" : bit clock. + * "lrclk": sample clock + * "mclk" : master clock + -> optional if the interface is in clock slave mode. +- #sound-dai-cells: must be 0. + +Example of TDM_A on the A113 SoC: + +tdmif_a: audio-controller@0 { + compatible = "amlogic,axg-tdm-iface"; + #sound-dai-cells = <0>; + 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"; +};