From nobody Tue Nov 26 00:50:05 2024 Received: from muminek.juszkiewicz.com.pl (muminek.juszkiewicz.com.pl [213.251.184.221]) (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 C91B414B953; Wed, 23 Oct 2024 08:17:05 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=213.251.184.221 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729671427; cv=none; b=UUlq+CWBR0GsbUzLzSUKpDQr1K5fhPtuVMh1ShWg0PVDECT7doYLosE8PxWW0AougkNbs7yeLgwk06kBeItHS7PYFokqXC/w+DqUaPHPfb8Rn4P1rrKoYPakNSRVH19BraZflbih1sngp5kpsYIGpMBrTM4ESqN/qdsm32Nd4HI= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729671427; c=relaxed/simple; bh=TJf3b8eqVwOuOIsErBaIed229CKsRWSMPf3lEQFcUfA=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=pfRwmuF/gSCjDe6c+FTa9kb648i0R5hmVp8VW3p/j0qsMdk0TSC59mukjsQD2PC77DFGIhJUgCnJCUeXxPjccbYaibB1ZNbVXCDXyOj8WOxUaFapM+wafN3U6nZdMq+XCPiPbVK5YP2SQpCAnIQYwZG00zcbWrijlQu3OzOOraA= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=fail (p=none dis=none) header.from=linaro.org; spf=fail smtp.mailfrom=linaro.org; arc=none smtp.client-ip=213.251.184.221 Authentication-Results: smtp.subspace.kernel.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=fail smtp.mailfrom=linaro.org Received: from localhost (localhost [127.0.0.1]) by muminek.juszkiewicz.com.pl (Postfix) with ESMTP id 6D5AD261A20; Wed, 23 Oct 2024 10:06:14 +0200 (CEST) X-Virus-Scanned: Debian amavis at juszkiewicz.com.pl Received: from muminek.juszkiewicz.com.pl ([127.0.0.1]) by localhost (muminek.juszkiewicz.com.pl [127.0.0.1]) (amavis, port 10024) with ESMTP id DkM8llJTJZMF; Wed, 23 Oct 2024 10:06:12 +0200 (CEST) Received: from puchatek.lan (83.11.13.124.ipv4.supernova.orange.pl [83.11.13.124]) by muminek.juszkiewicz.com.pl (Postfix) with ESMTPSA id 117CF26059E; Wed, 23 Oct 2024 10:06:10 +0200 (CEST) From: Marcin Juszkiewicz To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Heiko Stuebner Cc: Marcin Juszkiewicz , 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 rk3588-nanopc-t6 Date: Wed, 23 Oct 2024 10:06:04 +0200 Message-ID: <20241023080605.623125-1-marcin.juszkiewicz@linaro.org> X-Mailer: git-send-email 2.47.0 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="utf-8" Add the necessary DT changes to enable HDMI0 on FriendlyELEC NanoPC-T6. Tested on LTS variant of the board but this part is the same on both. Signed-off-by: Marcin Juszkiewicz --- .../boot/dts/rockchip/rk3588-nanopc-t6.dtsi | 47 +++++++++++++++++++ 1 file changed, 47 insertions(+) diff --git a/arch/arm64/boot/dts/rockchip/rk3588-nanopc-t6.dtsi b/arch/arm6= 4/boot/dts/rockchip/rk3588-nanopc-t6.dtsi index fc131789b4c3..35d5d9f0c477 100644 --- a/arch/arm64/boot/dts/rockchip/rk3588-nanopc-t6.dtsi +++ b/arch/arm64/boot/dts/rockchip/rk3588-nanopc-t6.dtsi @@ -10,6 +10,7 @@ #include #include #include +#include #include #include "rk3588.dtsi" =20 @@ -40,6 +41,17 @@ chosen { stdout-path =3D "serial2:1500000n8"; }; =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>; @@ -318,6 +330,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 <&hdmi0_con_in>; + }; +}; + +&hdptxphy_hdmi0 { + status =3D "okay"; +}; + &i2c0 { pinctrl-names =3D "default"; pinctrl-0 =3D <&i2c0m2_xfer>; @@ -1039,3 +1071,18 @@ &usb_host1_ehci { &usb_host1_ohci { status =3D "okay"; }; + +&vop_mmu { + status =3D "okay"; +}; + +&vop { + status =3D "okay"; +}; + +&vp0 { + vp0_out_hdmi0: endpoint@ROCKCHIP_VOP2_EP_HDMI0 { + reg =3D ; + remote-endpoint =3D <&hdmi0_in_vp0>; + }; +}; --=20 2.47.0