From patchwork Fri May 29 13:31:16 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jun Nie X-Patchwork-Id: 49212 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wi0-f200.google.com (mail-wi0-f200.google.com [209.85.212.200]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 3D41D218E7 for ; Fri, 29 May 2015 13:32:34 +0000 (UTC) Received: by wifq9 with SMTP id q9sf6383978wif.3 for ; Fri, 29 May 2015 06:32:33 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:delivered-to:from:to:date :message-id:in-reply-to:references:cc:subject:precedence:list-id :list-unsubscribe:list-archive:list-post:list-help:list-subscribe :mime-version:content-type:content-transfer-encoding:errors-to :sender:x-original-sender:x-original-authentication-results :mailing-list; bh=LAd/+ZGawzkkoKWWY96E4TFWgZIWlcL5v3HqHOsrJYo=; b=VVrZF+w2XnpRDEkThlr8h26LCpYCVPigehchqn0T5dbQFJAuZHtaBq/2OUdNXSsigf glww5tCbbAKg/+pKSitbZRi10JdZmfa/YQ+dprZkoDKZx4G4kyao8T5fuZolnaqvAyWH qJPjJHilT2bSGvbwRyv4bYPkbPW2thA68H8o3lwEZypgA2dcG537QK/0N/rD4AqosaRL r7C6vyOAKOxx+/HKIM5kQTC/bW0TXSnxCKXl71lgtTkN34txUbcuydXhr3iiMow06QmJ rQ8wrBm4bWmaDwzysYZIOPzGCJn7A+/CeqsFP2Z/0y8X8sNGZDZUATrqY5zBpcNIVXNl KqZg== X-Gm-Message-State: ALoCoQn2o0B0qe7ZQjaKjuqcrOcLxU+fl83lOaVwAi/ARmuNVcmyG2y39QZLxXpge6RL0Yj6H1qD X-Received: by 10.194.175.36 with SMTP id bx4mr7301001wjc.1.1432906353573; Fri, 29 May 2015 06:32:33 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.36.227 with SMTP id t3ls348365laj.72.gmail; Fri, 29 May 2015 06:32:33 -0700 (PDT) X-Received: by 10.112.126.162 with SMTP id mz2mr7792296lbb.97.1432906353410; Fri, 29 May 2015 06:32:33 -0700 (PDT) Received: from mail-la0-f45.google.com (mail-la0-f45.google.com. [209.85.215.45]) by mx.google.com with ESMTPS id bb9si4687262lab.145.2015.05.29.06.32.33 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 29 May 2015 06:32:33 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.45 as permitted sender) client-ip=209.85.215.45; Received: by labko7 with SMTP id ko7so52242262lab.2 for ; Fri, 29 May 2015 06:32:33 -0700 (PDT) X-Received: by 10.112.222.133 with SMTP id qm5mr8028782lbc.86.1432906353288; Fri, 29 May 2015 06:32:33 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.108.230 with SMTP id hn6csp337283lbb; Fri, 29 May 2015 06:32:32 -0700 (PDT) X-Received: by 10.195.11.3 with SMTP id ee3mr15494344wjd.89.1432906352334; Fri, 29 May 2015 06:32:32 -0700 (PDT) Received: from alsa0.perex.cz (alsa0.perex.cz. [77.48.224.243]) by mx.google.com with ESMTP id i15si3529180wiv.82.2015.05.29.06.32.31; Fri, 29 May 2015 06:32:32 -0700 (PDT) Received-SPF: neutral (google.com: 77.48.224.243 is neither permitted nor denied by best guess record for domain of alsa-devel-bounces@alsa-project.org) client-ip=77.48.224.243; Received: by alsa0.perex.cz (Postfix, from userid 1000) id 1C8E5266851; Fri, 29 May 2015 15:32:31 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.2.4 (2008-01-01) on mail1.perex.cz X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=disabled version=3.2.4 Received: from alsa0.perex.cz (localhost [IPv6:::1]) by alsa0.perex.cz (Postfix) with ESMTP id 1CB062606CB; Fri, 29 May 2015 15:31:56 +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 62D952606CB; Fri, 29 May 2015 15:31:54 +0200 (CEST) Received: from mail-pa0-f44.google.com (mail-pa0-f44.google.com [209.85.220.44]) by alsa0.perex.cz (Postfix) with ESMTP id 5B30D2606B2 for ; Fri, 29 May 2015 15:31:48 +0200 (CEST) Received: by pacrp13 with SMTP id rp13so13091639pac.2 for ; Fri, 29 May 2015 06:31:47 -0700 (PDT) X-Received: by 10.70.109.131 with SMTP id hs3mr15132982pdb.40.1432906306712; Fri, 29 May 2015 06:31:46 -0700 (PDT) Received: from localhost.localdomain ([107.6.117.178]) by mx.google.com with ESMTPSA id he9sm5675442pbc.7.2015.05.29.06.31.40 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 29 May 2015 06:31:45 -0700 (PDT) From: Jun Nie To: broonie@kernel.org, lgirdwood@gmail.com Date: Fri, 29 May 2015 21:31:16 +0800 Message-Id: <1432906281-27698-2-git-send-email-jun.nie@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1432906281-27698-1-git-send-email-jun.nie@linaro.org> References: <1432906281-27698-1-git-send-email-jun.nie@linaro.org> Cc: alsa-devel@alsa-project.org, shawn.guo@linaro.org, wan.zhijun@zte.com.cn, Jun Nie Subject: [alsa-devel] [PATCH v3 1/6] dt: Add documentation for the ZTE SPDIF controller X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: 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-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: jun.nie@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.45 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 This patch adds the devicetree documentation for the ZTE zx296702 SPDIF audio controller. Signed-off-by: Jun Nie --- .../devicetree/bindings/sound/zte,zx-spdif.txt | 28 ++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 Documentation/devicetree/bindings/sound/zte,zx-spdif.txt diff --git a/Documentation/devicetree/bindings/sound/zte,zx-spdif.txt b/Documentation/devicetree/bindings/sound/zte,zx-spdif.txt new file mode 100644 index 0000000..989544e --- /dev/null +++ b/Documentation/devicetree/bindings/sound/zte,zx-spdif.txt @@ -0,0 +1,28 @@ +ZTE ZX296702 SPDIF controller + +Required properties: + - compatible : Must be "zte,zx296702-spdif" + - reg : Must contain SPDIF core's registers location and length + - clocks : Pairs of phandle and specifier referencing the controller's clocks. + - clock-names: "tx" for the clock to the SPDIF interface. + - dmas: Pairs of phandle and specifier for the DMA channel that is used by + the core. The core expects one dma channel for transmit. + - dma-names : Must be "tx" + +For more details on the 'dma', 'dma-names', 'clock' and 'clock-names' properties +please check: + * resource-names.txt + * clock/clock-bindings.txt + * dma/dma.txt + +Example: + spdif0: spdif0@0b004000 { + compatible = "zte,zx296702-spdif"; + reg = <0x0b004000 0x1000>; + clocks = <&lsp0clk ZX296702_SPDIF0_DIV>; + clock-names = "tx"; + interrupts = ; + dmas = <&dma 4>; + dma-names = "tx"; + status = "okay"; + };