From patchwork Tue Jul 17 15:42:54 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jerome Brunet X-Patchwork-Id: 10529905 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 DD1F2605DC for ; Tue, 17 Jul 2018 15:43:29 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id CDD9A2940A for ; Tue, 17 Jul 2018 15:43:29 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id C13DC2942E; Tue, 17 Jul 2018 15:43:29 +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.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 7504529417 for ; Tue, 17 Jul 2018 15:43:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=TMR4p181vccsLhJ494A6kTL97WYAoVDgLOfgzpC9Dq8=; b=amMLaBk4l6nuxva4CXurNU6N+7 LWisQkPs2sSgNOdmbeWYiogEidyXoRQbm6hbrHHflpxRe4QG0M3ToHeFLfOl3bNOZdZigrO6dfjer xJbzskoLubVZtSKtQ2LidcaMt1HS/a2IWGDkQ2odi36XbkmCPktVD6zFI0JvUXWvj5F7W7RdojD6p Drks+1pYe9mfqkT6Hmi/ft7rK+g7Bbg5kcyPP7IJ4at9PQgo3h/5DxaB10oYiu1RDdSaBh8AKxxwk C/INcT4R6EkV6w2VhvnXeFMI+KcDisaebjvHB0M9AcnQ3osrYXYqxHIqtZKBmbUhm9DWx1Y0uW2K0 uRy/iobw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1ffS8O-000852-Ao; Tue, 17 Jul 2018 15:43:28 +0000 Received: from mail-wr1-x443.google.com ([2a00:1450:4864:20::443]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1ffS8K-00081n-Hu for linux-amlogic@lists.infradead.org; Tue, 17 Jul 2018 15:43:26 +0000 Received: by mail-wr1-x443.google.com with SMTP id h10-v6so1727736wre.6 for ; Tue, 17 Jul 2018 08:43:19 -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=MTkflaydBTJzVf0ZHkleSoX0FARPEM+k3qhZfYkvVTE=; b=o2IbnRjNYWuLXiTnISziSIqs8i1qAN2K1thxLHEt60Gv7oMpwwxZe54qQxipW9p8cP o/mEBbSMR7SxL4Y7Y4HoSSHKUfEDQhma+Pz0Inc/DY/Jb/hmnlAIPkPap40iJ1C82uaZ wwf/p3a58KX3gSu3yu08kWF34Ubxx01kT2P4e/p758fIZ986+IKWJfoSJjnwH0EVEvib Y5XN6AAEEoazChwinY8TBLqj0/cvVebKlawvDRL+jSy3WXs/c/jyHXVSIX22bdq2mnZz nyT2O7dyLI+rI7woKmnbGm7kN5KbtllaZesR6Qjwo9tNWmy3/quCRZsRHuUTmsJMykOo 4usQ== 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=MTkflaydBTJzVf0ZHkleSoX0FARPEM+k3qhZfYkvVTE=; b=G/ISQz4bMCGwPUoAzfibEiOtZHmQUlPBBULexuNvs6blnWRAuHtfnW830gWri7Fz3f EG381s8XYkd2+9DQtMcfsy4SweG6jIdW8FR57QONxEAXCpbfUxdkTPyLG6FPeEbaL7L7 U1rj+nqGFii6L4ENSCXss3zOm2iGpbdcUEfHXsQ34U90pHJbePwAAcKjAlJ+VVZC0KcT ccN4/xJwF1lVF4wHuQmpy4wTI1pKOIhd7zBZ/c23r4hTrB2cuzHP0kFF5gQojNqyiqCv K+Vu3EfvHsXPW/C3+74X7h7K2hV3yJMvC7xS0Q8Qs491MUCPYqvZCf4MNerNyu3X47hJ sOxw== X-Gm-Message-State: AOUpUlH0S1eTHBYSOlA+55enJgCJVRT7CAyA4K9GTmyS4VlAmOunDQRA sLgbSjEoiC1e8pMbV7fhMgJ3mg== X-Google-Smtp-Source: AAOMgpcPxeFv4F8RiC7n/qylbz2QuH5Mfl4yWAV/9eCA49wnxlZg2d/IcSOkJ+W4akLi9vBUg3lG6g== X-Received: by 2002:adf:b2f4:: with SMTP id g107-v6mr1847981wrd.53.1531842198784; Tue, 17 Jul 2018 08:43:18 -0700 (PDT) Received: from boomer.baylibre.local ([90.63.244.31]) by smtp.googlemail.com with ESMTPSA id s12-v6sm17598252wmc.2.2018.07.17.08.43.17 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 17 Jul 2018 08:43:18 -0700 (PDT) From: Jerome Brunet To: Mark Brown , Liam Girdwood , Kevin Hilman , Carlo Caione Subject: [PATCH RESEND 05/15] ASoC: meson: add axg spdif output DT bindings documentation Date: Tue, 17 Jul 2018 17:42:54 +0200 Message-Id: <20180717154304.9973-6-jbrunet@baylibre.com> X-Mailer: git-send-email 2.14.4 In-Reply-To: <20180717154304.9973-1-jbrunet@baylibre.com> References: <20180717154304.9973-1-jbrunet@baylibre.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180717_084324_619358_81DEF869 X-CRM114-Status: GOOD ( 10.27 ) X-BeenThere: linux-amlogic@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, alsa-devel@alsa-project.org, linux-amlogic@lists.infradead.org, linux-kernel@vger.kernel.org, Jerome Brunet MIME-Version: 1.0 Sender: "linux-amlogic" Errors-To: linux-amlogic-bounces+patchwork-linux-amlogic=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Add the DT bindings documentation for axg's SPDIF output. Signed-off-by: Jerome Brunet --- .../bindings/sound/amlogic,axg-spdifout.txt | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 Documentation/devicetree/bindings/sound/amlogic,axg-spdifout.txt diff --git a/Documentation/devicetree/bindings/sound/amlogic,axg-spdifout.txt b/Documentation/devicetree/bindings/sound/amlogic,axg-spdifout.txt new file mode 100644 index 000000000000..521c38ad89e7 --- /dev/null +++ b/Documentation/devicetree/bindings/sound/amlogic,axg-spdifout.txt @@ -0,0 +1,20 @@ +* Amlogic Audio SPDIF Output + +Required properties: +- compatible: 'amlogic,axg-spdifout' +- clocks: list of clock phandle, one for each entry clock-names. +- clock-names: should contain the following: + * "pclk" : peripheral clock. + * "mclk" : master clock +- #sound-dai-cells: must be 0. + +Example on the A113 SoC: + +spdifout: audio-controller@480 { + compatible = "amlogic,axg-spdifout"; + reg = <0x0 0x480 0x0 0x50>; + #sound-dai-cells = <0>; + clocks = <&clkc_audio AUD_CLKID_SPDIFOUT>, + <&clkc_audio AUD_CLKID_SPDIFOUT_CLK>; + clock-names = "pclk", "mclk"; +};