Received: by 2002:a05:7412:cfc7:b0:fc:a2b0:25d7 with SMTP id by7csp1633364rdb; Tue, 20 Feb 2024 02:07:47 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCVpD1k5ActCEiGHddXzP9T0f9QQ52QtffXYRvYWebhy4x6wYRUEaXxfsPQ8u57RSbgAFnleiW9Obg7gU4rvB3B2emst4PLxzde+fuXUWw== X-Google-Smtp-Source: AGHT+IGkB1yykfQqmk+s/m8G19CVIzEkdQtyTBUD8QGI2QaSZjVxdkjTIJMLMqgA3teMuj4bK6ks X-Received: by 2002:a50:fb83:0:b0:563:d16b:a04f with SMTP id e3-20020a50fb83000000b00563d16ba04fmr7163851edq.42.1708423666977; Tue, 20 Feb 2024 02:07:46 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708423666; cv=pass; d=google.com; s=arc-20160816; b=rXgOr3oQ6qwnu9hnfQ64a+7EVLfR3df+Q7UZEdwD4m6x+5/d9mOzm5Byy+IT/x9DFE dWD+yDVVzCn0KusCuldIGflmko6YEJxdFnXic/Af2aKVAu05jBFWAVYeqeyxxPAq9oeR Y5sfoNTXDMUldvQ3Fwmyzk9KJ5NHqB4UOCykiSpFZlm05X0kPN3TEuviYvW2k6v36Z69 0d3joL+lQlL9RyVT9zWNvaEm9ypOCX/otQXkWvXTuAfMaqjU1l5IInWYrJRZEKY3+jN9 koQY1VVLXSnQhyxLCvkfDTxijH0QNEsAMHLS13Eu+WTQ7uVMi/aBXrBHfW+tXzQGECnk Je9w== 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=EzVIo/Erko3TaB1q/0Z3yVbLBXjoJVz6+76Ci1MxT2A=; fh=VAIklPHZBDVKcgRAePr3zCigfOLViSbcB3e/EAYFOM0=; b=vrUYqS1Xmvy/aJjJbXPNgzAxUkd26FXhagwGnGDm4zaPe4A5bEuMqPg5KjqzznlXa1 xMi5yNk9n9SxTnXEkDkBtwB3+hA65AmKRBY0xIpdDWgkAGoKBYSNF3KeSW5hYIcCyf5A bgSe6fM/980U7EeC/2mmPii4hPOWEPtvVTVlHB+SYOzHvLmgt1vw8wHR/cav4fg8f/fw GXLrkY1R0clOsF3ppaw8jUnTx2v9kETR2zTB437QtdISdGSwkhss3hF6jmlFn1ZwKb76 CFRoAbVmSl7fA2doBgdAlKMRnzTUOXtQhdhCz/PwZMu/cgiz8sPRvISoTu36YJgbtnrc q+jA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@tq-group.com header.s=key1 header.b=ZNq9hKe3; 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-72774-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-72774-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 a19-20020a509b53000000b00561d07bc984si3299265edj.603.2024.02.20.02.07.46 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 20 Feb 2024 02:07:46 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-72774-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=ZNq9hKe3; 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-72774-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-72774-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 C139D1F232A9 for ; Tue, 20 Feb 2024 10:07:40 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id B7C3060DFD; Tue, 20 Feb 2024 10:07:05 +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="ZNq9hKe3" 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 E612660DFC; Tue, 20 Feb 2024 10:07:00 +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=1708423624; cv=none; b=UUvmYOHNG4gdfuhXpLMCmqFWK1rAdv2IZ+LHPAz26iu6ls00TGQitTYOPMRQ3WSThkKJ78A5nyILRZ7WBiT3oSHH/90ZmLK4BR4Ggq31HFRuz1NNOcTyKnhATUqKJxJcaoex0cOOA3Ci8HjJJonXWi3NCs6zt1QwYBxgKesq9rI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708423624; c=relaxed/simple; bh=xIO592TEd7xsEYkhc1BTJL0fAK88FdF5U0RNn55ktZI=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=XUjN8wTZC7ZWfTHNka+xYqE1SVd+I4Zne3YxpwV3OeEsAa5cpDuhZfLX8ATE2WPjIoAA2V0tIo5ZsZ7sDwGPAXb9uyNdUb5wORuSw/ujTUcPWj/lQ1JTNNENalV2avBdSc1Kx0yPNaNfMFVWfFtJSLfqoyx65Vtu9uvgACiNtzI= 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=ZNq9hKe3; 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=1708423621; x=1739959621; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=EzVIo/Erko3TaB1q/0Z3yVbLBXjoJVz6+76Ci1MxT2A=; b=ZNq9hKe3TGsbChXEd570e2C5SxLk9la8j3qKE5IggNGFiz44bPlaUEvi Zf2Yd/2WZFqo9APEDX1EkguwNKjCaPs+OQk/Lw4zf+eyoPruJ9RZ/lEhJ KPNJM+QpDNd1/ytq6r88xmKIgW3Jp4cwOrMtnM05HKtqxp7G59WbJLK4j KIITt2iWW2GpdxoxJfDRtY59zwx7Scp1KMmIgnZJqAWN6xtQK10VlJff4 CP2D2ZF5jzcW1BY/a7QQhvzQfiRgiJ9jisj7yqv00i+7EHzJL4n5YyvJV cI1dk89TB9/6CbOvwafYErWk+JbGu2x5dMsv76RhkiL8xkW+Fe+ugcfP1 g==; X-IronPort-AV: E=Sophos;i="6.06,172,1705359600"; d="scan'208";a="35495206" Received: from vtuxmail01.tq-net.de ([10.115.0.20]) by mx1.tq-group.com with ESMTP; 20 Feb 2024 11:06:52 +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 458BD280075; Tue, 20 Feb 2024 11:06:52 +0100 (CET) From: Alexander Stein To: dmitry.baryshkov@linaro.org, andrzej.hajda@intel.com, neil.armstrong@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, Sandor Yu Cc: kernel@pengutronix.de, linux-imx@nxp.com, Sandor.yu@nxp.com, oliver.brown@nxp.com, sam@ravnborg.org, Rob Herring Subject: Re: [PATCH v14 5/7] dt-bindings: phy: Add Freescale iMX8MQ DP and HDMI PHY Date: Tue, 20 Feb 2024 11:06:54 +0100 Message-ID: <10421561.nUPlyArG6x@steina-w> Organization: TQ-Systems GmbH In-Reply-To: <8ddbb34b5f6bf2414bdb03f9e7cd9da70e4e7228.1708395604.git.Sandor.yu@nxp.com> References: <8ddbb34b5f6bf2414bdb03f9e7cd9da70e4e7228.1708395604.git.Sandor.yu@nxp.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, thanks for the update. Am Dienstag, 20. Februar 2024, 04:23:53 CET schrieb Sandor Yu: > Add bindings for Freescale iMX8MQ DP and HDMI PHY. >=20 > Signed-off-by: Sandor Yu > Reviewed-by: Rob Herring > --- > v9->v14: > *No change. >=20 > .../bindings/phy/fsl,imx8mq-dp-hdmi-phy.yaml | 53 +++++++++++++++++++ > 1 file changed, 53 insertions(+) > create mode 100644 Documentation/devicetree/bindings/phy/fsl,imx8mq-dp-h= dmi-phy.yaml >=20 > diff --git a/Documentation/devicetree/bindings/phy/fsl,imx8mq-dp-hdmi-phy= =2Eyaml b/Documentation/devicetree/bindings/phy/fsl,imx8mq-dp-hdmi-phy.yaml > new file mode 100644 > index 0000000000000..917f113503dca > --- /dev/null > +++ b/Documentation/devicetree/bindings/phy/fsl,imx8mq-dp-hdmi-phy.yaml > @@ -0,0 +1,53 @@ > +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/phy/fsl,imx8mq-dp-hdmi-phy.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: Cadence HDP-TX DP/HDMI PHY for Freescale i.MX8MQ SoC > + > +maintainers: > + - Sandor Yu > + > +properties: > + compatible: > + enum: > + - fsl,imx8mq-dp-phy > + - fsl,imx8mq-hdmi-phy While reading cdns-mhdp8501-core.c I'm not so sure about this. There is only a single PHY which can be configured for either DP or HDMI. Using separate compatibles for that somehow bugs me. Maybe the DT maintainers can add some input if this should be single or double compatibles. Thanks and best regards, Alexander > + > + reg: > + maxItems: 1 > + > + clocks: > + items: > + - description: PHY reference clock. > + - description: APB clock. > + > + clock-names: > + items: > + - const: ref > + - const: apb > + > + "#phy-cells": > + const: 0 > + > +required: > + - compatible > + - reg > + - clocks > + - clock-names > + - "#phy-cells" > + > +additionalProperties: false > + > +examples: > + - | > + #include > + #include > + dp_phy: phy@32c00000 { > + compatible =3D "fsl,imx8mq-dp-phy"; > + reg =3D <0x32c00000 0x100000>; > + #phy-cells =3D <0>; > + clocks =3D <&hdmi_phy_27m>, <&clk IMX8MQ_CLK_DISP_APB_ROOT>; > + clock-names =3D "ref", "apb"; > + }; >=20 =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/