From patchwork Thu Jun 4 03:41:20 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jun Nie X-Patchwork-Id: 49503 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wg0-f71.google.com (mail-wg0-f71.google.com [74.125.82.71]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 4549320DDC for ; Thu, 4 Jun 2015 03:43:00 +0000 (UTC) Received: by wgez8 with SMTP id z8sf7036420wge.2 for ; Wed, 03 Jun 2015 20:42:59 -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=VrJq7r7yN11jGEdqu1yocgkp0ewi+6GjTUsu7ZiKZ8Mw/tx7CvPoIS9aXsSy7qGWVN laip9HRvbvd9Pi88fFs4L+Pg96OKXMZ+rUnf/FEfYIQhv2sTyvBvC8XmAP+PcQ43mbr3 1u+rjsI4x0fQGzL2WtphZbEgMGy4N1fAGg43FJoXgh2UEo03CXqkOfBHyqeZD5g7jdWL 6mChXRPiiAscc4MTIGFDeJPnzjAiN3Cw1SzuqpQZjcGfycjd8pQ7if+rr28A3uHDbn4K CAGnOWI2vlhckF/UtwD7++gV/i4e/RGqqkteRIAQkWADMKGoqrE3ozJA76XrCMAOYK0f a1mg== X-Gm-Message-State: ALoCoQkoOJPL5ew6lLK7DCLOCh5yRhvfzj4ZpvK3+3YmeTDoXkhUVvCCz5kP+SXLi/jB3H/3dqCs X-Received: by 10.180.90.106 with SMTP id bv10mr1814419wib.6.1433389379616; Wed, 03 Jun 2015 20:42:59 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.5.67 with SMTP id q3ls136562laq.78.gmail; Wed, 03 Jun 2015 20:42:59 -0700 (PDT) X-Received: by 10.152.88.75 with SMTP id be11mr11192587lab.6.1433389379454; Wed, 03 Jun 2015 20:42:59 -0700 (PDT) Received: from mail-lb0-f176.google.com (mail-lb0-f176.google.com. [209.85.217.176]) by mx.google.com with ESMTPS id d1si665525laf.93.2015.06.03.20.42.59 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 03 Jun 2015 20:42:59 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.176 as permitted sender) client-ip=209.85.217.176; Received: by lbcue7 with SMTP id ue7so19257596lbc.0 for ; Wed, 03 Jun 2015 20:42:59 -0700 (PDT) X-Received: by 10.112.219.70 with SMTP id pm6mr34503358lbc.41.1433389379366; Wed, 03 Jun 2015 20:42:59 -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 hn6csp277815lbb; Wed, 3 Jun 2015 20:42:58 -0700 (PDT) X-Received: by 10.194.237.34 with SMTP id uz2mr8617943wjc.155.1433389378532; Wed, 03 Jun 2015 20:42:58 -0700 (PDT) Received: from alsa0.perex.cz (alsa0.perex.cz. [77.48.224.243]) by mx.google.com with ESMTP id hm14si34318457wib.7.2015.06.03.20.42.57; Wed, 03 Jun 2015 20:42:58 -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 5B4A2266040; Thu, 4 Jun 2015 05:42:57 +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 D4EBD265E36; Thu, 4 Jun 2015 05:42:21 +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 BF395265E3A; Thu, 4 Jun 2015 05:42:20 +0200 (CEST) Received: from mail-pd0-f174.google.com (mail-pd0-f174.google.com [209.85.192.174]) by alsa0.perex.cz (Postfix) with ESMTP id 8B16E265DD3 for ; Thu, 4 Jun 2015 05:42:14 +0200 (CEST) Received: by pdbnf5 with SMTP id nf5so21340301pdb.2 for ; Wed, 03 Jun 2015 20:42:13 -0700 (PDT) X-Received: by 10.68.224.10 with SMTP id qy10mr28014762pbc.23.1433389333655; Wed, 03 Jun 2015 20:42:13 -0700 (PDT) Received: from localhost.localdomain ([107.6.117.179]) by mx.google.com with ESMTPSA id fh9sm2162491pdb.17.2015.06.03.20.42.08 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 03 Jun 2015 20:42:12 -0700 (PDT) From: Jun Nie To: broonie@kernel.org, lgirdwood@gmail.com Date: Thu, 4 Jun 2015 11:41:20 +0800 Message-Id: <1433389283-15694-2-git-send-email-jun.nie@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1433389283-15694-1-git-send-email-jun.nie@linaro.org> References: <1433389283-15694-1-git-send-email-jun.nie@linaro.org> Cc: jason.liu@linaro.org, alsa-devel@alsa-project.org, shawn.guo@linaro.org, wan.zhijun@zte.com.cn, Jun Nie Subject: [alsa-devel] [PATCH v4 1/4] 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.217.176 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"; + };