[PATCH v3 3/5] arm64: dts: rockchip: Enable HDMI output on RK3368-Lion-Haikou

Heiko Stuebner posted 5 patches 3 weeks, 4 days ago
[PATCH v3 3/5] arm64: dts: rockchip: Enable HDMI output on RK3368-Lion-Haikou
Posted by Heiko Stuebner 3 weeks, 4 days ago
From: Heiko Stuebner <heiko.stuebner@cherry.de>

Enable the VOP and HDMI controller on the Lion-Haikou board.

Signed-off-by: Heiko Stuebner <heiko.stuebner@cherry.de>
---
 .../boot/dts/rockchip/rk3368-lion-haikou.dts     | 16 ++++++++++++++++
 arch/arm64/boot/dts/rockchip/rk3368-lion.dtsi    |  5 +++++
 2 files changed, 21 insertions(+)

diff --git a/arch/arm64/boot/dts/rockchip/rk3368-lion-haikou.dts b/arch/arm64/boot/dts/rockchip/rk3368-lion-haikou.dts
index abd1af97456a..ec843a1b0266 100644
--- a/arch/arm64/boot/dts/rockchip/rk3368-lion-haikou.dts
+++ b/arch/arm64/boot/dts/rockchip/rk3368-lion-haikou.dts
@@ -58,6 +58,14 @@ vcc5v0_otg: regulator-vcc5v0-otg {
 	};
 };
 
+&display_subsystem {
+	status = "okay";
+};
+
+&hdmi {
+	status = "okay";
+};
+
 &i2c_lvds_blc {
 	eeprom: eeprom@50 {
 		compatible = "atmel,24c01";
@@ -101,6 +109,14 @@ &uart1 {
 	status = "disabled";
 };
 
+&vop {
+	status = "okay";
+};
+
+&vop_mmu {
+	status = "okay";
+};
+
 &pinctrl {
 	pinctrl-names = "default";
 	pinctrl-0 = <&haikou_pin_hog>;
diff --git a/arch/arm64/boot/dts/rockchip/rk3368-lion.dtsi b/arch/arm64/boot/dts/rockchip/rk3368-lion.dtsi
index 61c52bd91784..4b4305b90055 100644
--- a/arch/arm64/boot/dts/rockchip/rk3368-lion.dtsi
+++ b/arch/arm64/boot/dts/rockchip/rk3368-lion.dtsi
@@ -164,6 +164,11 @@ &gmac {
 	status = "okay";
 };
 
+&hdmi {
+	avdd-0v9-supply = <&vdd10_video>;
+	avdd-1v8-supply = <&vcc18_video>;
+};
+
 &i2c0 {
 	status = "okay";
 
-- 
2.47.2
Re: [PATCH v3 3/5] arm64: dts: rockchip: Enable HDMI output on RK3368-Lion-Haikou
Posted by Quentin Schulz 3 weeks, 2 days ago
Hi Heiko,

On 1/15/26 12:07 AM, Heiko Stuebner wrote:
> From: Heiko Stuebner <heiko.stuebner@cherry.de>
> 
> Enable the VOP and HDMI controller on the Lion-Haikou board.
> 

Reviewed-by: Quentin Schulz <quentin.schulz@cherry.de>

Thanks!
Quentin
Re: [PATCH v3 3/5] arm64: dts: rockchip: Enable HDMI output on RK3368-Lion-Haikou
Posted by Chaoyi Chen 3 weeks, 4 days ago
Hi Heiko,

On 1/15/2026 7:07 AM, Heiko Stuebner wrote:
> From: Heiko Stuebner <heiko.stuebner@cherry.de>
> 
> Enable the VOP and HDMI controller on the Lion-Haikou board.
> 
> Signed-off-by: Heiko Stuebner <heiko.stuebner@cherry.de>
> ---
>  .../boot/dts/rockchip/rk3368-lion-haikou.dts     | 16 ++++++++++++++++
>  arch/arm64/boot/dts/rockchip/rk3368-lion.dtsi    |  5 +++++
>  2 files changed, 21 insertions(+)
> 

I guess NPLL is an independent PLL available for VOP, 
could you give it a try?

-- 
Best, 
Chaoyi
Re: [PATCH v3 3/5] arm64: dts: rockchip: Enable HDMI output on RK3368-Lion-Haikou
Posted by Heiko Stübner 3 weeks, 3 days ago
Hi,

Am Donnerstag, 15. Januar 2026, 02:25:34 Mitteleuropäische Normalzeit schrieb Chaoyi Chen:
> On 1/15/2026 7:07 AM, Heiko Stuebner wrote:
> > From: Heiko Stuebner <heiko.stuebner@cherry.de>
> > 
> > Enable the VOP and HDMI controller on the Lion-Haikou board.
> > 
> > Signed-off-by: Heiko Stuebner <heiko.stuebner@cherry.de>
> > ---
> >  .../boot/dts/rockchip/rk3368-lion-haikou.dts     | 16 ++++++++++++++++
> >  arch/arm64/boot/dts/rockchip/rk3368-lion.dtsi    |  5 +++++
> >  2 files changed, 21 insertions(+)
> > 
> 
> I guess NPLL is an independent PLL available for VOP, 
> could you give it a try?

not really sure what you mean here.

The VOP-binding specifies the aclk, dclk and hclk clocks.

The NPLL is a possible source for quite a lot of peripherals on the rk3368
aclk_cci_pre,  sclk_tcp, vepu/vdpu, hevc, isp, gpu, gmac

So it's definitly not dedicated to the VOP, and thus should not
change frequency for the VOP alone, because that could affect
other blocks.


Heiko
Re: [PATCH v3 3/5] arm64: dts: rockchip: Enable HDMI output on RK3368-Lion-Haikou
Posted by Chaoyi Chen 3 weeks, 3 days ago
On 1/15/2026 5:35 PM, Heiko Stübner wrote:
> Hi,
> 
> Am Donnerstag, 15. Januar 2026, 02:25:34 Mitteleuropäische Normalzeit schrieb Chaoyi Chen:
>> On 1/15/2026 7:07 AM, Heiko Stuebner wrote:
>>> From: Heiko Stuebner <heiko.stuebner@cherry.de>
>>>
>>> Enable the VOP and HDMI controller on the Lion-Haikou board.
>>>
>>> Signed-off-by: Heiko Stuebner <heiko.stuebner@cherry.de>
>>> ---
>>>  .../boot/dts/rockchip/rk3368-lion-haikou.dts     | 16 ++++++++++++++++
>>>  arch/arm64/boot/dts/rockchip/rk3368-lion.dtsi    |  5 +++++
>>>  2 files changed, 21 insertions(+)
>>>
>>
>> I guess NPLL is an independent PLL available for VOP, 
>> could you give it a try?
> 
> not really sure what you mean here.
> 
> The VOP-binding specifies the aclk, dclk and hclk clocks.
> 
> The NPLL is a possible source for quite a lot of peripherals on the rk3368
> aclk_cci_pre,  sclk_tcp, vepu/vdpu, hevc, isp, gpu, gmac
> 
> So it's definitly not dedicated to the VOP, and thus should not
> change frequency for the VOP alone, because that could affect
> other blocks.
> 
> 
> Heiko

Oh, you are right. It is a general purpose PLL.

-- 
Best, 
Chaoyi