From patchwork Thu Jun 4 13:34:44 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jun Nie X-Patchwork-Id: 49527 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wg0-f72.google.com (mail-wg0-f72.google.com [74.125.82.72]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 6DCFA21562 for ; Thu, 4 Jun 2015 13:36:30 +0000 (UTC) Received: by wgv5 with SMTP id 5sf10291991wgv.0 for ; Thu, 04 Jun 2015 06:36:29 -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=nMgg7RgoKZdLEci2tcj1u4NLKxtrFTiEU1Fk0pQRcZ6OQgzPJkuTK4pplITK+s6K4x asckS3bYtbA481EbE/6n5q/Emod4GY+3cdJFq2z/3T65Cn8bDd4fKVmBYY+UhoENRLb1 TSOoJsgT80LV5BtpPINk8XrnOuXnlSwOY4Ho08JPpiTuLyOpYTvUR/CPEVOx6xmlpw2Z LSRbZEIncyRnoKoLobuK+Bc5DMlQaMqvhHpzcNOYbeoi9loLTTNSL6tnbyECBj/O8kYq F7sYojUxXDbaeBd1KeMczob0bqGM0kaHOeMDxiGAJZ7hUGvsIXx5P7QnG6I+66KMQqKD 1uFg== X-Gm-Message-State: ALoCoQmEpKM5cxdYm4a5uhmi7LfLXIH7viASRU9JPrgaS3T3nslEZD3oJj5CHUYWNiPaqVNtZJF/ X-Received: by 10.112.171.41 with SMTP id ar9mr35760219lbc.24.1433424989763; Thu, 04 Jun 2015 06:36:29 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.43.202 with SMTP id y10ls217619lal.1.gmail; Thu, 04 Jun 2015 06:36:29 -0700 (PDT) X-Received: by 10.152.43.168 with SMTP id x8mr37842970lal.79.1433424989607; Thu, 04 Jun 2015 06:36:29 -0700 (PDT) Received: from mail-la0-f47.google.com (mail-la0-f47.google.com. [209.85.215.47]) by mx.google.com with ESMTPS id mh3si1868176lbb.59.2015.06.04.06.36.29 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 04 Jun 2015 06:36:29 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.47 as permitted sender) client-ip=209.85.215.47; Received: by labpy14 with SMTP id py14so32104766lab.0 for ; Thu, 04 Jun 2015 06:36:29 -0700 (PDT) X-Received: by 10.112.155.197 with SMTP id vy5mr37022875lbb.29.1433424989464; Thu, 04 Jun 2015 06:36:29 -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 hn6csp615317lbb; Thu, 4 Jun 2015 06:36:28 -0700 (PDT) X-Received: by 10.180.77.102 with SMTP id r6mr52540846wiw.87.1433424988627; Thu, 04 Jun 2015 06:36:28 -0700 (PDT) Received: from alsa0.perex.cz (alsa0.perex.cz. [77.48.224.243]) by mx.google.com with ESMTP id db10si7338584wjb.46.2015.06.04.06.36.27; Thu, 04 Jun 2015 06:36:28 -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 6AD132665EA; Thu, 4 Jun 2015 15:36:27 +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 340932606E0; Thu, 4 Jun 2015 15:35:39 +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 15E6D26649A; Thu, 4 Jun 2015 15:35:38 +0200 (CEST) Received: from mail-pd0-f180.google.com (mail-pd0-f180.google.com [209.85.192.180]) by alsa0.perex.cz (Postfix) with ESMTP id 496492606B5 for ; Thu, 4 Jun 2015 15:35:16 +0200 (CEST) Received: by pdbnf5 with SMTP id nf5so31243498pdb.2 for ; Thu, 04 Jun 2015 06:35:15 -0700 (PDT) X-Received: by 10.70.135.195 with SMTP id pu3mr69584291pdb.0.1433424915208; Thu, 04 Jun 2015 06:35:15 -0700 (PDT) Received: from localhost.localdomain ([107.6.117.179]) by mx.google.com with ESMTPSA id ph4sm3937519pdb.43.2015.06.04.06.35.08 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 04 Jun 2015 06:35:14 -0700 (PDT) From: Jun Nie To: broonie@kernel.org, lgirdwood@gmail.com Date: Thu, 4 Jun 2015 21:34:44 +0800 Message-Id: <1433424887-11694-2-git-send-email-jun.nie@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1433424887-11694-1-git-send-email-jun.nie@linaro.org> References: <1433424887-11694-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 v5 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.215.47 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"; + };