Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp2346230rwd; Fri, 16 Jun 2023 02:41:26 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6ZxEABLS5GbAtCZ6rs06bQ2fD2denzvBtPdKDJmV26IoTb1rZjV2nliphCNWhJn5GYmXpJ X-Received: by 2002:a17:903:2092:b0:1b3:fb75:dd24 with SMTP id d18-20020a170903209200b001b3fb75dd24mr1040352plc.48.1686908486092; Fri, 16 Jun 2023 02:41:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686908486; cv=none; d=google.com; s=arc-20160816; b=y1FtC/FjcdhLR2hNOQ0EwGqp1sGKVVfDE5/hA4FlFLU4j1+vCBdXaNMX4uEdeNWHLH XgayKlMt9DFsTohLnm5GiXS08rvJF4wyv1WKbEvDEtix1GhWrUB1SF3ZH5ScexvpArw+ SYDvcyu5EiB+ijet2pcj1lDACsqpt7KjIZ9qyAcS1VV9ImtDw0IFz2RBSO0ji2317Xap ZW7v1DhLbdKMLqaZcq09PFsQQM+xNjk+rncvM4G6f5CXt88zbucu/MvZy4cVHriY24Sk WuacuRbJapUDuvMYys9r88SH2xoOAU2I4F1EFr3QMLOD4p6T6ZMjeMOM4gTxnyQavDC5 rJkg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:organization:message-id:date:subject:cc:to :from:dkim-signature; bh=pMlSGOdl8IvS4LImlgrl3MIkfMf7pCHaKnwUSkpFQ1o=; b=H3xPt4L8lZngZ4Sm8nv7XoPkE4DrXIDmhOCHrGUaSqoTzroUYMSYFek+9688jjZYu7 d9dpDpE472HNM50crKbuDcWyRFvCWyfmDlH+Mi6OVtWyjRYBPuE7gC9FDv90WBbyeE59 jpIQ4jsQECDvFFpzq3fI1T+3quYDEbcYnTggXejjmgzligckjQ0DY7G/x43IuXD1B7OA lJARZmS3ht84odBAY9LgKxFok23YIjKJi81OquVHQUnZ0KU03qdE7f7HLG3PMMbT1+F+ pvOL4rKIwCNAEBGWMMOZHEME2IDZTFIQvLlQehgWbwaKSkfkC8ZWIOEOty48sLKXd7LC Fy2A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@tq-group.com header.s=key1 header.b=YEWxWmPp; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=tq-group.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id kz3-20020a170902f9c300b001a65688c863si343392plb.56.2023.06.16.02.41.11; Fri, 16 Jun 2023 02:41:25 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@tq-group.com header.s=key1 header.b=YEWxWmPp; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=tq-group.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344614AbjFPJdG (ORCPT + 99 others); Fri, 16 Jun 2023 05:33:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48302 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1344563AbjFPJcj (ORCPT ); Fri, 16 Jun 2023 05:32:39 -0400 Received: from mx1.tq-group.com (mx1.tq-group.com [93.104.207.81]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3BAD32721; Fri, 16 Jun 2023 02:32:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tq-group.com; i=@tq-group.com; q=dns/txt; s=key1; t=1686907926; x=1718443926; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=pMlSGOdl8IvS4LImlgrl3MIkfMf7pCHaKnwUSkpFQ1o=; b=YEWxWmPpbP3E+yqsp9tfqMOGRkvR2GmoMvSnDDUwMtappEgJv6EnX3ye iDHmYuLC3+TAT7r4O2aty5ZVP15k/vNNTZCfRHKFHTFD7peDJJGVRI0RD AoTAVr35yHp7ilZjp6acddBmxbZ5r5yi7vMYQLebPeesEJky2fVxA4QUe /Rpn7SyKjy8LRXu01OmFWewctJNlsHQ1CP2g1M+hqvkyLMiaJnMucBly7 SoGzfuYy0NkqAVIxEsNg6r1clkwlaffrM9ZCZfu3942dj6zJUaP+U0E6m pG2tJP7kKU653WS1nhJHniNMfl6YqPn4JcwbpqtqH1MMq6sK2D+ng2Ytw Q==; X-IronPort-AV: E=Sophos;i="6.00,247,1681164000"; d="scan'208";a="31462623" Received: from vtuxmail01.tq-net.de ([10.115.0.20]) by mx1.tq-group.com with ESMTP; 16 Jun 2023 11:31:42 +0200 Received: from steina-w.localnet (unknown [10.123.53.21]) (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 3A7A9280082; Fri, 16 Jun 2023 11:31:42 +0200 (CEST) From: Alexander Stein To: andrzej.hajda@intel.com, neil.armstrong@linaro.org, robert.foss@linaro.org, Laurent.pinchart@ideasonboard.com, jonas@kwiboo.se, jernej.skrabec@gmail.com, airlied@gmail.com, daniel@ffwll.ch, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, shawnguo@kernel.org, s.hauer@pengutronix.de, festevam@gmail.com, vkoul@kernel.org, dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-phy@lists.infradead.org Cc: oliver.brown@nxp.com, Sandor.yu@nxp.com, linux-imx@nxp.com, kernel@pengutronix.de, Sandor Yu Subject: Re: [PATCH v6 2/8] dt-bindings: display: bridge: Add Cadence MHDP8501 HDMI and DP Date: Fri, 16 Jun 2023 11:31:43 +0200 Message-ID: <3439354.PYKUYFuaPT@steina-w> Organization: TQ-Systems GmbH In-Reply-To: <8687f2221299b120e12f29fdccf264e120227bd7.1686729444.git.Sandor.yu@nxp.com> References: <8687f2221299b120e12f29fdccf264e120227bd7.1686729444.git.Sandor.yu@nxp.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="iso-8859-1" X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Sandor, Am Donnerstag, 15. Juni 2023, 03:38:12 CEST schrieb Sandor Yu: > Add bindings for Cadence MHDP8501 DisplayPort and HDMI driver. >=20 > Signed-off-by: Sandor Yu > --- > .../display/bridge/cdns,mhdp8501.yaml | 105 ++++++++++++++++++ > 1 file changed, 105 insertions(+) > create mode 100644 > Documentation/devicetree/bindings/display/bridge/cdns,mhdp8501.yaml >=20 > diff --git > a/Documentation/devicetree/bindings/display/bridge/cdns,mhdp8501.yaml > b/Documentation/devicetree/bindings/display/bridge/cdns,mhdp8501.yaml new > file mode 100644 > index 000000000000..a54756815e6f > --- /dev/null > +++ b/Documentation/devicetree/bindings/display/bridge/cdns,mhdp8501.yaml > @@ -0,0 +1,105 @@ > +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/display/bridge/cdns,mhdp8501.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: Cadence MHDP8501 Displayport bridge > + > +maintainers: > + - Sandor Yu > + > +description: > + The Cadence MHDP8501 Displayport/HDMI TX interface. > + > +properties: > + compatible: > + enum: > + - cdns,mhdp8501-dp > + - cdns,mhdp8501-hdmi > + - fsl,imx8mq-mhdp8501-dp > + - fsl,imx8mq-mhdp8501-hdmi > + > + reg: > + maxItems: 1 > + > + clocks: > + maxItems: 1 > + description: MHDP8501 DP/HDMI APB clock. > + > + phys: > + maxItems: 1 > + > + interrupts: > + items: > + - description: Hotplug cable plugin. > + - description: Hotplug cable plugout. > + > + interrupt-names: > + items: > + - const: plug_in > + - const: plug_out > + > + ports: > + $ref: /schemas/graph.yaml#/properties/ports > + > + properties: > + port@0: > + $ref: /schemas/graph.yaml#/properties/port > + description: > + Input port from display controller output. > + port@1: > + $ref: /schemas/graph.yaml#/properties/port > + description: > + Output port to DP/HDMI connector. > + > + required: > + - port@0 > + - port@1 You mark these ports as required, but apparently the drivers do not use the= m,=20 AFAICT. E.g. missing port@1 is not resulting in an error, at lease for HDMI= =20 one. Best regards, Alexander > + > +required: > + - compatible > + - reg > + - clocks > + - interrupts > + - interrupt-names > + - phys > + - ports > + > +additionalProperties: false > + > +examples: > + - | > + #include > + #include > + > + mhdp_dp: dp-bridge@32c00000 { > + compatible =3D "fsl,imx8mq-mhdp8501-dp"; > + reg =3D <0x32c00000 0x100000>; > + interrupts =3D , > + ; > + interrupt-names =3D "plug_in", "plug_out"; > + clocks =3D <&clk IMX8MQ_CLK_DISP_APB_ROOT>; > + phys =3D <&dp_phy>; > + > + ports { > + #address-cells =3D <1>; > + #size-cells =3D <0>; > + > + port@0 { > + reg =3D <0>; > + > + mhdp_in: endpoint { > + remote-endpoint =3D <&dcss_out>; > + }; > + }; > + > + port@1 { > + reg =3D <1>; > + > + mhdp_out: endpoint { > + remote-endpoint =3D <&dp_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/