From patchwork Wed Mar 5 02:51:11 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andy Yan X-Patchwork-Id: 14001975 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 61E9AC19F32 for ; Wed, 5 Mar 2025 04:14:57 +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=UjbYg67FgrovjdSJOfZP9Bubn1uwS9rPzofHtV4YYlU=; b=M5lejG7ydWGIKa Har+GhhaeZtdVGzZg+sJd5qniLsjWTRqlWY6Z/ctMRCSco6FnXTKp5/DyZb/KNY3ViLYW/IKuy3QF PiV1xLN0UDukYtIXK2m1M9EUU/HhoICoCndijuUnL6x7ZZqAY22SvqnEG4BxrBaG2L1Y79kh3i1nA qCvfXBREU/bCNdcsc6tpRKR2hiqMz3zsxPpeAen+tBLav1BMRbvOa0jbmkvSRhYDj71GgUkJwXkrW 8hVZaVf+cLATU83eXnKv7403z+L4BPxHH2xuo003/ZFk7KgY9TRr9aQnl3rjbGcrz3C3h3Z+xyGCM e15wFfeu1mDDg/yfS8UQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1tpg9k-00000006wXn-3psc; Wed, 05 Mar 2025 04:14:52 +0000 Received: from desiato.infradead.org ([2001:8b0:10b:1:d65d:64ff:fe57:4e05]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1tpf6a-00000006rX9-0JGY; Wed, 05 Mar 2025 03:07:32 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=desiato.20200630; h=Content-Transfer-Encoding:MIME-Version :Message-ID:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type:Content-ID: Content-Description:In-Reply-To:References; bh=Hhp6OMq7QEiuEHCE9JTlQzy04Sjlh7bKraEQa8mkuMs=; b=C0+vkQsKR7pWRORhTTKiiwGbop r0UnCbRFsADmhtySfm9BAGuNxbzLm59QlqDF7MEt47lHKPMbH0wceSaj5xXux9thgmya0TvkoQa/L 1Fw1vo7hKJVoOHWj9JlQakBXfjvM9Q9TBQGBuKoKr2r2m89OH4u6Xr5AxvQIMbPNi4msxGSbHINTe Qm6ejX+6BAHQ+IztGoozfc7lZlOpr5fWFrRp74n78prg2s5BY9a7+t2J33//MelVxA8sOLFU+D/eC o88nGdDTb9oenI7CDjalugafRqalVz47Y/cdXD8vezyPbjF5b0TTDix/bznzJ1REZKIE56/GPXi3b e1yM1v5w==; Received: from m16.mail.163.com ([220.197.31.2]) by desiato.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1tpf6W-00000000Kjs-0K2S; Wed, 05 Mar 2025 03:07:30 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=163.com; s=s110527; h=From:Subject:Date:Message-ID:MIME-Version; bh=Hhp6O Mq7QEiuEHCE9JTlQzy04Sjlh7bKraEQa8mkuMs=; b=RJBxt7FUWocvfgEoQ2d6a SdNr+Ji9Fxpb3xA7zrrLAShod0mLoKRU0bB0lEHIqM0Yd0Ae8Wn9oTmz6rv/Tkv2 KcK0lD5FfYuUap8PbhzhHg1wrmXE68wW8yGmKfxKv31bj5qXLAPqjbNcDoEQqr6y TMdBEi+lOu6Xb5BhxsnYdQ= Received: from ProDesk.. (unknown []) by gzga-smtp-mtada-g1-2 (Coremail) with SMTP id _____wCXiC4yvMdnOWxcQQ--.60442S2; Wed, 05 Mar 2025 10:51:33 +0800 (CST) From: Andy Yan To: heiko@sntech.de Cc: detlev.casanova@collabora.com, kever.yang@rock-chips.com, krzk+dt@kernel.org, cl@rock-chips.com, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-rockchip@lists.infradead.org, Andy Yan Subject: [PATCH] arm64: dts: rockchip: Enable hdmi out display for rk3576-evb-v10 Date: Wed, 5 Mar 2025 10:51:11 +0800 Message-ID: <20250305025128.479245-1-andyshrk@163.com> X-Mailer: git-send-email 2.43.0 MIME-Version: 1.0 X-CM-TRANSID: _____wCXiC4yvMdnOWxcQQ--.60442S2 X-Coremail-Antispam: 1Uf129KBjvJXoW7ur4fGr1kArWxArWkKr1ftFb_yoW8Ww4Up3 ZrurZxGFZ3WrW2qwnIyF10qFn8tws5AFZxAr17XFy3tr4agas3Kw1fGrn5Z3W5AFW7Z3y3 uF1kJas09r4qqr7anT9S1TB71UUUUU7qnTZGkaVYY2UrUUUUjbIjqfuFe4nvWSU5nxnvy2 9KBjDUYxBIdaVFxhVjvjDU0xZFpf9x07jOb18UUUUU= X-Originating-IP: [58.22.7.114] X-CM-SenderInfo: 5dqg52xkunqiywtou0bp/xtbBkBMHXmfHucNUCgAAse X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20250305_030728_634209_B1CE2B60 X-CRM114-Status: UNSURE ( 8.97 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+linux-rockchip=archiver.kernel.org@lists.infradead.org From: Andy Yan Enable vop and hdmi on rk3576 evb1, so we can get a display output on this board now. Signed-off-by: Andy Yan --- .../boot/dts/rockchip/rk3576-evb1-v10.dts | 47 +++++++++++++++++++ 1 file changed, 47 insertions(+) diff --git a/arch/arm64/boot/dts/rockchip/rk3576-evb1-v10.dts b/arch/arm64/boot/dts/rockchip/rk3576-evb1-v10.dts index 318e13d2ea55..52ea6917b7de 100644 --- a/arch/arm64/boot/dts/rockchip/rk3576-evb1-v10.dts +++ b/arch/arm64/boot/dts/rockchip/rk3576-evb1-v10.dts @@ -10,6 +10,7 @@ #include #include #include +#include #include "rk3576.dtsi" / { @@ -58,6 +59,17 @@ button-vol-up { }; }; + hdmi-con { + compatible = "hdmi-connector"; + type = "a"; + + port { + hdmi_con_in: endpoint { + remote-endpoint = <&hdmi_out_con>; + }; + }; + }; + leds: leds { compatible = "gpio-leds"; @@ -271,6 +283,26 @@ ð1m0_rgmii_bus status = "okay"; }; +&hdmi { + status = "okay"; +}; + +&hdmi_in { + hdmi_in_vp0: endpoint { + remote-endpoint = <&vp0_out_hdmi>; + }; +}; + +&hdmi_out { + hdmi_out_con: endpoint { + remote-endpoint = <&hdmi_con_in>; + }; +}; + +&hdptxphy { + status = "okay"; +}; + &i2c1 { status = "okay"; @@ -734,3 +766,18 @@ &usb_drd1_dwc3 { dr_mode = "host"; status = "okay"; }; + +&vop { + status = "okay"; +}; + +&vop_mmu { + status = "okay"; +}; + +&vp0 { + vp0_out_hdmi: endpoint@ROCKCHIP_VOP2_EP_HDMI0 { + reg = ; + remote-endpoint = <&hdmi_in_vp0>; + }; +};