From nobody Sat Oct 4 22:37:08 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 45E102E2665; Tue, 12 Aug 2025 08:32:32 +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=1754987554; cv=none; b=nlmbEI5vdmYQb9eJllEZU42pIXlCdO2jQIPmwpQMBIKqPnmFEXdvsz6zOvhZxGD4Yns4uI0A6Vg4FpKWY9cmuctrENexk5rxc4aYHTvyj4nN2aXa5kPrdIJKNT+v2I3HhLMcRtA5WGgEHIQDOpfxAUfDwAJ++Dmhlp/qlM0VooQ= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1754987554; c=relaxed/simple; bh=yhEB5IEIXi8cGIHPwe/C42JhYdoMVx7oFeqpUUUk2FQ=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=GhCxZjShSdfJyrHrVoVeaYgh+TMQNyTM3c9wGu82nG/+vrz1J/U9BsXsEZIgxMuk1Sq2dp7JEdf3+dOE1/OdVvwWiz8FcxleX0+30e/iR8VZXTXLzpT8nl2QTxLUdZB5UgCSWoD24xBx6OPYXC2ze4O/XIbRmDXVzEtGUwbNSIk= 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=ZUFI4Ubw; 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="ZUFI4Ubw" 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=u/GlA9c7JgMPGjQHtJLx36RU8AROSBuEm27xFuxdPGc=; b=ZUFI4UbwukBnQD7k4OWO4J0FIE /raIVD61SLVJKasvghVF86zTGeNQCVjNhlyNTiv/9Jqbba62vQGQE32XWahOtf8qaRPU4aJT/gGGf 5+d432p3iRPyNszwjTpKDYcClRKtINJFZbNI1cTd8qxWaIzNBH8WPUE0jytseXSUl2nGxlwHbrjlt p4IsnIc+eu3t5Y34UAFkaRYrwMUx9A1XolOw0LEhT1KUyeTj/oddTMLPdkEQJJQNovU7RQa+3DLMB HMVmSvarD8DqF8Vk+eeHoJuMrYjD3aqKhTooqSN/iCzf1bkNAT1zdeXxo7hog0zUOIr2WW/fofzUv 8g+JyznA==; Received: from [194.95.143.137] (helo=phil.dip.tu-dresden.de) by gloria.sntech.de with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1ulkQe-0001tw-TI; Tue, 12 Aug 2025 10:32:20 +0200 From: Heiko Stuebner To: heiko@sntech.de Cc: robh@kernel.org, krzk+dt@kernel.org, conor+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 v3 1/2] dt-bindings: arm: rockchip: add RK3588 DP carrier from Theobroma Systems Date: Tue, 12 Aug 2025 10:32:16 +0200 Message-ID: <20250812083217.1064185-2-heiko@sntech.de> X-Mailer: git-send-email 2.47.2 In-Reply-To: <20250812083217.1064185-1-heiko@sntech.de> References: <20250812083217.1064185-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. Reviewed-by: Quentin Schulz Acked-by: Rob Herring (Arm) Signed-off-by: Heiko Stuebner --- 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 28db6bd6aa5b..4a64434ad6ea 100644 --- a/Documentation/devicetree/bindings/arm/rockchip.yaml +++ b/Documentation/devicetree/bindings/arm/rockchip.yaml @@ -1192,9 +1192,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 Sat Oct 4 22:37:08 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 829002D9EF5; Tue, 12 Aug 2025 08:32:34 +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=1754987556; cv=none; b=bTSZln5JsV5VbNMUDLrvtj15eheP8Urz6sZ+6qFCtHS4ZocVuDg7s3eEVn6g/B4sn1OHb9XJ1Bd6Y3+ikwUisXyuNYLarSVZN8JKw1ce0jaH91nf2xQD5WaDKe8x/ZPAdyn6D4X5Mg830qoqtyMhyDAZ0dxMcVW0Ggioew1AYfo= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1754987556; c=relaxed/simple; bh=GTMqo4JbrwtYXlwZKF8tyVx+hQcrBRWxAqD7xRtsE6o=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=onzb4RIwOQ2Fl3q2l0P4/6MMDfL7BNh3f6QJo4zYtBjNQYXzljc6ecxYaZcPzdzrV1pLmHRtj10yTI+LqoCUXuT/6UjOXVDjFtOItMdaCgX4pVDFth9C/sXeQTKLr/3PK+YAsluF2W/D6PpTtEJgDD0YbUKVa9w7Aeny4MDpp8s= 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=RQHPB42F; 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="RQHPB42F" 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=5sA4dfKRcs1u8Zv8Pe6M7llEqKk9gbfBbVfZyNB4Iq8=; b=RQHPB42FZvWoOlXTI2UMPwTDWN HYrds2/cZTw0iYeHQLkTV8GEQubS5aBOCyMp8wWVtwDjOpkJb+sLDNKxRdMyFFN+aLo0zoXs054xT gyfm/PshlmV6DnkaDy3uCNUimbcdCWaH7s688GkQ83nf1vu1xpWR8DbPPiVWG1rsP0b+LqGZexhRG v1oF7cq/WhIFeU+iFK2vmA9azigV6XAWLFvmbJpsGjrJvqNykLddSMBKk54oGSCWl3CoHjVyFIb7i 9h6ncTerlRixtHg9McUHeOxGbcw1M5q+IqlKa294oyL9Gf+YjtJGKNjQMddF8cPb4C8gg7K6hU45U I32Q0u+g==; Received: from [194.95.143.137] (helo=phil.dip.tu-dresden.de) by gloria.sntech.de with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1ulkQf-0001tw-6u; Tue, 12 Aug 2025 10:32:21 +0200 From: Heiko Stuebner To: heiko@sntech.de Cc: robh@kernel.org, krzk+dt@kernel.org, conor+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 v3 2/2] arm64: dts: rockchip: add RK3588 DP carrier from Theobroma Systems Date: Tue, 12 Aug 2025 10:32:17 +0200 Message-ID: <20250812083217.1064185-3-heiko@sntech.de> X-Mailer: git-send-email 2.47.2 In-Reply-To: <20250812083217.1064185-1-heiko@sntech.de> References: <20250812083217.1064185-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 | 109 ++++++++++++++++++ 2 files changed, 110 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 099520962ffb..271f372e36e9 100644 --- a/arch/arm64/boot/dts/rockchip/Makefile +++ b/arch/arm64/boot/dts/rockchip/Makefile @@ -181,6 +181,7 @@ dtb-$(CONFIG_ARCH_ROCKCHIP) +=3D rk3588-rock-5b-pcie-ep= .dtbo dtb-$(CONFIG_ARCH_ROCKCHIP) +=3D rk3588-rock-5b-pcie-srns.dtbo dtb-$(CONFIG_ARCH_ROCKCHIP) +=3D rk3588-rock-5b-plus.dtb dtb-$(CONFIG_ARCH_ROCKCHIP) +=3D rk3588-rock-5t.dtb +dtb-$(CONFIG_ARCH_ROCKCHIP) +=3D rk3588-tiger-displayport-carrier.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-toybrick-x0.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..025b2853c708 --- /dev/null +++ b/arch/arm64/boot/dts/rockchip/rk3588-tiger-displayport-carrier.dts @@ -0,0 +1,109 @@ +// 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"; + + aliases { + ethernet0 =3D &gmac0; + }; + + chosen { + stdout-path =3D "serial2:115200n8"; + }; + + dp-connector { + compatible =3D "dp-connector"; + dp-pwr-supply =3D <&vcc3v3_baseboard>; + /* Q7_DP_HPD# but Q7_HDMI_HPD# could be used too */ + hpd-gpios =3D <&gpio4 RK_PB5 GPIO_ACTIVE_LOW>; + label =3D "dp0"; + pinctrl-0 =3D <&edp0_hpd_l>; + pinctrl-names =3D "default"; + type =3D "full-size"; + + 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 { + 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