From patchwork Sun Dec 6 10:41:58 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Shengjiu Wang X-Patchwork-Id: 338815 Delivered-To: patch@linaro.org Received: by 2002:a02:85a7:0:0:0:0:0 with SMTP id d36csp1925684jai; Sun, 6 Dec 2020 02:51:30 -0800 (PST) X-Google-Smtp-Source: ABdhPJymhkARYPorFTLeN79A+lJ81dofShGt7Lv/B+HRwv+S9LyDFF8CPbvi80xcPj+Xra0q7HlO X-Received: by 2002:a17:906:1c8e:: with SMTP id g14mr14753084ejh.5.1607251890085; Sun, 06 Dec 2020 02:51:30 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1607251890; cv=none; d=google.com; s=arc-20160816; b=g2H3hPht/DLxdtoY8F/5ACAiiC9DwJB+23PnKCfUIK8ZMy+3D6PDJP6hDFEEfEtbn4 0OmllF7imagE7+0Cjyn4WrI/Fy7bynNKePj9+Zg/a3x9F2On8T5kk5gSvxXsz5SoTnmf WT3DfZKPJPAX/KfjUFfmckjkSDDV9zpFwBiinExXAsAtG7q4njEvqq68XtHNseZPEIyz 6IcQ0/ZASAwzPtTAtOB7DQo4hcZK20iSkBw48Od+Q8TYS4q0pbjwUa9QPCysikj0RVPS YyGBkqgAbA/kWwjjjsigkOS2SSHTY2Xu3RDlBG1n1hOD8BTMgd9Znbhs4mKq9jynI0mc Z5gQ== 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:to:from; bh=mkKiALQ1gMCZRT7afmg72K5IqLaKPMh0XBnDNxHOaxw=; b=fCJE0vNYxRGDKOulGeTs6J/UUZOWbDQFZgDkGf2sDUEFjkJ8RVYPR1x1dsZUs7eDi/ 4Tu/Av3ZqfGXo6ZkxlOZpFxrUSPwERKU9pD7WK8YljNCRQYvlC1uclDw2TKVy8SPGC5G y3XNwX+jsLLe1z6GGKPDRgcnA6NjpyW440s2UYL3uvqR3FaVf+y5HBHtzXs4SQzlJGpT iUnyUC83/kFcNSKjfS29rgChV4z+t95qpJr3cajKZB8VaMm55Ez77MaO6q0ZEM+17PXJ YaSm2Cxm3QiB/T4gJG+xE9EnW8ssNJ7m1XPHNLxbbfC84oF7bS1jiwkXGj/r+YcRdl/O SXxQ== 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 h8si6427555edl.562.2020.12.06.02.51.29; Sun, 06 Dec 2020 02:51:30 -0800 (PST) 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 S1726377AbgLFKug (ORCPT + 6 others); Sun, 6 Dec 2020 05:50:36 -0500 Received: from inva020.nxp.com ([92.121.34.13]:51496 "EHLO inva020.nxp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725794AbgLFKug (ORCPT ); Sun, 6 Dec 2020 05:50:36 -0500 Received: from inva020.nxp.com (localhost [127.0.0.1]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id BDF251A087E; Sun, 6 Dec 2020 11:49:48 +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 A3EE91A0AAF; Sun, 6 Dec 2020 11:49:43 +0100 (CET) Received: from localhost.localdomain (shlinux2.ap.freescale.net [10.192.224.44]) by invc005.ap-rdc01.nxp.com (Postfix) with ESMTP id 26057402D0; Sun, 6 Dec 2020 11:49:37 +0100 (CET) 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, devicetree@vger.kernel.org Subject: [PATCH v2 1/2] ASoC: dt-bindings: imx-hdmi: Add binding doc for hdmi machine driver Date: Sun, 6 Dec 2020 18:41:58 +0800 Message-Id: <1607251319-5821-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 Imx-hdmi is a new added machine driver for supporting hdmi devices on i.MX platforms. There is HDMI IP or external HDMI modules connect with SAI or AUD2HTX interface. Signed-off-by: Shengjiu Wang --- changes in v2: - none .../bindings/sound/imx-audio-hdmi.yaml | 52 +++++++++++++++++++ 1 file changed, 52 insertions(+) create mode 100644 Documentation/devicetree/bindings/sound/imx-audio-hdmi.yaml -- 2.27.0 diff --git a/Documentation/devicetree/bindings/sound/imx-audio-hdmi.yaml b/Documentation/devicetree/bindings/sound/imx-audio-hdmi.yaml new file mode 100644 index 000000000000..d5474f83ac2c --- /dev/null +++ b/Documentation/devicetree/bindings/sound/imx-audio-hdmi.yaml @@ -0,0 +1,52 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/sound/imx-audio-hdmi.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: NXP i.MX audio complex with HDMI + +maintainers: + - Shengjiu Wang + +properties: + compatible: + enum: + - fsl,imx-audio-hdmi + - fsl,imx-audio-sii902x + + model: + $ref: /schemas/types.yaml#/definitions/string + description: User specified audio sound card name + + audio-cpu: + description: The phandle of an CPU DAI controller + + hdmi-out: + description: | + This is a boolean property. If present, the transmitting function + of HDMI will be enabled, indicating there's a physical HDMI out + connector or jack on the board or it's connecting to some other IP + block, such as an HDMI encoder or display-controller. + + hdmi-in: + description: | + This is a boolean property. If present, the receiving function of + HDMI will be enabled, indicating there is a physical HDMI in + connector/jack on the board. + +required: + - compatible + - model + - audio-cpu + +additionalProperties: false + +examples: + - | + sound-hdmi { + compatible = "fsl,imx-audio-hdmi"; + model = "audio-hdmi"; + audio-cpu = <&aud2htx>; + hdmi-out; + };