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: 93662 Delivered-To: patch@linaro.org Received: by 10.140.20.99 with SMTP id 90csp56746qgi; Wed, 8 Feb 2017 19:13:55 -0800 (PST) X-Received: by 10.99.134.199 with SMTP id x190mr1234292pgd.68.1486610035759; Wed, 08 Feb 2017 19:13:55 -0800 (PST) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d1si8861193pli.33.2017.02.08.19.13.55; Wed, 08 Feb 2017 19:13:55 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751552AbdBIDNn (ORCPT + 25 others); Wed, 8 Feb 2017 22:13:43 -0500 Received: from mail-pg0-f51.google.com ([74.125.83.51]:33496 "EHLO mail-pg0-f51.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750994AbdBIDNl (ORCPT ); Wed, 8 Feb 2017 22:13:41 -0500 Received: by mail-pg0-f51.google.com with SMTP id 204so53496829pge.0 for ; Wed, 08 Feb 2017 19:13:41 -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=i+2sjwOxq0T4mMDTd+UgSciwCwMlhf+O7C5eWZHXYFNoc7eAt3tYD0TC1OW9mcIdrf dYOJyd8Aa9Rl0Q+WkHZrP/geY2pj3jCoS7at1ovhlLuurC/wpOZpojOOx6CqN1/jnkad Xm50cSAlqvWao/ypknERkrRQF9KrHsS1lPL0zX4aZM1k2rKDlQ3KosDnTsVNu0I4gGnT 8lXHXKCDk+KCeloNwYwvyp4zHyNR852UrG8qHc6XLga5mTZVJtcqvyROkvCGrebCCEzP xkLWXBn/kthpKeYm1A3JBAyxIvQSJZPnneaB9kKNdI0mz5DibZuwbuQc+Pbc6Z0fuu/+ geOQ== X-Gm-Message-State: AMke39lYC939kv4Gm81V8ovmKwYqhmHeu3qlYxjNQoZ+Gn0cmE6ST+AHiuVlNgQw+MLcxGjY 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-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@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 | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) -- 2.7.4 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";