Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp1652076pxu; Sun, 6 Dec 2020 02:54:10 -0800 (PST) X-Google-Smtp-Source: ABdhPJzgI5CBjZ1+HjkojR5WbszwiACRUFpokBTk26sSSSdDhH9wPMkSsQ6xAhQaOy2AMljOiMNt X-Received: by 2002:a50:9d04:: with SMTP id v4mr15480392ede.363.1607252050516; Sun, 06 Dec 2020 02:54:10 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1607252050; cv=none; d=google.com; s=arc-20160816; b=EHKCFRHBO8gnfEFK+hAOjXDug+BvZ/HictM2Qz2a4dKNBEONAtXUiY+mK6z/SC8Yk6 ahXF1W3S/wAyTv7MFSjDujHbEMzH/IwUxy9DEz8yl1oZ4NYgNYVCb5RVu2+ijr7XXLlB MnyRNBSE8NdcltgSPsmiyXslPdr0zWAa8jZwGKaYtFPr+3cz6/HPDC9tSseYYn0Bn7MS eHgg2nsiIxa2yg0r3ceQhn2X6SEaCxussvDlYvZXwYUp7adncZiKy2iG2jtPRWRoXAgC bcjYAGnD/aqWeMr+nGTc9bg78WppkO1YM6nW81K0ZY2xAfKvIetyFkG7F8RMoe0PZzxZ L7Wg== 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=HoGiHMCsbSPO+vuHUiHPzv1XvMo8qFSEbfBmwj8xAsXfymovHo3q/8FoAzlb68glZy mJ/TAQdM3jw+KJyJHW7vkrsATEl2ZeWaTEK3Megc3DHzXtFav3g2OnMETn90APURFsTK Ylm9t1ZV/C2WVmVXlEOZrezbnfQrBl7frXEdzEHZOhGtOzbY22q4hsPQTxwPScQ444fS IWecg/D2z2PtVIaJ1sXdSRAHQdwVmNfyqK1diO1gVobOXGRarMXPOAB9WXjgnKUHXwyM +gPY2i4QsDr6jnOOn7f9BkwLs+wZnyNIbKxSZJNp+Mi+qWUX1mjZi8BpHpagfMBvTus7 aGhg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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. [23.128.96.18]) by mx.google.com with ESMTP id a5si6172177edu.121.2020.12.06.02.53.48; Sun, 06 Dec 2020 02:54:10 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-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 linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S1726584AbgLFKug (ORCPT + 99 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: linux-kernel@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 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; + }; -- 2.27.0