arm64: dts: rockchip: Enable eDP display for Cool Pi GenBook

Cool Pi CM5 GenBook equipped with a 1080P eDP panel, the panel
connected on board with 30/40 pin connector.

There is no hpd hooked up on the board, so we need to set
hpd-absent-delay-ms in dts.

Signed-off-by: Andy Yan <andyshrk@163.com>
Link: https://lore.kernel.org/r/20250426071554.1305042-2-andyshrk@163.com
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
This commit is contained in:
Andy Yan
2025-04-26 15:15:41 +08:00
committed by Heiko Stuebner
parent a481bb0b1a
commit 281bc0c595

View File

@@ -148,6 +148,40 @@ vcc5v0_usb_host0: vcc5v0_usb30_host: regulator-vcc5v0-usb-host {
};
};
&edp1 {
force-hpd;
status = "okay";
aux-bus {
panel {
compatible = "edp-panel";
hpd-absent-delay-ms = <200>;
no-hpd;
backlight = <&backlight>;
power-supply = <&vcc3v3_lcd>;
port {
panel_in_edp: endpoint {
remote-endpoint = <&edp_out_panel>;
};
};
};
};
};
&edp1_in {
edp1_in_vp2: endpoint {
remote-endpoint = <&vp2_out_edp1>;
};
};
&edp1_out {
edp_out_panel: endpoint {
remote-endpoint = <&panel_in_edp>;
};
};
/* HDMI CEC is not used */
&hdmi0 {
pinctrl-0 = <&hdmim0_tx0_hpd &hdmim0_tx0_scl &hdmim0_tx0_sda>;
@@ -170,6 +204,10 @@ &hdptxphy0 {
status = "okay";
};
&hdptxphy1 {
status = "okay";
};
&i2c4 {
status = "okay";
pinctrl-names = "default";
@@ -383,6 +421,8 @@ &usb_host1_xhci {
};
&vop {
assigned-clocks = <&cru DCLK_VOP2_SRC>;
assigned-clock-parents = <&cru PLL_V0PLL>;
status = "okay";
};
@@ -396,3 +436,10 @@ vp0_out_hdmi0: endpoint@ROCKCHIP_VOP2_EP_HDMI0 {
remote-endpoint = <&hdmi0_in_vp0>;
};
};
&vp2 {
vp2_out_edp1: endpoint@ROCKCHIP_VOP2_EP_EDP1 {
reg = <ROCKCHIP_VOP2_EP_EDP1>;
remote-endpoint = <&edp1_in_vp2>;
};
};