From nobody Sun Nov 24 01:34:49 2024 Received: from smtp.forwardemail.net (smtp.forwardemail.net [207.246.76.47]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 318FA2185A8 for ; Thu, 7 Nov 2024 21:24:53 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=207.246.76.47 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1731014696; cv=none; b=oiGOaeJzZOrRPi0OfEeiIBWcUdedAcbyZ8RbxJXJL/5m87ovfA+yJs7pizxuNAaPOoZDgJ5q4pwFlxiyoo4f3cC9L9kxPKW4fvZCwa0BNDeU65Tmq799Oj3Isb/TrxOgLCpLYc/jN+4lXdVRRoqGd5ZYTUOf3AHDPsovBeLlihw= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1731014696; c=relaxed/simple; bh=nEdbiAhey1Ph6HCwkhCdXHsA7iVpALvEsN9VncQxqu8=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=T8ITzmdfNE+yeKAELO9WFdicbHdLib8WvV2VheAtP8EvGody6GxPjH7MHeyHAHGOHX5VPlavgHsNzMEozDTYjPyPCuroxxD+3rOyEStLledFKTr+pHUFRPKoxM7OJ7xgzbv1gctQ+/hU5ijxpKSaPrp4bc+nNOv1STt1KSib/uo= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=kwiboo.se; spf=pass smtp.mailfrom=fe-bounces.kwiboo.se; dkim=pass (2048-bit key) header.d=kwiboo.se header.i=@kwiboo.se header.b=XliHBAb5; arc=none smtp.client-ip=207.246.76.47 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=kwiboo.se Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=fe-bounces.kwiboo.se Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kwiboo.se header.i=@kwiboo.se header.b="XliHBAb5" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kwiboo.se; h=Content-Transfer-Encoding: MIME-Version: Message-ID: Date: Subject: Cc: To: From; q=dns/txt; s=fe-e1b5cab7be; t=1731014685; bh=eF3avHwQtvQTUdE1QAl4QZ2NDeHSLkfflTgz6TjoqgY=; b=XliHBAb5cWb8GxKaPMOdP4i+9D7uf1hBeKEex1SSxuQVRBDFY5Wmqv9Il8PPN4hV1CaW2vqXw eBIMLoNiILIW2xRUZbpI2NNSYcS0/G88yc76p2CFzoB3H6x6A1aZyiu5X3wRXfTjZ6HnYfrk4Iz XqzIiMKRhbMFNWjYsfY8B7SxxQzbxGQvYE+bksg5OXs9s3V0/6qW5TKfuibL8FKBB86ICRiilRI ta+YozkKVd/EpZY8ruJQ2OjMmhF09v32YefDBxGUy/Q4s1MujpO8b+r5RmLVmsqEEqg6VpfSPXK 1/E49UTxhLr8g90pLSrJ5Ktc+4IJ8OoseSx1DZ/FjQHw== From: Jonas Karlman To: Heiko Stuebner , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: Jonas Karlman , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH] arm64: dts: rockchip: Enable HDMI on Hardkernel ODROID-M2 Date: Thu, 7 Nov 2024 21:13:43 +0000 Message-ID: <20241107211345.1318046-1-jonas@kwiboo.se> X-Mailer: git-send-email 2.46.2 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 X-Report-Abuse-To: abuse@forwardemail.net X-Report-Abuse: abuse@forwardemail.net X-Complaints-To: abuse@forwardemail.net X-ForwardEmail-Version: 0.4.40 X-ForwardEmail-Sender: rfc822; jonas@kwiboo.se, smtp.forwardemail.net, 207.246.76.47 X-ForwardEmail-ID: 672d2d906ff4b179fef283e3 Content-Type: text/plain; charset="utf-8" Add the necessary DT changes to enable HDMI on Hardkernel ODROID-M2. Signed-off-by: Jonas Karlman --- Tested and working with video=3D1920x1080@60 cmdline on a ODROID-M2. --- .../boot/dts/rockchip/rk3588s-odroid-m2.dts | 47 +++++++++++++++++++ 1 file changed, 47 insertions(+) diff --git a/arch/arm64/boot/dts/rockchip/rk3588s-odroid-m2.dts b/arch/arm6= 4/boot/dts/rockchip/rk3588s-odroid-m2.dts index 63d91236ba9f..8f034c6d494c 100644 --- a/arch/arm64/boot/dts/rockchip/rk3588s-odroid-m2.dts +++ b/arch/arm64/boot/dts/rockchip/rk3588s-odroid-m2.dts @@ -5,6 +5,7 @@ #include #include #include +#include #include #include "rk3588s.dtsi" =20 @@ -22,6 +23,17 @@ chosen { stdout-path =3D "serial2:1500000n8"; }; =20 + hdmi-con { + compatible =3D "hdmi-connector"; + type =3D "a"; + + port { + hdmi_con_in: endpoint { + remote-endpoint =3D <&hdmi0_out_con>; + }; + }; + }; + leds { compatible =3D "gpio-leds"; pinctrl-names =3D "default"; @@ -236,6 +248,26 @@ &gpu { status =3D "okay"; }; =20 +&hdmi0 { + status =3D "okay"; +}; + +&hdmi0_in { + hdmi0_in_vp0: endpoint { + remote-endpoint =3D <&vp0_out_hdmi0>; + }; +}; + +&hdmi0_out { + hdmi0_out_con: endpoint { + remote-endpoint =3D <&hdmi_con_in>; + }; +}; + +&hdptxphy_hdmi0 { + status =3D "okay"; +}; + &i2c0 { pinctrl-names =3D "default"; pinctrl-0 =3D <&i2c0m2_xfer>; @@ -901,3 +933,18 @@ usbdp_phy0_dp_altmode_mux: endpoint@1 { }; }; }; + +&vop { + status =3D "okay"; +}; + +&vop_mmu { + status =3D "okay"; +}; + +&vp0 { + vp0_out_hdmi0: endpoint@ROCKCHIP_VOP2_EP_HDMI0 { + reg =3D ; + remote-endpoint =3D <&hdmi0_in_vp0>; + }; +}; --=20 2.46.2