Received: by 2002:a05:7412:1e0b:b0:fc:a2b0:25d7 with SMTP id kr11csp976225rdb; Fri, 16 Feb 2024 01:06:09 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCWiX4L46rShThsovbLfk6PQuEkfvWk7XXWoTw6SaGQmRXBguuS73nr+Lpehi4qS5mDB/V9cFkzwSK8dp+Vn8ldB88YFFQSlLXdZICkDZA== X-Google-Smtp-Source: AGHT+IFdWOBuOdcXPOtXH206LK4LnfBYkHc0nrP7mrGecnCPYLsxm8QRD3AfJcK9Si6o7Ijev622 X-Received: by 2002:a17:906:f2ce:b0:a3d:a774:25e0 with SMTP id gz14-20020a170906f2ce00b00a3da77425e0mr2622110ejb.18.1708074368850; Fri, 16 Feb 2024 01:06:08 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708074368; cv=pass; d=google.com; s=arc-20160816; b=P/Tjv4eUV+e/rsvp2WLirO9P5Osslb2W8TFrTYxD/GZWR9a9J05qlXo/eP9XCDhiWp CHqJ7U060CJIIFZwQUgRlAR0flMJh7pNghOx9OzUqpkhEGq6CcYNuJ2lNbm/GW50Z77D pWM2c8pyzG7GzhBCzg+w5ck9Rg7vnym5eoL24t837KRI697jh/bzR1qjCoxNYOPqdW4i cbk7dlwivcRe3kXA6WCyiHTKwuk4BiNhs0aPJV/1Fvi8wbpgCbBQTGT9Gf28ikmg0Z/W KGXeFuY6Bmj5RjU/Tx+venq9G4TJHo8NZD5/7tU1QN2fpgNJBrtkWftRCGNxS1ZFfPWL QzRw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to :organization:message-id:date:subject:cc:to:from:dkim-signature; bh=9vIOGZfDhKu9DGx5o5UYxS0vQjX/6Zu979oLg6n9Etg=; fh=p0GddomobYZeL5fMbFhBWRbedfPNwth5aC5y8fJw7rQ=; b=0ZkBjYmOZ37k9M7qjDYCO9Il1dhv8ogJzXvc00RAINJlyHaWxJ3XOBzVWwgJOYBINq Ao8iqhLUBAO11OuD3ctDkz2TlFHWjAQzhTpMZaFVw6RoK1DO+KcNRkTY67CGw1+p/5XY PXJq0O+uolevdV1nypge9iRDGvpQiSKCT1w6j1fpNwxVXbESL5PQfvLryM3wFUXIGeKf cm1JoYpl8MaBnLt1hnx/Nen8xfgf+e+klcWsrhqk3/AfCzR1ET5yh9tVRe+OOeGvkdo9 H4Cne1U3jqM+y9ugL4Y43/ml+s2vXnxLZDXggEZ22yELYNVseEYO5h1Rdk9ecvKr2VEa A6IQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@tq-group.com header.s=key1 header.b=NfhGZJqI; arc=pass (i=1 spf=pass spfdomain=ew.tq-group.com dkim=pass dkdomain=tq-group.com dmarc=pass fromdomain=ew.tq-group.com); spf=pass (google.com: domain of linux-kernel+bounces-68304-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-68304-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=tq-group.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id oy10-20020a170907104a00b00a3d3f911702si1447455ejb.186.2024.02.16.01.06.08 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Feb 2024 01:06:08 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-68304-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@tq-group.com header.s=key1 header.b=NfhGZJqI; arc=pass (i=1 spf=pass spfdomain=ew.tq-group.com dkim=pass dkdomain=tq-group.com dmarc=pass fromdomain=ew.tq-group.com); spf=pass (google.com: domain of linux-kernel+bounces-68304-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-68304-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=tq-group.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 724351F28647 for ; Fri, 16 Feb 2024 09:06:08 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id BF8971BDE0; Fri, 16 Feb 2024 09:05:34 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=tq-group.com header.i=@tq-group.com header.b="NfhGZJqI" Received: from mx1.tq-group.com (mx1.tq-group.com [93.104.207.81]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 650351B978; Fri, 16 Feb 2024 09:05:28 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=93.104.207.81 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708074333; cv=none; b=V1dfyeb8CYRHYvno07OVku+bXyMIPC7Xz0kxNvtSKZ6farirWm7zm3xEZTxKxo7Zvh+Yru2f95n2SqNL6K1dbi60PLDlm0I1C2HFilyuX0HPDqAO8GvDlvIoiBBA3q/lSXRc4hcRhAfm7Rh9OT73FvkpaaLs5oRxjLPNHT9mnuU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708074333; c=relaxed/simple; bh=b3i9lcb0CgqU/Tao29pcsoyVFjxM+a2TkJlbTzzBGVE=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=SYIRxG9aIpiiIwJlgr+boVBAxBZd8cq422enOEPAQDxdXkeqSm4kCPQfHDmsyR+AlsS/I74L1UwHbR+NJ3p6uVUQBM72TCBgVAGJnAIPtWfmhf3IhejY06BEwpnJ8EYXXxdud27LwfEfeuGL9l3D6dmqZ3YCLpejkpWHQTCfK1w= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=ew.tq-group.com; spf=pass smtp.mailfrom=ew.tq-group.com; dkim=pass (2048-bit key) header.d=tq-group.com header.i=@tq-group.com header.b=NfhGZJqI; arc=none smtp.client-ip=93.104.207.81 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=ew.tq-group.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=ew.tq-group.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tq-group.com; i=@tq-group.com; q=dns/txt; s=key1; t=1708074330; x=1739610330; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=9vIOGZfDhKu9DGx5o5UYxS0vQjX/6Zu979oLg6n9Etg=; b=NfhGZJqIdAixnWZJbLGuVmX0Ds3WOiW7B06rQtC2uF+MFvZ9rcDKkeP3 dT4UhbSibnZyyZ6xHK2Bb07boZVXa1AFGzqLb/Kv7Pq2aLJLM/gyr9muu aHv0hwzF/AeWhz8yc5hwQE4DvAPvRCYvnuNBKt+b8hMy7Siuu+2hbrCyX x6KGt6vkYYgNy4CL1yNH7mwDWphe34GEXgz8K5GU26oGOi6pj/2Pn2+0v fKa2naKzpUmXxJiMgp6HYU6gQvHRGaO75JjOegLyuKUuv157oQ2gCHXRY 1kJIX6fvVR2w95Vpjl/teLCAwiN7eypmPik1JEBfKdGlBcjsabnJ4C+Ac w==; X-IronPort-AV: E=Sophos;i="6.06,164,1705359600"; d="scan'208";a="35440531" Received: from vtuxmail01.tq-net.de ([10.115.0.20]) by mx1.tq-group.com with ESMTP; 16 Feb 2024 10:05:25 +0100 Received: from steina-w.localnet (steina-w.tq-net.de [10.123.53.25]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by vtuxmail01.tq-net.de (Postfix) with ESMTPSA id 1BAE5280075; Fri, 16 Feb 2024 10:05:25 +0100 (CET) From: Alexander Stein To: linux-arm-kernel@lists.infradead.org, dri-devel@lists.freedesktop.org Cc: marex@denx.de, frieder.schrempf@kontron.de, Lucas Stach , Adam Ford , Andrzej Hajda , Neil Armstrong , Robert Foss , Laurent Pinchart , Jonas Karlman , Jernej Skrabec , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Daniel Vetter , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , Philipp Zabel , Vinod Koul , Kishon Vijay Abraham I , Catalin Marinas , Will Deacon , Liu Ying , Ulf Hansson , dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-phy@lists.infradead.org, linux-pm@vger.kernel.org, Adam Ford Subject: Re: [PATCH V8 09/12] dt-bindings: display: imx: add binding for i.MX8MP HDMI TX Date: Fri, 16 Feb 2024 10:05:26 +0100 Message-ID: <5916132.MhkbZ0Pkbq@steina-w> Organization: TQ-Systems GmbH In-Reply-To: <20240203165307.7806-10-aford173@gmail.com> References: <20240203165307.7806-1-aford173@gmail.com> <20240203165307.7806-10-aford173@gmail.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="iso-8859-1" Hi all, Am Samstag, 3. Februar 2024, 17:52:49 CET schrieb Adam Ford: > From: Lucas Stach >=20 > The HDMI TX controller on the i.MX8MP SoC is a Synopsys designware IP > core with a little bit of SoC integration around it. >=20 > Signed-off-by: Lucas Stach > Signed-off-by: Adam Ford >=20 > --- > V3: Change name and location to better idenfity as a bridge and > HDMI 2.0a transmitter >=20 > Fix typos and feedback from Rob and added ports. > --- > .../display/bridge/fsl,imx8mp-hdmi-tx.yaml | 102 ++++++++++++++++++ > 1 file changed, 102 insertions(+) > create mode 100644 > Documentation/devicetree/bindings/display/bridge/fsl,imx8mp-hdmi-tx.yaml >=20 > diff --git > a/Documentation/devicetree/bindings/display/bridge/fsl,imx8mp-hdmi-tx.yaml > b/Documentation/devicetree/bindings/display/bridge/fsl,imx8mp-hdmi-tx.yaml > new file mode 100644 > index 000000000000..3791c9f4ebab > --- /dev/null > +++ > b/Documentation/devicetree/bindings/display/bridge/fsl,imx8mp-hdmi-tx.yaml > @@ -0,0 +1,102 @@ > +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/display/bridge/fsl,imx8mp-hdmi-tx.yam= l# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: Freescale i.MX8MP DWC HDMI TX Encoder > + > +maintainers: > + - Lucas Stach > + > +description: > + The i.MX8MP HDMI transmitter is a Synopsys DesignWare > + HDMI 2.0a TX controller IP. > + > +allOf: > + - $ref: /schemas/display/bridge/synopsys,dw-hdmi.yaml# > + > +properties: > + compatible: > + enum: > + - fsl,imx8mp-hdmi-tx > + > + reg-io-width: > + const: 1 > + > + clocks: > + maxItems: 4 > + > + clock-names: > + items: > + - const: iahb > + - const: isfr > + - const: cec > + - const: pix > + > + power-domains: > + maxItems: 1 > + > + ports: > + $ref: /schemas/graph.yaml#/properties/ports > + > + properties: > + port@0: > + $ref: /schemas/graph.yaml#/properties/port > + description: Parallel RGB input port > + > + port@1: > + $ref: /schemas/graph.yaml#/properties/port > + description: HDMI output port > + > + required: > + - port@0 > + - port@1 Is this really correct that port@1 is required? AFAICS this host already=20 supports HPD and DDC by itself, so there is no need for a dedicated HDMI=20 connector. With the current state of the drivers this output port is completely ignore= d=20 anyway. Yet it works for a lot of people. Best regards, Alexander > + > +required: > + - compatible > + - reg > + - clocks > + - clock-names > + - interrupts > + - power-domains > + - ports > + > +unevaluatedProperties: false > + > +examples: > + - | > + #include > + #include > + #include > + > + hdmi@32fd8000 { > + compatible =3D "fsl,imx8mp-hdmi-tx"; > + reg =3D <0x32fd8000 0x7eff>; > + interrupts =3D <0 IRQ_TYPE_LEVEL_HIGH>; > + clocks =3D <&clk IMX8MP_CLK_HDMI_APB>, > + <&clk IMX8MP_CLK_HDMI_REF_266M>, > + <&clk IMX8MP_CLK_32K>, > + <&hdmi_tx_phy>; > + clock-names =3D "iahb", "isfr", "cec", "pix"; > + power-domains =3D <&hdmi_blk_ctrl IMX8MP_HDMIBLK_PD_HDMI_TX>; > + reg-io-width =3D <1>; > + ports { > + #address-cells =3D <1>; > + #size-cells =3D <0>; > + port@0 { > + reg =3D <0>; > + > + hdmi_tx_from_pvi: endpoint { > + remote-endpoint =3D <&pvi_to_hdmi_tx>; > + }; > + }; > + > + port@1 { > + reg =3D <1>; > + hdmi_tx_out: endpoint { > + remote-endpoint =3D <&hdmi0_con>; > + }; > + }; > + }; > + }; =2D-=20 TQ-Systems GmbH | M=FChlstra=DFe 2, Gut Delling | 82229 Seefeld, Germany Amtsgericht M=FCnchen, HRB 105018 Gesch=E4ftsf=FChrer: Detlef Schneider, R=FCdiger Stahl, Stefan Schneider http://www.tq-group.com/