From patchwork Thu Feb 9 03:12:57 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Baoyou Xie X-Patchwork-Id: 9563949 X-Patchwork-Delegate: sboyd@codeaurora.org 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 0182360234 for ; Thu, 9 Feb 2017 03:13:52 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 41E1628511 for ; Thu, 9 Feb 2017 03:13:51 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 3651328522; Thu, 9 Feb 2017 03:13:51 +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=-5.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, HK_RANDOM_FROM, RCVD_IN_DNSWL_HI, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 98D1D2853B for ; Thu, 9 Feb 2017 03:13:50 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751574AbdBIDNs (ORCPT ); Wed, 8 Feb 2017 22:13:48 -0500 Received: from mail-pg0-f52.google.com ([74.125.83.52]:33819 "EHLO mail-pg0-f52.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751557AbdBIDNq (ORCPT ); Wed, 8 Feb 2017 22:13:46 -0500 Received: by mail-pg0-f52.google.com with SMTP id 14so53507972pgg.1 for ; Wed, 08 Feb 2017 19:13:46 -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=kNTF9ZncefzORkD8NCoOLye2QRXYPhkE6zbEHNjcPks=; b=cdiKF5z030JykcV7mmlxRNipvkvmMRAARF+8pKwV2qlLKe6b/bXcZzSUgk4y8zLcdX 84nWU140A+MbGtg9t9uU0iPhjttpIYQrhV358gMPuXdgv5ALaEM25k+zPvc8Je8ooM8T uqHT5d2gh3Ub6jDt1kkLg6ID2KJcJrLZQ2ezA= 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=kNTF9ZncefzORkD8NCoOLye2QRXYPhkE6zbEHNjcPks=; b=GfdCEyXGwitqDvWmPxdm507C+9iMhQ7zC/VcDGtvSSLpaEXUeDFULYsx/DiCsGsh8E +XVOLdR25Z8lKj+tM0hHpybjNB3IKiANTXw63r9yEd4RaW0y0+9zaCZHLUmvt67HD9v8 GG/CSPEI0fI2kgLFcdKKs+PZH6VVGz9Ob+G4V2vVH6TiF/z9QS7+vgnJhYVxwckOzX3W bNA6m6Ac7FYuT34HkNs6vcbwT8dmHjba1rQ74Xr4T0Qe5+r2Ge6QxxIcLxAAx9wsBUQX Skb5rdMDuXU/oBvUfBxwbFzYTnzRBSQ4Zf8klatBJNTtfiApMLRPhjSSA+HTdQV5jIgP b/wA== X-Gm-Message-State: AMke39lLn6j+DVZiNPJqa8+FNtG1cCRkDcgsJrZf1OwOp8V0THTFarqu/8usfhKtFtrHdzhk X-Received: by 10.84.136.7 with SMTP id 7mr1258938plk.100.1486610020778; Wed, 08 Feb 2017 19:13:40 -0800 (PST) Received: from localhost.localdomain ([104.237.91.118]) by smtp.gmail.com with ESMTPSA id c74sm23767201pfc.1.2017.02.08.19.13.32 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 08 Feb 2017 19:13:40 -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 Cc: alsa-devel@alsa-project.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-clk@vger.kernel.org, shawnguo@kernel.org, mathieu.poirier@linaro.org, xie.baoyou@zte.com.cn, chen.chaokai@zte.com.cn, wang.qiang01@zte.com.cn Subject: [PATCH v4 2/3] ASoC: zx-i2s: Add the info of pclk to the binding document for zx2967 family Date: Thu, 9 Feb 2017 11:12:57 +0800 Message-Id: <1486609978-18482-2-git-send-email-baoyou.xie@linaro.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1486609978-18482-1-git-send-email-baoyou.xie@linaro.org> References: <1486609978-18482-1-git-send-email-baoyou.xie@linaro.org> Sender: linux-clk-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-clk@vger.kernel.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 | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/Documentation/devicetree/bindings/sound/zte,zx-i2s.txt b/Documentation/devicetree/bindings/sound/zte,zx-i2s.txt index 7e5aa6f..292ad50 100644 --- a/Documentation/devicetree/bindings/sound/zte,zx-i2s.txt +++ b/Documentation/devicetree/bindings/sound/zte,zx-i2s.txt @@ -1,10 +1,12 @@ ZTE ZX296702 I2S controller Required properties: - - compatible : Must be "zte,zx296702-i2s" + - compatible : Must be one of: + "zte,zx296718-i2s", "zte,zx296702-i2s" + "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" @@ -16,12 +18,12 @@ please check: * dma/dma.txt Example: - i2s0: i2s0@0b005000 { + i2s0: i2s@b005000 { #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";