Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp5041140ybe; Tue, 17 Sep 2019 01:21:39 -0700 (PDT) X-Google-Smtp-Source: APXvYqw7CxzWArP5enLWQ4BVE6Fxx6m1RrTnxErDH52IgJA4taAFZCQBwL9jCV/4HTs3UfZWvYvV X-Received: by 2002:a17:906:1cc7:: with SMTP id i7mr3524842ejh.81.1568708499531; Tue, 17 Sep 2019 01:21:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1568708499; cv=none; d=google.com; s=arc-20160816; b=otg7QyPab9QlSxYH9cz7X+kdI04r0FeMd1u7SN34ueZCOXjy/A7FeCZ/1xC1eADaHG SCyACQ9rBJiZwuNLV7xxWpPd1rBM6fWzqjkC+5j7LeVaqaCtTGgoPdnHtKVOL6Dp8bg1 nRUKfAv0dW278mBWijmJVp5zpO6JeBWWX2FXPjVApV0t3g6ajP6aMRw8fWz5vaaAyVDN oxOcNOhuqOqbX+N3eNWsMTxaR8/VvqMoL7HtJqCNK38f4g1qNsWE6EcaeSq6LCVZxh5I aPaCprSDvkudnDKciro8CdwLzPK5vczYMBHSTGAcqU/AJGWVnva+3XG419aePrSyZyO9 PTLA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=baniowhMYStzAeCarx/sh1i/50jPhkdSEMhte1BfHf4=; b=nIz9WFasKN4z9xNL66ATlwAKi4gO67i/h5XiTMYesSoVDPvzHlTj+3BIex1JFN8Yj8 DRm0cjxZcOwy4rNTZdu6zSqXJZIjgb8w5KrwofjrO5Ytio+4bUifWGADdf74qZ/UIhe2 pyJrWTht/mwhfDswdKs2/alVdwIld3EP+8qWdMxW5WyzpD/oswzgyFgqcBlxdTbZBCB0 77sefUi3WwZdvJJbFpM9lxRhWYtZRv+gvPsVmMgXJQ2u3mLwwVpDl2+4tcHeB+zVfgoL la0/RuNmffUl8lA2ukHFhRs39Mwo+nKCrshMIM/C7Q1PPnk6Irxy5eLyHjuXCjalYM2N +Qfw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=QDkTBI8O; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y21si917922edm.163.2019.09.17.01.21.15; Tue, 17 Sep 2019 01:21:39 -0700 (PDT) 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=@gmail.com header.s=20161025 header.b=QDkTBI8O; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730046AbfIQAF4 (ORCPT + 99 others); Mon, 16 Sep 2019 20:05:56 -0400 Received: from mail-pf1-f195.google.com ([209.85.210.195]:42595 "EHLO mail-pf1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727912AbfIQAFz (ORCPT ); Mon, 16 Sep 2019 20:05:55 -0400 Received: by mail-pf1-f195.google.com with SMTP id q12so952154pff.9; Mon, 16 Sep 2019 17:05:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=baniowhMYStzAeCarx/sh1i/50jPhkdSEMhte1BfHf4=; b=QDkTBI8OkV9+U41zSTFDRaG+W3egIuzxRz5itZnmQdqrzqvVJ8Xtln9xvMRJtZZjAK Tf56eIYGeByJ/f9FMO1zhyFYtwHRPXBRkTWMbmQGlqq3G3yU9pHj+uSYli5/GZ2nleUy i/3w9QBIgH5LhrPkNazF09K1o3/kld6DobWO9umsAeSvaC87oMZySdj5KuagsyM648lf OubKTWGcOBcWG6V+aDyDnxDiiJxNQFzItsHH/ObXq/tFCEeB/ETPIn4kxoWfIPMMCsCL pctGdCVVklBnwf7LWRT18d0e/QIKy88Af+qvGjHVxB4EFtB+asGhCDW9cYjes0Ty4p9q SaDA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=baniowhMYStzAeCarx/sh1i/50jPhkdSEMhte1BfHf4=; b=YwFxF9HwVG4J4TNnQQSN/jgbEVglpJ3W6N1wZlStYyHCXVrxLKM6VuhQkpBL23AVCy evSzWluHzJ3Ivar7ftvrH4bJnThD5MsbiO+YJMYq7JulB9mFpmreIj+eLrdWf0f+pS1a NQMaVwOMY3i10oq0JHTfpV0nijZw0d9kOXThpWu3ej9OCF7KFdnvEErObf5INrCu/1c2 CpP01cmDXvj1uPajAr97NmiR3nUAAXi3lGBTcIV6+vOGnBOb0sIJxbYp/PTj2kA2EKYT QG02eYR7UEc4aLFWd0sZcq5WxSCXFyPgEuYu3RA9byvPzaDU2ZXcjtw3wUInOh70yBlT haAg== X-Gm-Message-State: APjAAAWm20vVSb8ctFL7r7OKqHuzo0ZzPqgTnK/uvRWBAaweCK1gYuIS nTZ5AkmOWDk6qy8f/0T4/I6cXgpXP90= X-Received: by 2002:aa7:9835:: with SMTP id q21mr570191pfl.122.1568678755003; Mon, 16 Sep 2019 17:05:55 -0700 (PDT) Received: from Asurada-Nvidia.nvidia.com (thunderhill.nvidia.com. [216.228.112.22]) by smtp.gmail.com with ESMTPSA id h18sm266844pfn.53.2019.09.16.17.05.54 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 16 Sep 2019 17:05:54 -0700 (PDT) Date: Mon, 16 Sep 2019 17:05:36 -0700 From: Nicolin Chen To: Shengjiu Wang Cc: timur@kernel.org, Xiubo.Lee@gmail.com, festevam@gmail.com, lgirdwood@gmail.com, broonie@kernel.org, perex@perex.cz, tiwai@suse.com, alsa-devel@alsa-project.org, linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org, robh+dt@kernel.org, mark.rutland@arm.com, devicetree@vger.kernel.org Subject: Re: [PATCH V2 1/2] ASoC: fsl_mqs: add DT binding documentation Message-ID: <20190917000535.GE12789@Asurada-Nvidia.nvidia.com> References: <65e1f035aea2951aacda54aa3a751bc244f72f6a.1568367274.git.shengjiu.wang@nxp.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <65e1f035aea2951aacda54aa3a751bc244f72f6a.1568367274.git.shengjiu.wang@nxp.com> User-Agent: Mutt/1.9.4 (2018-02-28) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Sep 13, 2019 at 05:42:13PM +0800, Shengjiu Wang wrote: > Add the DT binding documentation for NXP MQS driver > > Signed-off-by: Shengjiu Wang Acked-by: Nicolin Chen > --- > Changes in v2 > -refine the comments for properties > > .../devicetree/bindings/sound/fsl,mqs.txt | 36 +++++++++++++++++++ > 1 file changed, 36 insertions(+) > create mode 100644 Documentation/devicetree/bindings/sound/fsl,mqs.txt > > diff --git a/Documentation/devicetree/bindings/sound/fsl,mqs.txt b/Documentation/devicetree/bindings/sound/fsl,mqs.txt > new file mode 100644 > index 000000000000..40353fc30255 > --- /dev/null > +++ b/Documentation/devicetree/bindings/sound/fsl,mqs.txt > @@ -0,0 +1,36 @@ > +fsl,mqs audio CODEC > + > +Required properties: > + - compatible : Must contain one of "fsl,imx6sx-mqs", "fsl,codec-mqs" > + "fsl,imx8qm-mqs", "fsl,imx8qxp-mqs". > + - clocks : A list of phandles + clock-specifiers, one for each entry in > + clock-names > + - clock-names : "mclk" - must required. > + "core" - required if compatible is "fsl,imx8qm-mqs", it > + is for register access. > + - gpr : A phandle of General Purpose Registers in IOMUX Controller. > + Required if compatible is "fsl,imx6sx-mqs". > + > +Required if compatible is "fsl,imx8qm-mqs": > + - power-domains: A phandle of PM domain provider node. > + - reg: Offset and length of the register set for the device. > + > +Example: > + > +mqs: mqs { > + compatible = "fsl,imx6sx-mqs"; > + gpr = <&gpr>; > + clocks = <&clks IMX6SX_CLK_SAI1>; > + clock-names = "mclk"; > + status = "disabled"; > +}; > + > +mqs: mqs@59850000 { > + compatible = "fsl,imx8qm-mqs"; > + reg = <0x59850000 0x10000>; > + clocks = <&clk IMX8QM_AUD_MQS_IPG>, > + <&clk IMX8QM_AUD_MQS_HMCLK>; > + clock-names = "core", "mclk"; > + power-domains = <&pd_mqs0>; > + status = "disabled"; > +}; > -- > 2.21.0 >