From patchwork Wed Feb 8 03:02:34 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Baoyou Xie X-Patchwork-Id: 9561719 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 D5DFA60434 for ; Wed, 8 Feb 2017 03:05:36 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C86192840B for ; Wed, 8 Feb 2017 03:05:36 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id BD4FA28495; Wed, 8 Feb 2017 03:05:36 +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=-0.3 required=2.0 tests=BAYES_00,DKIM_SIGNED, HK_RANDOM_FROM, RCVD_IN_SORBS_SPAM, T_DKIM_INVALID autolearn=no version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.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 77CE028488 for ; Wed, 8 Feb 2017 03:05:36 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1cbIZa-00060r-Gl; Wed, 08 Feb 2017 03:05:34 +0000 Received: from mail-pf0-f179.google.com ([209.85.192.179]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1cbIZU-0005k8-Dz for linux-arm-kernel@lists.infradead.org; Wed, 08 Feb 2017 03:05:30 +0000 Received: by mail-pf0-f179.google.com with SMTP id f144so38140162pfa.2 for ; Tue, 07 Feb 2017 19:05:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=DC+fOaU92qgC0v43XhENi7gJDWXtDSJQJYhqxDIkWYI=; b=cN1AnixBSdCLn2Ig/4eLmYhsPtcMYRzD2A6vw5r2rPZO+GXJ0/IURRv9n6X6TvvtxQ 0NFe/vmiYTF2S9FtsyFqNduvoHAzgd24lQUXLOqLryCRondlwM2nuhB14toCLQNVMnih nTI78hqtj+yG6vHtaBc0saW5LCeEScB75YliM= 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=DC+fOaU92qgC0v43XhENi7gJDWXtDSJQJYhqxDIkWYI=; b=tmb35V+2THET/Q74q3itK/yTaAK0zEFPNlOrPg3cju28Hjgb+9lNnWJVj+M3fLrhU5 sNZ3KhGV7it6dYWv4bGlaYj2BsFYeMKU3Sy3KKhMvZbZ2AbNu6s5+BSdYQgOs/nyL1S9 PztzRJSbPJb9Z6IZq1OFJ73knx0xfNh76UkBT0p/LTzszb1YVIpZvf6GGd2m1WOIdN4u pMYP1yey57wRrEcnXK9T1o8wj72p238kKbydYlrfQzxHggIEh1xTyZN1V4v2HnzM7/15 HdyUFXb+yTG150sokRGDtbAXo1xZRnWqOsN6OHBzZCrNGY2r1TUhGF4kF10cfEQrU5KF 9QcQ== X-Gm-Message-State: AIkVDXJgI8NoAStKoC7WkJMs8OV0cLZ6Ba5KgOQjUe5EguM1I0I6Zd9/c5yVo00CWzibR79k X-Received: by 10.99.171.5 with SMTP id p5mr24230850pgf.182.1486523047641; Tue, 07 Feb 2017 19:04:07 -0800 (PST) Received: from localhost.localdomain ([45.56.152.31]) by smtp.gmail.com with ESMTPSA id j78sm14837374pfk.39.2017.02.07.19.03.54 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 07 Feb 2017 19:04:07 -0800 (PST) From: Baoyou Xie To: lgirdwood@gmail.com, broonie@kernel.org, robh+dt@kernel.org, mark.rutland@arm.com, jun.nie@linaro.org, baoyou.xie@linaro.org, mturquette@baylibre.com, sboyd@codeaurora.org, perex@perex.cz, tiwai@suse.com, shawn.guo@linaro.org, vinod.koul@intel.com Subject: [PATCH v3 2/3] ASoC: zx-i2s: introduce pclk for zx2967 family Date: Wed, 8 Feb 2017 11:02:34 +0800 Message-Id: <1486522955-14528-2-git-send-email-baoyou.xie@linaro.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1486522955-14528-1-git-send-email-baoyou.xie@linaro.org> References: <1486522955-14528-1-git-send-email-baoyou.xie@linaro.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170207_190528_707247_7B98B1A6 X-CRM114-Status: GOOD ( 11.34 ) X-BeenThere: linux-arm-kernel@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, mathieu.poirier@linaro.org, xie.baoyou@zte.com.cn, linux-kernel@vger.kernel.org, chen.chaokai@zte.com.cn, wang.qiang01@zte.com.cn, shawnguo@kernel.org, linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP ZTE's zx2967 I2S controller driver introduces pclk, this patch documents this fact. Signed-off-by: Baoyou Xie --- Documentation/devicetree/bindings/sound/zte,zx-i2s.txt | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/Documentation/devicetree/bindings/sound/zte,zx-i2s.txt b/Documentation/devicetree/bindings/sound/zte,zx-i2s.txt index 7e5aa6f..77390c0 100644 --- a/Documentation/devicetree/bindings/sound/zte,zx-i2s.txt +++ b/Documentation/devicetree/bindings/sound/zte,zx-i2s.txt @@ -4,7 +4,7 @@ Required properties: - compatible : Must be "zte,zx296702-i2s" - reg : Must contain I2S 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 I2S interface. + - clock-names: "wclk" for the wclk, "pclk" for the pclk to the I2S interface. - dmas: Pairs of phandle and specifier for the DMA channel that is used by the core. The core expects two dma channels for transmit. - dma-names : Must be "tx" and "rx" @@ -15,13 +15,17 @@ please check: * clock/clock-bindings.txt * dma/dma.txt +Please note that ZTE ZX296702 I2S controller driver is compatible for zx296702 +and zx296718, so compatible string might be set as follow: + "zte,zx296718-i2s", "zte,zx296702-i2s" + Example: i2s0: i2s0@0b005000 { #sound-dai-cells = <0>; - compatible = "zte,zx296702-i2s"; + compatible = "zte,zx296718-i2s", "zte,zx296702-i2s"; reg = <0x0b005000 0x1000>; - clocks = <&lsp0clk ZX296702_I2S0_DIV>; - clock-names = "tx"; + clocks = <&audiocrm AUDIO_I2S0_WCLK>, <&audiocrm AUDIO_I2S0_PCLK>; + clock-names = "wclk", "pclk"; interrupts = ; dmas = <&dma 5>, <&dma 6>; dma-names = "tx", "rx";