增加EDP转VGA的修改

This commit is contained in:
hehaoyang 2023-12-29 09:08:26 +00:00
parent f1ec29770d
commit 48c4ed2348
3 changed files with 15 additions and 15 deletions

8
kernel/arch/arm64/boot/dts/rockchip/rk3568-evb.dtsi Executable file → Normal file
View File

@ -228,15 +228,15 @@
};
edp_panel:edp-panel {
status = "disabled";
status = "okay";
compatible = "simple-panel";
backlight = <&backlight2>;
bus-format = <MEDIA_BUS_FMT_RGB888_1X24>;
enable-gpios = <&gpio3 RK_PD1 GPIO_ACTIVE_HIGH>;
pinctrl-names = "default";
pinctrl-0 = <&edp_gpio>;
pinctrl-0 = <&edp_gpio>;
bpc = <8>;
/* bpc = <8>;
enable-delay-ms = <20>;
bl-delay-ms = <20>;
prepare-delay-ms = <120>;
@ -263,7 +263,7 @@
de-active = <0>;
pixelclk-active = <0>;
};
};
};*/
ports {
panel_in_edp: endpoint {

View File

@ -146,7 +146,7 @@
regulator-always-on;
pinctrl-names = "default";
pinctrl-0 = <&gpio_chipen_rtl8821>;
gpio = <&gpio2 RK_PC6 GPIO_ACTIVE_HIGH>;
gpio = <&gpio3 RK_PB0 GPIO_ACTIVE_HIGH>;
status = "disabled";
};
vcc_rtl8821power:vcc-rtl8821power {
@ -396,35 +396,35 @@
};
&route_lvds {
status = "okay";
status = "disabled";
connect = <&vp2_out_lvds>;
};
&route_edp {
status = "disabled";
status = "okay";
connect = <&vp0_out_edp>;
};
&lvds_in_vp2 {
status = "okay";
status = "disabled";
};
&lvds{
status = "okay";
status = "disabled";
};
&edp {
//force-hpd;
hpd-gpios = <&gpio0 RK_PC2 GPIO_ACTIVE_HIGH>;
status = "disabled";
force-hpd;
//hpd-gpios = <&gpio0 RK_PC2 GPIO_ACTIVE_HIGH>;
status = "okay";
};
&edp_phy {
status = "disabled";
status = "okay";
};
&edp_in_vp0 {
status = "disabled";
status = "okay";
};
&edp_in_vp1 {
@ -576,7 +576,7 @@
&pinctrl {
gpio-rtl8821 {
gpio_chipen_rtl8821: gpio-chipen-rtl8821 {
rockchip,pins = <2 RK_PC6 RK_FUNC_GPIO &pcfg_pull_none>;
rockchip,pins = <3 RK_PB0 RK_FUNC_GPIO &pcfg_pull_none>;
};
gpio_power_rtl8821:gpio-power-rtl8821 {
rockchip,pins = <0 RK_PC1 RK_FUNC_GPIO &pcfg_pull_none>;

0
kernel/arch/arm64/boot/dts/rockchip/rk3568.dtsi Executable file → Normal file
View File