Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp687521ybe; Fri, 13 Sep 2019 04:46:39 -0700 (PDT) X-Google-Smtp-Source: APXvYqyIpqrHyYkX3/SyAqafQP9f3M8Lwu44D03h5vzVG+xk9Te8GJJ+kZSlPk2xRA3ZRiJ2elt8 X-Received: by 2002:a17:906:454b:: with SMTP id s11mr39123935ejq.183.1568375199622; Fri, 13 Sep 2019 04:46:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1568375199; cv=none; d=google.com; s=arc-20160816; b=XYQ6e6msXYQeAjTCf5HGCMxfdp7yCHd8p5Mat3iSvTTv9i5KgdlhKPSKf8fFJVshYF 5BfH1IcikDoVcggshc5TkAiBg646Dn8024Ea6/6KLOksuDzetSHUEkT+bSGZWbncM4BR bw5ySUkC4NKgMO7r3K0Cth+thMjS7xqgfcYMgT824PTJJW+z0StFnM3j4w4V/4VKCAHq 3AkjiLMrVKIQjPmTWsfO5V0Um0ywGHGJP1sragXFLrKoMFoQQ1WP5Z7vzPbKRqpTq9qS wTMllkzn8DUj/ZNGsowgnaslEpBFD1r69v03oK1P0ZZxAoLzbLFRdXdrucyXb2D1ON6F ddJg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:to:from; bh=zPF+aRga8v7HDWuOhLfntJ6NENdhtzNypuloDDn9H5k=; b=UCkgyhoKPsNMtyJUIjOAlaxlmVtoPQYLovRuB3aCP3BKkOnU1ZRdJfZZWdW0mmT/gX chScG3Tf3I0nf58z2v6ECOKEjPLoBaUBsP2EPf6ovpd/sA1mwmEflDqoTZVWvHYjrUbi 6hNrpw/nXO6WcAWrcc8eBwv8974sqgmT+MnbCOfYg2iIL8QHryubE1637baui4mkpHsm JCZolr1871EsyE2Dxo6pR10NE1m7tfsY7u+TSOuQYD55aLyfxGiLGMUqbiyuYJ8eTBor sryjxC8Tf06GZ/TWBjL7ZbkujdWFHl+LjDz/WeaqPEzjh5EZBfDAW/9kyfSi2Xy14SJF /FLQ== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g26si14502407ejb.70.2019.09.13.04.46.16; Fri, 13 Sep 2019 04:46: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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728618AbfIMJna (ORCPT + 99 others); Fri, 13 Sep 2019 05:43:30 -0400 Received: from inva021.nxp.com ([92.121.34.21]:59486 "EHLO inva021.nxp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726754AbfIMJna (ORCPT ); Fri, 13 Sep 2019 05:43:30 -0400 Received: from inva021.nxp.com (localhost [127.0.0.1]) by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id B011820017C; Fri, 13 Sep 2019 11:43:27 +0200 (CEST) Received: from invc005.ap-rdc01.nxp.com (invc005.ap-rdc01.nxp.com [165.114.16.14]) by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id 6B9B62000E2; Fri, 13 Sep 2019 11:43:21 +0200 (CEST) Received: from localhost.localdomain (shlinux2.ap.freescale.net [10.192.224.44]) by invc005.ap-rdc01.nxp.com (Postfix) with ESMTP id 88E7140296; Fri, 13 Sep 2019 17:43:13 +0800 (SGT) From: Shengjiu Wang To: timur@kernel.org, nicoleotsuka@gmail.com, 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: [PATCH V2 1/2] ASoC: fsl_mqs: add DT binding documentation Date: Fri, 13 Sep 2019 17:42:13 +0800 Message-Id: <65e1f035aea2951aacda54aa3a751bc244f72f6a.1568367274.git.shengjiu.wang@nxp.com> X-Mailer: git-send-email 2.7.4 X-Virus-Scanned: ClamAV using ClamSMTP Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add the DT binding documentation for NXP MQS driver Signed-off-by: Shengjiu Wang --- 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