From: Chaoyi Chen <chaoyi.chen@rock-chips.com>
To: Quentin Schulz <quentin.schulz@cherry.de>,
Chaoyi Chen <kernel@airkyi.com>, Heiko Stuebner <heiko@sntech.de>,
Andy Yan <andy.yan@rock-chips.com>
Cc: Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>,
Dragan Simic <dsimic@manjaro.org>,
FUKAUMI Naoki <naoki@radxa.com>, Jonas Karlman <jonas@kwiboo.se>,
Peter Robinson <pbrobinson@gmail.com>,
Geert Uytterhoeven <geert+renesas@glider.be>,
Cristian Ciocaltea <cristian.ciocaltea@collabora.com>,
Sebastian Reichel <sebastian.reichel@collabora.com>,
devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org,
linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH v2] arm64: dts: rockchip: Enable DisplayPort for rk3588-evb2
Date: Thu, 18 Sep 2025 19:28:52 +0800 [thread overview]
Message-ID: <404b35bb-e32b-4830-8d34-d0cfd0a262ff@rock-chips.com> (raw)
In-Reply-To: <ecc96b5a-2062-43f4-9959-b4e2b126d9f3@cherry.de>
Hi Quentin,
On 9/18/2025 6:39 PM, Quentin Schulz wrote:
> Hi Chaoyi Chen,
>
> On 9/18/25 8:28 AM, Chaoyi Chen wrote:
>> From: Chaoyi Chen <chaoyi.chen@rock-chips.com>
>>
>> The rk3588 evb2 board has a full size DisplayPort connector, enable
>> for it.
>>
>> Signed-off-by: Chaoyi Chen <chaoyi.chen@rock-chips.com>
>> ---
>>
>> Changes in v2:
>>
>> - Link to V1: https://lore.kernel.org/all/20250916080802.125-1-kernel@airkyi.com/
>> - Fix invalid DP connector type
>> - Add more comment about dclk_vp2 parent clock
>>
>> .../boot/dts/rockchip/rk3588-evb2-v10.dts | 48 +++++++++++++++++++
>> 1 file changed, 48 insertions(+)
>>
>> diff --git a/arch/arm64/boot/dts/rockchip/rk3588-evb2-v10.dts b/arch/arm64/boot/dts/rockchip/rk3588-evb2-v10.dts
>> index 91fe810d38d8..60ba6ac55b23 100644
>> --- a/arch/arm64/boot/dts/rockchip/rk3588-evb2-v10.dts
>> +++ b/arch/arm64/boot/dts/rockchip/rk3588-evb2-v10.dts
>> @@ -25,6 +25,18 @@ chosen {
>> stdout-path = "serial2:1500000n8";
>> };
>> + dp-con {
>> + compatible = "dp-connector";
>> + label = "DP OUT";
>> + type = "full-size";
>> +
>> + port {
>> + dp_con_in: endpoint {
>> + remote-endpoint = <&dp0_out_con>;
>> + };
>> + };
>> + };
>> +
>> hdmi-con {
>> compatible = "hdmi-connector";
>> type = "a";
>> @@ -106,6 +118,24 @@ vcc5v0_usbdcin: regulator-vcc5v0-usbdcin {
>> };
>> };
>> +&dp0 {
>> + pinctrl-0 = <&dp0m0_pins>;
>> + pinctrl-names = "default";
>> + status = "okay";
>> +};
>> +
>> +&dp0_in {
>> + dp0_in_vp2: endpoint {
>> + remote-endpoint = <&vp2_out_dp0>;
>> + };
>> +};
>> +
>> +&dp0_out {
>> + dp0_out_con: endpoint {
>> + remote-endpoint = <&dp_con_in>;
>> + };
>> +};
>> +
>> &gpu {
>> mali-supply = <&vdd_gpu_s0>;
>> sram-supply = <&vdd_gpu_mem_s0>;
>> @@ -916,6 +946,17 @@ &usb_host1_xhci {
>> };
>> &vop {
>> + /*
>> + * If no dedicated PLL was specified, the GPLL would be automatically
>> + * assigned as the PLL source for dclk_vop2. As the frequency of GPLL
>> + * is 1188 MHz, we can only get typical clock frequencies such as
>> + * 74.25MHz, 148.5MHz, 297MHz, 594MHz.
>> + *
>> + * So here we set the parent clock of VP2 to V0PLL so that we can get
>> + * any frequency.
>> + */
>> + assigned-clocks = <&cru DCLK_VOP2_SRC>;
>> + assigned-clock-parents = <&cru PLL_V0PLL>;
>
> Are those board-specific? Considering the VOP and DP/HDMI/... controllers/PHYs are all internal to the SoC, would it make sense to have those specified in the SoC DTSI? I'm not familiar with the video output stack so maybe it doesn't apply here or is a bad idea, so I'm not actually asking for a change here, just asking a question :)
Yep, they are board-specific. Because the V0PLL may be used for non-display applications.
>
> Cheers,
> Quentin
>
>
--
Best,
Chaoyi
WARNING: multiple messages have this Message-ID (diff)
From: Chaoyi Chen <chaoyi.chen@rock-chips.com>
To: Quentin Schulz <quentin.schulz@cherry.de>,
Chaoyi Chen <kernel@airkyi.com>, Heiko Stuebner <heiko@sntech.de>,
Andy Yan <andy.yan@rock-chips.com>
Cc: Rob Herring <robh@kernel.org>, Conor Dooley <conor+dt@kernel.org>,
Geert Uytterhoeven <geert+renesas@glider.be>,
Jonas Karlman <jonas@kwiboo.se>,
Sebastian Reichel <sebastian.reichel@collabora.com>,
linux-kernel@vger.kernel.org, linux-rockchip@lists.infradead.org,
devicetree@vger.kernel.org, FUKAUMI Naoki <naoki@radxa.com>,
Peter Robinson <pbrobinson@gmail.com>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Dragan Simic <dsimic@manjaro.org>,
linux-arm-kernel@lists.infradead.org
Subject: Re: [PATCH v2] arm64: dts: rockchip: Enable DisplayPort for rk3588-evb2
Date: Thu, 18 Sep 2025 19:28:52 +0800 [thread overview]
Message-ID: <404b35bb-e32b-4830-8d34-d0cfd0a262ff@rock-chips.com> (raw)
In-Reply-To: <ecc96b5a-2062-43f4-9959-b4e2b126d9f3@cherry.de>
Hi Quentin,
On 9/18/2025 6:39 PM, Quentin Schulz wrote:
> Hi Chaoyi Chen,
>
> On 9/18/25 8:28 AM, Chaoyi Chen wrote:
>> From: Chaoyi Chen <chaoyi.chen@rock-chips.com>
>>
>> The rk3588 evb2 board has a full size DisplayPort connector, enable
>> for it.
>>
>> Signed-off-by: Chaoyi Chen <chaoyi.chen@rock-chips.com>
>> ---
>>
>> Changes in v2:
>>
>> - Link to V1: https://lore.kernel.org/all/20250916080802.125-1-kernel@airkyi.com/
>> - Fix invalid DP connector type
>> - Add more comment about dclk_vp2 parent clock
>>
>> .../boot/dts/rockchip/rk3588-evb2-v10.dts | 48 +++++++++++++++++++
>> 1 file changed, 48 insertions(+)
>>
>> diff --git a/arch/arm64/boot/dts/rockchip/rk3588-evb2-v10.dts b/arch/arm64/boot/dts/rockchip/rk3588-evb2-v10.dts
>> index 91fe810d38d8..60ba6ac55b23 100644
>> --- a/arch/arm64/boot/dts/rockchip/rk3588-evb2-v10.dts
>> +++ b/arch/arm64/boot/dts/rockchip/rk3588-evb2-v10.dts
>> @@ -25,6 +25,18 @@ chosen {
>> stdout-path = "serial2:1500000n8";
>> };
>> + dp-con {
>> + compatible = "dp-connector";
>> + label = "DP OUT";
>> + type = "full-size";
>> +
>> + port {
>> + dp_con_in: endpoint {
>> + remote-endpoint = <&dp0_out_con>;
>> + };
>> + };
>> + };
>> +
>> hdmi-con {
>> compatible = "hdmi-connector";
>> type = "a";
>> @@ -106,6 +118,24 @@ vcc5v0_usbdcin: regulator-vcc5v0-usbdcin {
>> };
>> };
>> +&dp0 {
>> + pinctrl-0 = <&dp0m0_pins>;
>> + pinctrl-names = "default";
>> + status = "okay";
>> +};
>> +
>> +&dp0_in {
>> + dp0_in_vp2: endpoint {
>> + remote-endpoint = <&vp2_out_dp0>;
>> + };
>> +};
>> +
>> +&dp0_out {
>> + dp0_out_con: endpoint {
>> + remote-endpoint = <&dp_con_in>;
>> + };
>> +};
>> +
>> &gpu {
>> mali-supply = <&vdd_gpu_s0>;
>> sram-supply = <&vdd_gpu_mem_s0>;
>> @@ -916,6 +946,17 @@ &usb_host1_xhci {
>> };
>> &vop {
>> + /*
>> + * If no dedicated PLL was specified, the GPLL would be automatically
>> + * assigned as the PLL source for dclk_vop2. As the frequency of GPLL
>> + * is 1188 MHz, we can only get typical clock frequencies such as
>> + * 74.25MHz, 148.5MHz, 297MHz, 594MHz.
>> + *
>> + * So here we set the parent clock of VP2 to V0PLL so that we can get
>> + * any frequency.
>> + */
>> + assigned-clocks = <&cru DCLK_VOP2_SRC>;
>> + assigned-clock-parents = <&cru PLL_V0PLL>;
>
> Are those board-specific? Considering the VOP and DP/HDMI/... controllers/PHYs are all internal to the SoC, would it make sense to have those specified in the SoC DTSI? I'm not familiar with the video output stack so maybe it doesn't apply here or is a bad idea, so I'm not actually asking for a change here, just asking a question :)
Yep, they are board-specific. Because the V0PLL may be used for non-display applications.
>
> Cheers,
> Quentin
>
>
--
Best,
Chaoyi
_______________________________________________
Linux-rockchip mailing list
Linux-rockchip@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-rockchip
next prev parent reply other threads:[~2025-09-18 11:29 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-09-18 6:28 [PATCH v2] arm64: dts: rockchip: Enable DisplayPort for rk3588-evb2 Chaoyi Chen
2025-09-18 6:28 ` Chaoyi Chen
2025-09-18 10:39 ` Quentin Schulz
2025-09-18 10:39 ` Quentin Schulz
2025-09-18 11:28 ` Chaoyi Chen [this message]
2025-09-18 11:28 ` Chaoyi Chen
2025-10-14 18:06 ` Heiko Stuebner
2025-10-14 18:06 ` Heiko Stuebner
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=404b35bb-e32b-4830-8d34-d0cfd0a262ff@rock-chips.com \
--to=chaoyi.chen@rock-chips.com \
--cc=andy.yan@rock-chips.com \
--cc=conor+dt@kernel.org \
--cc=cristian.ciocaltea@collabora.com \
--cc=devicetree@vger.kernel.org \
--cc=dsimic@manjaro.org \
--cc=geert+renesas@glider.be \
--cc=heiko@sntech.de \
--cc=jonas@kwiboo.se \
--cc=kernel@airkyi.com \
--cc=krzk+dt@kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-rockchip@lists.infradead.org \
--cc=naoki@radxa.com \
--cc=pbrobinson@gmail.com \
--cc=quentin.schulz@cherry.de \
--cc=robh@kernel.org \
--cc=sebastian.reichel@collabora.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.