Skip to content

Commit

Permalink
patch: kernel: rk35xx-vendor-6.1: adakta-smarc: add edp display
Browse files Browse the repository at this point in the history
  • Loading branch information
bmx666 committed Dec 4, 2024
1 parent a119462 commit cdbb66b
Show file tree
Hide file tree
Showing 2 changed files with 73 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
/*
* Copyright (c) 2024 Adakta, Ltd.
*
*/

/ {
panel-edp {
compatible = "simple-panel";
prepare-delay-ms = <120>;
enable-delay-ms = <120>;
unprepare-delay-ms = <120>;
disable-delay-ms = <120>;

display-timings {
native-mode = <&edp_timing>;

edp_timing: timing0 {
clock-frequency = <125000000>;
hactive = <1920>;
vactive = <1080>;
hback-porch = <180>;
hfront-porch = <120>;
vback-porch = <10>;
vfront-porch = <10>;
hsync-len = <20>;
vsync-len = <10>;
hsync-active = <0>;
vsync-active = <0>;
de-active = <0>;
pixelclk-active = <0>;
};
};

port {
panel_in_edp: endpoint {
remote-endpoint = <&edp_out_panel>;
};
};
};
};

&edp {
pinctrl-names = "default";
pinctrl-0 = <&edpdpm1_pins>;

hpd-gpios = <&gpio0 RK_PC2 GPIO_ACTIVE_HIGH>;
status = "okay";

ports {
port@1 {
reg = <1>;

edp_out_panel: endpoint {
remote-endpoint = <&panel_in_edp>;
};
};
};
};

&edp_in_vp0 {
status = "okay";
};

&edp_phy {
status = "okay";
};

&route_edp {
connect = <&vp0_out_edp>;
status = "okay";
};
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
#include "rk3568.dtsi"

#include "rk3568-adakta-smarc-base-camera.dtsi"
#include "rk3568-adakta-smarc-base-display.dtsi"
#include "rk3568-adakta-smarc-base-ethernet.dtsi"
#include "rk3568-adakta-smarc-base-i2c.dtsi"
#include "rk3568-adakta-smarc-base-uart.dtsi"
Expand Down

0 comments on commit cdbb66b

Please sign in to comment.