From patchwork Tue Jul 17 15:36:35 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jerome Brunet X-Patchwork-Id: 10529871 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 81793603ED for ; Tue, 17 Jul 2018 15:41:28 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 3CF5529765 for ; Tue, 17 Jul 2018 15:41:20 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 394BE2974A; Tue, 17 Jul 2018 15:41:20 +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 64943296ED for ; Tue, 17 Jul 2018 15:41:19 +0000 (UTC) Received: from alsa0.perex.cz (localhost [127.0.0.1]) by alsa0.perex.cz (Postfix) with ESMTP id 6854C267835; Tue, 17 Jul 2018 17:37:14 +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 C328F26780C; Tue, 17 Jul 2018 17:37:01 +0200 (CEST) Received: from mail-wr1-f65.google.com (mail-wr1-f65.google.com [209.85.221.65]) by alsa0.perex.cz (Postfix) with ESMTP id D80FA2677F9 for ; Tue, 17 Jul 2018 17:36:58 +0200 (CEST) Received: by mail-wr1-f65.google.com with SMTP id h9-v6so1715393wro.3 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=2aX4y48Nr4mxrNaEm41GH+dJkSDI+nV532cD2B8cBj8=; b=icSkR1+VKHX+RZrGD5HIdKOa4QbHYysYIQVdHihx1ZBWcyHXBwfRSKUEqnQAab6F3p sl3pUl3of/QCUkO9KxmsL6qPEWgKI2vijvrg5XrjJVNhdF3uT98YOEiytjcGpe6G3Jj2 tNWPRS8jYTuGNsRcIPcQ5i3wcu/vZKznCjnyapGqSpDAlCUvRx/Sc8Sf239Td56GUQxk VFI2yJQLPVfHjhtyE2a/TizDNg3Y+Ce8u4YQOLd4kgfm1ws1K9ZeKGPL+ygudz5gCv2Q QFAjGQXTzvuQbc6MvKIjXBHrIOo/n2VhoEEvrJYtz8LIyOwSuO8V2z9VNCNGKhtTIGBO CpTg== 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=2aX4y48Nr4mxrNaEm41GH+dJkSDI+nV532cD2B8cBj8=; b=mz4PamTcEpMwirQe96VxVnSol79es9tBo7oggNoKUEWYXo+UH/OFepPG0Lyjoj+6D6 EDHXaPntNfVE71kcgWZO5N166DhZiXxcBz1jf8s9GVBF8c1UtOCXZNRW8U9qtiLl61zp e5fwI0h9yXUqZyiBgB4Y4GP33y7XS7ZmeRZx+KrSF7p0Qzi6KHbDeuFyDdfk1jh/8V1Q 32i2DOPFBsOMM0btKFB1ian0fEU3Wt/xAlpPewmxwTdC0J+04nsSFZYO2JtCiFsgiFHp Ybqln4hRLj9sd3wbMDI7YEn/FFlpvEKTIBhngtWmrX2gbreI0hJw79qkJArnHnLrhY80 EcOg== X-Gm-Message-State: AOUpUlE9rYGDrcjaODQizci35EreVQsCbTjr7xKJOj/vkyr5o2pFMDDv mS1REf5SoIN+dRYZz1SLBMA2sw== X-Google-Smtp-Source: AAOMgpekLrlaZchcgPlskxm85A8XUrltaiUwaxDWznqsArtKpB7M3szInvxvIzhzLc9j/60ClngFbw== X-Received: by 2002:a5d:6103:: with SMTP id v3-v6mr1828270wrt.265.1531841818513; Tue, 17 Jul 2018 08:36:58 -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.57 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 17 Jul 2018 08:36:58 -0700 (PDT) From: Jerome Brunet To: Mark Brown , Liam Girdwood , Kevin Hilman , Carlo Caione Date: Tue, 17 Jul 2018 17:36:35 +0200 Message-Id: <20180717153643.8806-12-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 bindings 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 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"; +};