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: 142166 Delivered-To: patch@linaro.org Received: by 2002:a2e:9754:0:0:0:0:0 with SMTP id f20-v6csp3814808ljj; Tue, 17 Jul 2018 08:38:20 -0700 (PDT) X-Google-Smtp-Source: AAOMgpcWty5qKIN57VYQTmrMuaXNWZC2OvQMkDY+T9CYk3oKBz9osyVvFg0nBc7R89ZL9ONgVrXP X-Received: by 2002:a17:902:2e83:: with SMTP id r3-v6mr2173794plb.80.1531841900551; Tue, 17 Jul 2018 08:38:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1531841900; cv=none; d=google.com; s=arc-20160816; b=TO2xoISOlAy+Qd7AKyB1NK88RyCGllpZBEEmcN1QA/PpHxymc+NLZ3MDM3mk/lqFSF wGHeccL7ATHv7OSsvadYm0TCfx3tkk0bFcxlvYOJG2NDLgs5q5Gv/hLxxj34PkDLERiI G4CfdMq4YuqT9nE4ssCjy7TWv9pXXMdr/4vvUl0diiJUgbSPo6X3mM/ivOuIxzacBlhB 8zBH8+y5L6npGOt7XbWPHbn/hNvNnqnikWkF2ffK4CNrz562KGxq+ML7RMUGRZS+xMX3 9nF2PGsiQeTevpHcuNz7UkwLq8JsKv9qXW2gRQ/5GG/VFzqDir5FimR8SHbKbn94er9C NbrQ== 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=b4RC/bHYB8Vb7haYF+eVU5Z7vB8057Yr70QQourlFGQ=; b=pNMnQfmE9DHevKdwWmpKOcvgHMEIQVH4w7cga9PsBSvEHnreHE5bd8QeKLcisGIYKC OAEvLo+VMswT7zVjKqj4lHUekQg9AQ9xihoN8US+8yKIgzoLRvRLxu+QPje6DrIPkiUi foXK8F6NWyuCo0RANlwxBE7YFm07wqt+wtSY4K5C0VzV/r/upITzsTVfMrAMh39K3kAw ZkziFsziNURalWwA+qoheBscFTtpPLs+dYEMe6zZPU1izu8/PFaiYzSbMwfkF+w9u9Ps R7tiwGK5V9aO5LYKvBfQ+IEM/V5XDP6+6wYVJ6Ao0LUCr+jMnJ5sbDOpgX5c7Wo/SENQ TQoQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=fKuLPq05; 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 w26-v6si1189633pgk.372.2018.07.17.08.38.20; Tue, 17 Jul 2018 08:38:20 -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=fKuLPq05; 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 S1731641AbeGQQLa (ORCPT + 31 others); Tue, 17 Jul 2018 12:11:30 -0400 Received: from mail-wm0-f68.google.com ([74.125.82.68]:52812 "EHLO mail-wm0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730810AbeGQQKL (ORCPT ); Tue, 17 Jul 2018 12:10:11 -0400 Received: by mail-wm0-f68.google.com with SMTP id o11-v6so1960417wmh.2 for ; Tue, 17 Jul 2018 08:36:58 -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=RybCvrLLpKZn5olaMGeKxDKUDUpslEv67akLoFK2Tb4i4ti7JG2X7O+ig8qQgxJfGW P6DJSlLrQJn/wackHGOY9W8x06AsIfdqlWSSaEu7QPQ/waXcRsKSo/JxqXJkpSrStjYl k21XOCBkoUj8gkz5lWqxyBN72/A270RXhgVQer9WPcrfq38KOV0oEhZQFrV/56iLCf39 ERtf3vNkrOo3DlgqLS7YXWgDaYLpqACb5qxgrRopHyjF/1Bv8Y8ZQLj/Whn/Xr8UE6yA 5ITU350kBMgHeXZlfpBw6ggcJ9+0wbP49x8mQteDjNW3UzMSmGdhz8BT3yJ1oMZvPnCc DGYg== X-Gm-Message-State: AOUpUlHTZLKI+H24TjEor35tCVb0/CLuXUN2fyoQl67YRmWGU9ksjfSJ bizOU/ELRhxFQwgz3CvJbVSZzA== 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 Cc: Jerome Brunet , alsa-devel@alsa-project.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-amlogic@lists.infradead.org Subject: [PATCH 08/15] ASoC: meson: add axg tdm interface DT binding documentation 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> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 -- 2.14.4 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"; +};