From patchwork Tue Apr 23 08:29:41 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Heiko Stuebner X-Patchwork-Id: 13639604 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id B3537C4345F for ; Tue, 23 Apr 2024 08:30:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=0yB2jwf5tITTrQKGzuQLi/0JSZgfKFY5+SXA7suL4NE=; b=fn5Om8wDf6OzbM o8093XICukIQEIqCT9PrhNjAos/jHTVy/y9hw894V0O50aEvxuC1kDNW+B9u3JDuZgHupr/C78Fwd +JpcTpsvwVP2m0hGOyXz2W9EuKV8z0SKq6ocKJnU5KyeY8VR7tEGvh9NnuK3BES0sZWtRbvSk5p7D n+b3snFH2EmdfGa6pCqjJ5wkEbEe9wfODMvJ4Ud2+hBRenLkQT2AoE59NQgoCUgIMCIfflpGDIDN2 HNqMUW7BxRlGmQqFJ2WRByX85+I4vNmN3U7dPqCr9Oxl49/CRiGTP4AplILDRrVQz/ZufCgE7Kr38 m3hKfK2SmEfVwkIkmV1Q==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rzBXS-0000000GSQi-2WOB; Tue, 23 Apr 2024 08:30:06 +0000 Received: from gloria.sntech.de ([185.11.138.130]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rzBXP-0000000GSPs-15Qf; Tue, 23 Apr 2024 08:30:04 +0000 Received: from i5e861d9e.versanet.de ([94.134.29.158] helo=phil.lan) by gloria.sntech.de with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1rzBXN-0003WW-M2; Tue, 23 Apr 2024 10:30:01 +0200 From: Heiko Stuebner To: heiko@sntech.de Cc: michael.riesch@wolfvision.net, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org, Arnd Bergmann Subject: [PATCH] arm64: dts: rockchip: fix nodename warning on wolfvision-pf5-display Date: Tue, 23 Apr 2024 10:29:41 +0200 Message-Id: <20240423082941.2626102-1-heiko@sntech.de> X-Mailer: git-send-email 2.39.2 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240423_013003_325627_8B3E5EE8 X-CRM114-Status: GOOD ( 13.08 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org The dtbs check throws a warning about node naming with the recently added pf5-display-overlay: rockchip/rk3568-wolfvision-pf5-display.dtsi:113.6-121.3: Warning (graph_port): /fragment@4/__overlay__: graph port node name should be 'port' This comes from the overlay just referencing the vp2-port-node via its phandle and then adding an endpoint beneath it. While this is possible something to handle inside the dtbs check, carrying around the warning is not pretty, so change the description to go around it. Starting from the vop_out phandle and then referencing the port via its generic port@2 nodename will satisfy the port<->endpoint naming dependency while keeping the same structure once the overlay is applied. Reported-by: Arnd Bergmann Signed-off-by: Heiko Stuebner --- .../rockchip/rk3568-wolfvision-pf5-display.dtsi | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/arch/arm64/boot/dts/rockchip/rk3568-wolfvision-pf5-display.dtsi b/arch/arm64/boot/dts/rockchip/rk3568-wolfvision-pf5-display.dtsi index b22bb543ecbb..18c807c39e56 100644 --- a/arch/arm64/boot/dts/rockchip/rk3568-wolfvision-pf5-display.dtsi +++ b/arch/arm64/boot/dts/rockchip/rk3568-wolfvision-pf5-display.dtsi @@ -110,12 +110,14 @@ &pwm10 { status = "okay"; }; -&vp2 { - #address-cells = <1>; - #size-cells = <0>; +&vop_out { + port@2 { + #address-cells = <1>; + #size-cells = <0>; - vp2_out_rgb: endpoint@ROCKCHIP_VOP2_EP_RGB0 { - reg = ; - remote-endpoint = <&panel_in_vp2>; + vp2_out_rgb: endpoint@ROCKCHIP_VOP2_EP_RGB0 { + reg = ; + remote-endpoint = <&panel_in_vp2>; + }; }; };