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: 93604 Delivered-To: patch@linaro.org Received: by 10.140.20.99 with SMTP id 90csp2493726qgi; Tue, 7 Feb 2017 19:12:39 -0800 (PST) X-Received: by 10.84.231.2 with SMTP id f2mr7522239plk.117.1486523559844; Tue, 07 Feb 2017 19:12:39 -0800 (PST) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id x26si5871046pge.197.2017.02.07.19.12.39; Tue, 07 Feb 2017 19:12:39 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752759AbdBHDMh (ORCPT + 7 others); Tue, 7 Feb 2017 22:12:37 -0500 Received: from mail-pg0-f50.google.com ([74.125.83.50]:33180 "EHLO mail-pg0-f50.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751946AbdBHDMg (ORCPT ); Tue, 7 Feb 2017 22:12:36 -0500 Received: by mail-pg0-f50.google.com with SMTP id 204so44387890pge.0 for ; Tue, 07 Feb 2017 19:11:20 -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=QLpUMp8Pm+LVLRTLH6w9sRPW99gr1KFUQqptMe+ho5L1B1xQKTN2K1ZKS18y/oLdWh FB11v3RxaZPhI1zikRWybfvPNCZKxGkqJvc3xUm89GW9YgORdkBX6SHa6VuA/eth2uyt UVkYZufGnhx+cocJc/Lo6ecYeZVTPdRNvx0H0DJu+805TK4b58F5bg/OslC3Uch4oByh TjNa7/5XgkDenq9ogBvHQ7GTKHTLConomuT4FILnrd5+Wz8xa+e7kxsF//i58btixM25 fXWOxYE6OpYXDhiUMSrOFs2ALiBMm7swS2JuehWWpl5x0/i+7FmmCFI8W/l7XKmzGPUS p5oQ== X-Gm-Message-State: AIkVDXLT6tPAU8zQ+9myy65Zb3sXcT8VTZVwInjzQlD3E9Iav6ekGw9w+uC8cf3tk5vUUWBK 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 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 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> Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org 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(-) -- 2.7.4 -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html 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";