From nobody Mon Oct 6 22:53:54 2025 Received: from gloria.sntech.de (gloria.sntech.de [185.11.138.130]) (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 9A1F0285C8A; Wed, 16 Jul 2025 18:50:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=185.11.138.130 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1752691838; cv=none; b=QK7Q78EoF1HY/Qxk/4ZhnKVivASAHJUtIYsOBDtJetRiE98RO4L4NkTrP+0c3haGtSBObQMmTtx0GmC81euEXqAH+Ust2vhjOYTylwcGIccK/2jWfIuAeiZWH4KLQd5CcDRxleK9OytEzey3fuNFvpIx97hpWH5A6yQqiftZDpU= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1752691838; c=relaxed/simple; bh=yEw9Jcb/N+5m2RbpyZAvjxau5dR2bfrlSm2/PYl8TrY=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=rR76Q/U/WkG45iv4/bBTtsAfeqNrDCZjhIEcVYd//k/eEYbJI/oCpzUXk/G8JauQY9tFrfKIh5KNtD0Y9XT4kczkaOREFvJU6gHjkGwr6Hcdbe/Yy6LMbXa284BuJGseYy3HS8yasmxpiiKDVf1hXbkuVQa/HDD+4artIE/SxG0= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=sntech.de; spf=pass smtp.mailfrom=sntech.de; dkim=pass (2048-bit key) header.d=sntech.de header.i=@sntech.de header.b=WQQvhwWf; arc=none smtp.client-ip=185.11.138.130 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=sntech.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=sntech.de Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=sntech.de header.i=@sntech.de header.b="WQQvhwWf" DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sntech.de; s=gloria202408; h=Content-Transfer-Encoding:MIME-Version:References: In-Reply-To:Message-ID:Date:Subject:Cc:To:From:Reply-To:Content-Type; bh=wX/LhM0XGTPFpXq6PulOm5cC+DI6p0qBV6qG8eHjyLY=; b=WQQvhwWf7yBG3Ewk+e9vfV58cH hbEkT6JNw6YW8oiYnBuXcmRgVbe34uwWPAxDYRCactrW6wAtGroV5Fida6vvb9VQSv76TuZxXldX5 AtwW+ab1QNlEcXCq36whi4oiQ9XL69z2K7N8bhiNh9h4tYvdJgu+Jf1NBHpy2nEXNbWNO0S+tEdXi i0AfJCNHdvBPn1wzMIUk7977q25f4sRz3PQxraFoyi1oHy8zDC6oDwf+bDuPBju9lOjc7VjK4HRTs V6XEU5j3MwvemXINcU7d7mx66SvEROGnufi4WqxzW9M66kBUreZhfh+skXVv4tdLjj/vgO+X2pgH4 m7qAbOIg==; Received: from i53875a74.versanet.de ([83.135.90.116] helo=phil..) by gloria.sntech.de with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1uc7D3-0004Hf-Uc; Wed, 16 Jul 2025 20:50:30 +0200 From: Heiko Stuebner To: heiko@sntech.de Cc: robh@kernel.org, krzk+dt@kernel.org, quentin.schulz@cherry.de, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org, damon.ding@rock-chips.com, Heiko Stuebner Subject: [PATCH 1/2] dt-bindings: arm: rockchip: add RK3588 DP carrier from Theobroma Systems Date: Wed, 16 Jul 2025 20:50:26 +0200 Message-ID: <20250716185027.2762175-2-heiko@sntech.de> X-Mailer: git-send-email 2.47.2 In-Reply-To: <20250716185027.2762175-1-heiko@sntech.de> References: <20250716185027.2762175-1-heiko@sntech.de> 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" From: Heiko Stuebner The DisplayPort carrier is a very simple baseboard only providing serial, ethernet and a displayport output. But its main functionality is that it routes the Analogix eDP controller to this DisplayPort output, which allows to test that controller simply by hooking it up to a suitable monitor. Signed-off-by: Heiko Stuebner Acked-by: Rob Herring (Arm) Reviewed-by: Quentin Schulz --- Documentation/devicetree/bindings/arm/rockchip.yaml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/arm/rockchip.yaml b/Document= ation/devicetree/bindings/arm/rockchip.yaml index 5772d905f390..8dc83263c892 100644 --- a/Documentation/devicetree/bindings/arm/rockchip.yaml +++ b/Documentation/devicetree/bindings/arm/rockchip.yaml @@ -1164,9 +1164,11 @@ properties: - const: tsd,rk3588-jaguar - const: rockchip,rk3588 =20 - - description: Theobroma Systems RK3588-Q7 with Haikou baseboard + - description: Theobroma Systems RK3588-Q7 with baseboards items: - - const: tsd,rk3588-tiger-haikou + - enum: + - tsd,rk3588-tiger-displayport-carrier + - tsd,rk3588-tiger-haikou - const: tsd,rk3588-tiger - const: rockchip,rk3588 =20 --=20 2.47.2 From nobody Mon Oct 6 22:53:54 2025 Received: from gloria.sntech.de (gloria.sntech.de [185.11.138.130]) (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 9A0FC263F5B; Wed, 16 Jul 2025 18:50:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=185.11.138.130 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1752691838; cv=none; b=J3rjUtsEyDNOYhDPvlZSC2as5CL81hH8hRp0GGNs4WotN0Ae8uqI4HqkcG/iTL9C3LqF7nD4E4umCI+WYj7vwInJ9KdbxgHz6r+c0pnxTxqk2BGwVFdaI3YrZq5givEteQUAKcNTt24TS14OvmTAXIWI62YG5NOpEmVD/MeGmRQ= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1752691838; c=relaxed/simple; bh=i45zsv7y83twQhWlxS7VrovoXzIHgybD1H/biD+y+mY=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=St9gYlYVL72LhGGyykD9oxC4R9NhzjgvQolD1hdZfn/pxmeV+wupnnsKttETmxKrXkwtrOyoeBHH4BASCnSUSar43jT9Iv+07FAPlymwwXGdOAdm/WkJ2oBjqnvslNGXaA+cL4RBqACvWiTi6uMBoAfJDe6BOKUIiMLR21UaREA= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=sntech.de; spf=pass smtp.mailfrom=sntech.de; dkim=pass (2048-bit key) header.d=sntech.de header.i=@sntech.de header.b=gB7GdZkB; arc=none smtp.client-ip=185.11.138.130 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=sntech.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=sntech.de Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=sntech.de header.i=@sntech.de header.b="gB7GdZkB" DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sntech.de; s=gloria202408; h=Content-Transfer-Encoding:MIME-Version:References: In-Reply-To:Message-ID:Date:Subject:Cc:To:From:Reply-To:Content-Type; bh=diPrnOjtwbR3Nf2e1EEVbsiaEPZwD/tPIGD+m45hMZM=; b=gB7GdZkBwleB5Yd5Ivfsd7bizQ KeIkNBTMAuuC1SbtB0Tf12HsaLJ3d43iX4zCvKEuwKG8ysCYsgCZ5+nm5LL6abzBhWI4/9IUaHRYf 0JQPgD8QPG83TdAFk05EW63f/+rlwSi14d9b54j/iNqnMzzx6Zan46CxQNJB31LBP12UeSTcRDJZC m6z0OHXXpTFV2tWKS9acqTVt5ignm5ySKJH4JqtX6qEVndvQ7RTA0OCw8sRB8jglgaXHSq2hpm0Zt 64+Hx3GuA3HitpXpKJvAVhD9nmOKsSvWEoE5BuiRoHb915lv07FmbX7yhXu1XrLreZpinwkJoovoV Y7khAxMA==; Received: from i53875a74.versanet.de ([83.135.90.116] helo=phil..) by gloria.sntech.de with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1uc7D4-0004Hf-Cv; Wed, 16 Jul 2025 20:50:30 +0200 From: Heiko Stuebner To: heiko@sntech.de Cc: robh@kernel.org, krzk+dt@kernel.org, quentin.schulz@cherry.de, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org, damon.ding@rock-chips.com, Heiko Stuebner Subject: [PATCH 2/2] arm64: dts: rockchip: add RK3588 DP carrier from Theobroma Systems Date: Wed, 16 Jul 2025 20:50:27 +0200 Message-ID: <20250716185027.2762175-3-heiko@sntech.de> X-Mailer: git-send-email 2.47.2 In-Reply-To: <20250716185027.2762175-1-heiko@sntech.de> References: <20250716185027.2762175-1-heiko@sntech.de> 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" From: Heiko Stuebner The DisplayPort carrier is a very simple baseboard only providing serial, ethernet and a displayport output. But its main functionality is that it routes the Analogix eDP controller to this DisplayPort output, which allows to test that controller simply by hooking it up to a suitable monitor. The Analogix-DP controller supports eDP 1.3 and DP 1.2, so can drive both eDP displays as well as full DP monitors. It does not support DP+ so passive DP-to-HDMI adapters won't work. Signed-off-by: Heiko Stuebner --- arch/arm64/boot/dts/rockchip/Makefile | 1 + .../rk3588-tiger-displayport-carrier.dts | 118 ++++++++++++++++++ 2 files changed, 119 insertions(+) create mode 100644 arch/arm64/boot/dts/rockchip/rk3588-tiger-displayport-c= arrier.dts diff --git a/arch/arm64/boot/dts/rockchip/Makefile b/arch/arm64/boot/dts/ro= ckchip/Makefile index 7946bec10670..0c915679fde6 100644 --- a/arch/arm64/boot/dts/rockchip/Makefile +++ b/arch/arm64/boot/dts/rockchip/Makefile @@ -178,6 +178,7 @@ dtb-$(CONFIG_ARCH_ROCKCHIP) +=3D rk3588-rock-5b-pcie-sr= ns.dtbo dtb-$(CONFIG_ARCH_ROCKCHIP) +=3D rk3588-rock-5b-plus.dtb dtb-$(CONFIG_ARCH_ROCKCHIP) +=3D rk3588-tiger-haikou.dtb dtb-$(CONFIG_ARCH_ROCKCHIP) +=3D rk3588-tiger-haikou-video-demo.dtbo +dtb-$(CONFIG_ARCH_ROCKCHIP) +=3D rk3588-tiger-displayport-carrier.dtb dtb-$(CONFIG_ARCH_ROCKCHIP) +=3D rk3588-toybrick-x0.dtb dtb-$(CONFIG_ARCH_ROCKCHIP) +=3D rk3588-turing-rk1.dtb dtb-$(CONFIG_ARCH_ROCKCHIP) +=3D rk3588s-coolpi-4b.dtb diff --git a/arch/arm64/boot/dts/rockchip/rk3588-tiger-displayport-carrier.= dts b/arch/arm64/boot/dts/rockchip/rk3588-tiger-displayport-carrier.dts new file mode 100644 index 000000000000..5bd79877194a --- /dev/null +++ b/arch/arm64/boot/dts/rockchip/rk3588-tiger-displayport-carrier.dts @@ -0,0 +1,118 @@ +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Copyright (c) 2024 Cherry Embedded Solutions GmbH + */ + +/dts-v1/; +#include +#include "rk3588-tiger.dtsi" + +/ { + model =3D "Theobroma Systems RK3588-Q7 SoM on Tiger Displayport Carrier v= 1"; + compatible =3D "tsd,rk3588-tiger-displayport-carrier", "tsd,rk3588-tiger"= , "rockchip,rk3588"; + + chosen { + stdout-path =3D "serial2:115200n8"; + }; + + dp-connector { + compatible =3D "dp-connector"; + dp-pwr-supply =3D <&vcc3v3_baseboard>; + label =3D "dp0"; + type =3D "full-size"; + + /* Q7_DP_HPD# but Q7_HDMI_HPD# could be used too */ + hpd-gpios =3D <&gpio4 RK_PB5 GPIO_ACTIVE_LOW>; + pinctrl-0 =3D <&edp0_hpd_l>; + pinctrl-names =3D "default"; + + port { + dp_con_in: endpoint { + remote-endpoint =3D <&edp0_out_con>; + }; + }; + }; + + vcc3v3_baseboard: regulator-vcc3v3-baseboard { + compatible =3D "regulator-fixed"; + regulator-name =3D "vcc3v3_baseboard"; + regulator-always-on; + regulator-boot-on; + regulator-min-microvolt =3D <3300000>; + regulator-max-microvolt =3D <3300000>; + vin-supply =3D <&vcc5v0_baseboard>; + }; + + vcc5v0_baseboard: regulator-vcc5v0-baseboard { + compatible =3D "regulator-fixed"; + regulator-name =3D "vcc5v0_baseboard"; + regulator-always-on; + regulator-boot-on; + regulator-min-microvolt =3D <5000000>; + regulator-max-microvolt =3D <5000000>; + }; +}; + +&edp0 { + /* + * Note that this board doesn't respect Q7 standard as Q7 has + * lane 2 of HDMI on the same pin as lane 0 of DP and lane 0 of HDMI + * on lane 2 of DP but this board uses HDMI lane numbering instead of + * DP lane numbering for its DP lanes. + * + * It should be possible to match Q7 standard if required by requesting + * the eDPTX controller to swap lanes with: + * + * data-lanes =3D <2 1 0 3>; + */ + + status =3D "okay"; +}; + +&edp0_in { + edp0_in_vp2: endpoint { + remote-endpoint =3D <&vp2_out_edp0>; + }; +}; + +&edp0_out { + edp0_out_con: endpoint { + remote-endpoint =3D <&dp_con_in>; + }; +}; + +&gmac0 { + status =3D "okay"; +}; + +&hdptxphy0 { + status =3D "okay"; +}; + +&pinctrl { + edp0 { + edp0_hpd_l: edp0-hpd-l-pin { + rockchip,pins =3D <4 RK_PB5 RK_FUNC_GPIO &pcfg_pull_up>; + }; + }; +}; + +&uart2 { + pinctrl-0 =3D <&uart2m2_xfer>; + status =3D "okay"; +}; + +&vop { + status =3D "okay"; +}; + +&vop_mmu { + status =3D "okay"; +}; + +&vp2 { + vp2_out_edp0: endpoint@ROCKCHIP_VOP2_EP_EDP0 { + reg =3D ; + remote-endpoint =3D <&edp0_in_vp2>; + }; +}; --=20 2.47.2