From nobody Sun Feb 8 22:51:24 2026 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 1FCF3192D89 for ; Fri, 8 Nov 2024 17:14:44 +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=1731086087; cv=none; b=OdGbGIUE3zmIAEy0A9CRXGaikblNSQYDnXHxnYTkT9KBzYO8kYe63yWPewewlsb9c+3OZUckV7WoDipsBqrFISYsL0beefFKBWqpXEp+UnBrVbZH10HAOLcQ0I+pB4HX7b+F1wDlexYDJea6MHoKrPzSILJqnHp/70dGaMBOWD8= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1731086087; c=relaxed/simple; bh=qXxdk8lZHAHh5/hGF7BktM8jAG0FFBHhC47+v/TURxQ=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=O0Ksy+BqqteJoBT7e7PzO1IDlBxaZUDMdW01YwvX7xQs1+w4KUU6yjiP9d7vuhVxxuONJtj7aoZCe9OqGz8RHdBsKb3FAcYSkzP0V8rAb+sSscC1bxeLS92ww1KF/tgGttYGMyf5kF1sv0yZWvfJTIivUTtLOwYFy/J3bE3aajM= 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=S7/LwjT6; 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="S7/LwjT6" 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=1731086073; bh=TS2gLOjQjFV6cYijRKcDLkRYjhtlEXXGFVSSgqynX+0=; b=S7/LwjT6RrrOoOPpoX8j7fT6pvrM9FJPPNvCA46Lx5Ehz12dE2LjDgV2BADueA/ceVI7dEYIl H5rZu5ruJncXOvjzBY1sP+RuLSlJgRDKmJQHfovbO07j4q8dMQbROtWnoAgvsuuiqRFrpHEl5Bi aCklkowmL7CVLxmSQgDMSUjvCdqpQmU8Sv+U6NPMXs/X1bya8SaH6kmCo6e8quSQyL4r4l0cUs5 5tfWn51szFGA45bcodTA/5Xo79QZLS3ib1X0LGnLRyF5d5G9mdbxp/eE+VhXf8gWzwNVxluy0aG uUNhdS8Kz6WXq3+IVLnF/E4PYdNVC26yG2Rq5WpB0N9w== 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 HDMI0 on FriendlyElec CM3588 NAS Date: Fri, 8 Nov 2024 17:14:19 +0000 Message-ID: <20241108171423.835496-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: 672e46f71f83b87ca0e8e60e Content-Type: text/plain; charset="utf-8" Add the necessary DT changes to enable HDMI0 on FriendlyElec CM3588 NAS. Signed-off-by: Jonas Karlman --- Tested and working with video=3D1920x1080@60 cmdline on a CM3588 NAS --- .../rk3588-friendlyelec-cm3588-nas.dts | 47 +++++++++++++++++++ 1 file changed, 47 insertions(+) diff --git a/arch/arm64/boot/dts/rockchip/rk3588-friendlyelec-cm3588-nas.dt= s b/arch/arm64/boot/dts/rockchip/rk3588-friendlyelec-cm3588-nas.dts index 411007cb8118..b3a04ca370bb 100644 --- a/arch/arm64/boot/dts/rockchip/rk3588-friendlyelec-cm3588-nas.dts +++ b/arch/arm64/boot/dts/rockchip/rk3588-friendlyelec-cm3588-nas.dts @@ -11,6 +11,7 @@ #include #include #include +#include #include #include "rk3588-friendlyelec-cm3588.dtsi" =20 @@ -89,6 +90,17 @@ button-user { }; }; =20 + hdmi0-con { + compatible =3D "hdmi-connector"; + type =3D "a"; + + port { + hdmi0_con_in: endpoint { + remote-endpoint =3D <&hdmi0_out_con>; + }; + }; + }; + ir-receiver { compatible =3D "gpio-ir-receiver"; gpios =3D <&gpio0 RK_PD4 GPIO_ACTIVE_LOW>; @@ -307,6 +319,26 @@ &gpio4 { "", "", "", ""; }; =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 <&hdmi0_con_in>; + }; +}; + +&hdptxphy_hdmi0 { + status =3D "okay"; +}; + /* Connected to MIPI-DSI0 */ &i2c5 { pinctrl-names =3D "default"; @@ -776,3 +808,18 @@ usbdp_phy0_dp_altmode_mux: endpoint@1 { &usbdp_phy1 { status =3D "okay"; }; + +&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