From patchwork Sat Apr 12 06:17:34 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Shiyan X-Patchwork-Id: 3972651 Return-Path: X-Original-To: patchwork-alsa-devel@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id B0DBA9F374 for ; Sat, 12 Apr 2014 06:18:06 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id B9CFD2034E for ; Sat, 12 Apr 2014 06:18:05 +0000 (UTC) Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) by mail.kernel.org (Postfix) with ESMTP id 8FA532034A for ; Sat, 12 Apr 2014 06:18:04 +0000 (UTC) Received: by alsa0.perex.cz (Postfix, from userid 1000) id A9B10261689; Sat, 12 Apr 2014 08:18:03 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Spam-Status: No, score=-1.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, FREEMAIL_FROM, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=no version=3.3.1 Received: from alsa0.perex.cz (localhost [IPv6:::1]) by alsa0.perex.cz (Postfix) with ESMTP id 895D32607C8; Sat, 12 Apr 2014 08:17:52 +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 5B62D260824; Sat, 12 Apr 2014 08:17:51 +0200 (CEST) Received: from smtp1.mail.ru (smtp1.mail.ru [94.100.176.129]) by alsa0.perex.cz (Postfix) with ESMTP id 52A372607B6 for ; Sat, 12 Apr 2014 08:17:43 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mail.ru; s=mail2; h=Message-Id:Date:Subject:Cc:To:From; bh=7H3P35WZ3p2fob1G6XyWmNcZm/ZC7FPSufNo5UbGgdg=; b=KHFNDoRbc5DAmZbkc4xPAvD1RhPX8BlnXxcDeSTO7/alFaavNt/iT0p4XUmWKy5IZnk9pX5FueTCswuC31YhOqYbUv4Q9uPQmyjqRu0Pn3aIfwdyN/ojAGlO332/zAk8xPBS1FBqbEnXIctBUIAa2Aj4oaUn8JTUw7ybGEXVDp4=; Received: from [5.18.98.0] (port=53971 helo=shc.zet) by smtp1.mail.ru with esmtpa (envelope-from ) id 1WYrG2-0003P9-F2; Sat, 12 Apr 2014 10:17:42 +0400 From: Alexander Shiyan To: alsa-devel@alsa-project.org Date: Sat, 12 Apr 2014 10:17:34 +0400 Message-Id: <1397283454-684-1-git-send-email-shc_work@mail.ru> X-Mailer: git-send-email 1.8.3.2 X-Spam: Not detected X-Mras: Ok Cc: Mark Rutland , devicetree@vger.kernel.org, Pawel Moll , Arnd Bergmann , Ian Campbell , Takashi Iwai , Liam Girdwood , Rob Herring , Grant Likely , Mark Brown , Alexander Shiyan , Kumar Gala , Olof Johansson Subject: [alsa-devel] [PATCH v2 2/2] ASoC: cirrus: clps711x: Add bindings documentation for the CLPS711X DAI 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 This patch adds the devicetree documentation for the Cirrus Logic CLPS711X Digital Audio Interface (DAI). Signed-off-by: Alexander Shiyan --- .../bindings/sound/cirrus,clps711x-dai.txt | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 Documentation/devicetree/bindings/sound/cirrus,clps711x-dai.txt diff --git a/Documentation/devicetree/bindings/sound/cirrus,clps711x-dai.txt b/Documentation/devicetree/bindings/sound/cirrus,clps711x-dai.txt new file mode 100644 index 0000000..fd37774 --- /dev/null +++ b/Documentation/devicetree/bindings/sound/cirrus,clps711x-dai.txt @@ -0,0 +1,20 @@ +* Cirrus Logic CLPS711X Digital Audio Interface (DAI) + +Required properties: +- compatible: Shall contain "cirrus,clps711x-dai". +- reg: Should contain registers location and length. +- clocks: phandle + clock specifier pair of the CPU PLL reference + clock and (optionally) external MCLK reference clock. +- clock-names: The clock should be named "pll" for CPU PLL and "mclk" + for external MCLK. +- interrupts: Should contain DAI interrupt number. + +Example: + dai: dai@80002000 { + #sound-dai-cells = <0>; + compatible = "cirrus,ep7312-dai", "cirrus,clps711x-dai"; + reg = <0x80002000 0x604>; + clocks = <&clks 3>, <&clk12288>; + clock-names = "pll", "mclk"; + interrupts = <32>; + };