From patchwork Mon Oct 26 10:40:54 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Shengjiu Wang X-Patchwork-Id: 318962 Delivered-To: patch@linaro.org Received: by 2002:a92:7b12:0:0:0:0:0 with SMTP id w18csp557821ilc; Mon, 26 Oct 2020 03:46:37 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzHe303wJLPpMp7cGMDmMCltkMpxzUvgA3hIb/Fz2KtkmGtDPu6OtnqwK985ENdKkgX9stq X-Received: by 2002:a17:906:ad8:: with SMTP id z24mr14602917ejf.222.1603709197088; Mon, 26 Oct 2020 03:46:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1603709197; cv=none; d=google.com; s=arc-20160816; b=1AN9x9ox5Wdx5bJBxIYv78OVGB+O0qrG48PpeWdzut2KTCxy4ANGpfm81fKn1g3wpy xDr0NXsrUzimEzhVkYV97tFyK4weijsfzcY8XsKr8IEcLf5SVe3lhQhxrEaNC1x++Q+J iOsyeSG4uMAxXKGWVdu1sqdnYenwExuy0mp+YOb+poK+lnhcyYrmzUPKEMPi/PaLQjMJ HnGYtMVuFS3rWNvjlpaNWG4TwM2gxJGkohsTSXlwlNzvUj9jwl0exHXf8Sx20qOZHTux zBf7uVZflgID8d9cEWIzMHAfs9kDcWVes084H2bl/EbGM1xFaDbJfmQTAEImwPckyAbq hRaw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:date:subject:cc:to:from; bh=L2DiBVVC3LsISDls3eW/xEr7Gj+BuTKrHO1OcFAW+TA=; b=gSEgX0f+6wDR2uZypPEL/f67UcStTOklhl9MxoXfxCjHepDo5UIXH3VtH1pXr+x6zP LbaeBe4QpDVpfy2/01Dgsydr8h5VAeFC2PV5oYcbpfJ7rGhfNdpL3HzQZDUt31pbP6WA urJ2wFBERo71LSrQrUh2rn/z4LxnHOQX9TikhnkQDkXdTerOYdd4GAE2NY+Peqj8uyJn rNezwk3rZ6G1yMHPYVjjAhgEDXDSaqtHbWQAgpMshXVsK+TIDh2CGxuah3xpiv/LMH4p H72E9g89hKXf+iGkqulQ2ZDBHmEeLYHIK1rZa/o4Ds2bqkyktz7uPDoRqtCF4+C1yB2j NPMg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of devicetree-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=devicetree-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. [23.128.96.18]) by mx.google.com with ESMTP id be17si6735266edb.35.2020.10.26.03.46.36; Mon, 26 Oct 2020 03:46:37 -0700 (PDT) Received-SPF: pass (google.com: domain of devicetree-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of devicetree-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=devicetree-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 S1770926AbgJZKqg (ORCPT + 6 others); Mon, 26 Oct 2020 06:46:36 -0400 Received: from inva020.nxp.com ([92.121.34.13]:56486 "EHLO inva020.nxp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1770920AbgJZKqf (ORCPT ); Mon, 26 Oct 2020 06:46:35 -0400 Received: from inva020.nxp.com (localhost [127.0.0.1]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id 155701A044D; Mon, 26 Oct 2020 11:46:33 +0100 (CET) Received: from invc005.ap-rdc01.nxp.com (invc005.ap-rdc01.nxp.com [165.114.16.14]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id F17151A037D; Mon, 26 Oct 2020 11:46:27 +0100 (CET) Received: from localhost.localdomain (shlinux2.ap.freescale.net [10.192.224.44]) by invc005.ap-rdc01.nxp.com (Postfix) with ESMTP id 65BED402B1; Mon, 26 Oct 2020 11:46:21 +0100 (CET) From: Shengjiu Wang To: timur@kernel.org, nicoleotsuka@gmail.com, Xiubo.Lee@gmail.com, festevam@gmail.com, broonie@kernel.org, perex@perex.cz, tiwai@suse.com, alsa-devel@alsa-project.org, lgirdwood@gmail.com, robh+dt@kernel.org, devicetree@vger.kernel.org Cc: linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org Subject: [PATCH 1/2] ASoC: dt-bindings: fsl_aud2htx: Add binding doc for aud2htx module Date: Mon, 26 Oct 2020 18:40:54 +0800 Message-Id: <1603708855-2663-1-git-send-email-shengjiu.wang@nxp.com> X-Mailer: git-send-email 2.7.4 X-Virus-Scanned: ClamAV using ClamSMTP Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org AUD2HTX (Audio Subsystem TO HDMI TX Subsystem) is a new IP module found on i.MX8MP. Signed-off-by: Shengjiu Wang --- .../bindings/sound/fsl,aud2htx.yaml | 67 +++++++++++++++++++ 1 file changed, 67 insertions(+) create mode 100644 Documentation/devicetree/bindings/sound/fsl,aud2htx.yaml -- 2.27.0 diff --git a/Documentation/devicetree/bindings/sound/fsl,aud2htx.yaml b/Documentation/devicetree/bindings/sound/fsl,aud2htx.yaml new file mode 100644 index 000000000000..18548d0889a8 --- /dev/null +++ b/Documentation/devicetree/bindings/sound/fsl,aud2htx.yaml @@ -0,0 +1,67 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/sound/fsl,aud2htx.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: NXP Audio Subsystem to HDMI RTX Subsystem Controller + +maintainers: + - Shengjiu Wang + +properties: + $nodename: + pattern: "^aud2htx@.*" + + compatible: + const: fsl,imx8mp-aud2htx + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + + clocks: + items: + - description: Peripheral clock + + clock-names: + items: + - const: bus + + dmas: + items: + - description: DMA controller phandle and request line for TX + + dma-names: + items: + - const: tx + + power-domains: + maxItems: 1 + +required: + - compatible + - reg + - interrupts + - clocks + - clock-names + - dmas + - dma-names + +examples: + - | + #include + #include + + aud2htx: aud2htx@30cb0000 { + compatible = "fsl,imx8mp-aud2htx"; + reg = <0x30cb0000 0x10000>; + interrupts = ; + clocks = <&audiomix_clk IMX8MP_CLK_AUDIOMIX_AUD2HTX_IPG>; + clock-names = "bus"; + dmas = <&sdma2 26 2 0>; + dma-names = "tx"; + power-domains = <&audiomix_pd>; + };