- 积分
- 91
贡献427
飞刀145 FD
注册时间2023-5-18
在线时间21 小时
|
楼主 |
发表于 2023-9-22 11:15:24
|
显示全部楼层
forqs您好:我只用到HDMI外接显示器,其余显示接口都没有用到。
1、 根据用户使用手册中,启动时串口终端按空格键,根本停不下来;启动后查询启动信息如下:
forlinx@ok3568:~$ dmesg |grep 'hdmi'
[ 0.578716] rockchip-drm display-subsystem: Linked as a consumer to fe0a0000.hdmi
[ 0.581233] dwhdmi-rockchip fe0a0000.hdmi: Detected HDMI TX controller v2.11a with HDCP (DWC HDMI 2.0 TX PHY)
[ 0.581792] dwhdmi-rockchip fe0a0000.hdmi: registered DesignWare HDMI I2C bus driver
[ 0.582399] rockchip-drm display-subsystem: bound fe0a0000.hdmi (ops 0xffffff8008ecd9b0)
[ 2.207919] rk-hdmi-sound hdmi-sound: i2s-hifi <-> fe400000.i2s mapping ok
[ 2.208576] input: rockchip,hdmi rockchip,hdmi as /devices/platform/hdmi-sound/sound/card0/input6
[ 2.360254] #0: rockchip,hdmi
[ 9.508986] dwhdmi-rockchip fe0a0000.hdmi: Rate 69300000 missing; compute N dynamically
[ 10.357796] dwhdmi-rockchip fe0a0000.hdmi: Rate 69300000 missing; compute N dynamically
[ 10.371435] dwhdmi-rockchip fe0a0000.hdmi: Rate 69300000 missing; compute N dynamically
[ 10.378053] dwhdmi-rockchip fe0a0000.hdmi: Rate 69300000 missing; compute N dynamically
[ 29.388102] dwhdmi-rockchip fe0a0000.hdmi: Rate 69300000 missing; compute N dynamically
[ 29.397097] dwhdmi-rockchip fe0a0000.hdmi: Rate 69300000 missing; compute N dynamically
[ 29.404295] dwhdmi-rockchip fe0a0000.hdmi: Rate 69300000 missing; compute N dynamically
forlinx@ok3568:~$ dmesg |grep 'mipi'
forlinx@ok3568:~$ dmesg |grep 'lvds'
[ 0.549501] pwm-backlight lvds-backlight: Looking up power-supply from device tree
[ 0.549509] pwm-backlight lvds-backlight: Looking up power-supply property in node /lvds-backlight failed
[ 0.549520] pwm-backlight lvds-backlight: lvds-backlight supply power not found, using dummy regulator
[ 0.549575] pwm-backlight lvds-backlight: Linked as a consumer to regulator.0
[ 0.549605] pwm-backlight lvds-backlight: unable to request PWM
[ 0.549660] pwm-backlight lvds-backlight: Dropping the link to regulator.0
[ 0.549700] pwm-backlight: probe of lvds-backlight failed with error -2
forlinx@ok3568:~$ dmesg |grep 'edp'
[ 0.549766] pwm-backlight edp-backlight: Looking up power-supply from device tree
[ 0.549774] pwm-backlight edp-backlight: Looking up power-supply property in node /edp-backlight failed
[ 0.549784] pwm-backlight edp-backlight: edp-backlight supply power not found, using dummy regulator
[ 0.549843] pwm-backlight edp-backlight: Linked as a consumer to regulator.0
[ 0.826381] /edp-panel: could not find display-timings node
[ 0.826402] /edp-panel: no timings specified
[ 0.826429] panel-** edp-panel: Looking up power-supply from device tree
[ 0.826438] panel-** edp-panel: Looking up power-supply property in node /edp-panel failed
[ 0.826455] panel-** edp-panel: edp-panel supply power not found, using dummy regulator
[ 0.826530] panel-** edp-panel: Linked as a consumer to regulator.0
[ 0.826552] panel-** edp-panel: Looking up vsp-supply from device tree
[ 0.826561] panel-** edp-panel: Looking up vsp-supply property in node /edp-panel failed
[ 0.826573] panel-** edp-panel: edp-panel supply vsp not found, using dummy regulator
[ 0.826622] panel-** edp-panel: Looking up vsn-supply from device tree
[ 0.826631] panel-** edp-panel: Looking up vsn-supply property in node /edp-panel failed
[ 0.826642] panel-** edp-panel: edp-panel supply vsn not found, using dummy regulator
forlinx@ok3568:~$
2、修改OK3568-C-common.dtsi中:
forlinx_control {
status = "okay";
video-hdmi = "hdmi";
video-mipi-edp = "off";
video-lvds = "off";
};
编译内核烧写,启动桌面系统后,问题依然。
dtsi文件中显示相关设置:
&vop {
status = "okay";
assigned-clocks = <&cru DCLK_VOP0>, <&cru DCLK_VOP1>, <&cru DCLK_VOP2>;
assigned-clock-parents = <&pmucru PLL_HPLL>, <&cru PLL_VPLL>, <&cru PLL_GPLL>;
disable-win-move;
};
&vop_mmu {
status = "okay";
};
&vp0 {
cursor-win-id = <ROCKCHIP_VOP2_CLUSTER0>;
};
&vp1 {
cursor-win-id = <ROCKCHIP_VOP2_CLUSTER1>;
};
&edp {
status = "disabled";
pinctrl-names = "default";
pinctrl-0 = <&edpdpm0_pins>;
ports {
port@1 {
reg = <1>;
edp_out_panel: endpoint {
remote-endpoint = <&panel_in_edp>;
};
};
};
};
&edp_phy {
status = "disabled";
};
&edp_in_vp0 {
status = "disabled";
};
&edp_in_vp1 {
status = "disabled";
};
&route_edp {
status = "disabled";
connect = <&vp1_out_edp>;
};
&route_dsi1 {
status = "disabled";
connect = <&vp1_out_dsi1>;
};
&dsi1_in_vp0 {
status = "disabled";
};
&dsi1_in_vp1 {
status = "disabled";
};
#if 0
&dsi1 {
status = "disabled";
//rockchip,lane-rate = <1000>;
dsi1_panel: panel@0 {
status = "disabled";
compatible = "**-panel-dsi";
reg = <0>;
reset-delay-ms = <60>;
enable-delay-ms = <60>;
prepare-delay-ms = <60>;
unprepare-delay-ms = <60>;
disable-delay-ms = <60>;
dsi,flags = <(MIPI_DSI_MODE_VIDEO | MIPI_DSI_MODE_VIDEO_BURST |
MIPI_DSI_MODE_LPM | MIPI_DSI_MODE_EOT_PACKET)>;
dsi,format = <MIPI_DSI_FMT_RGB888>;
dsi,lanes = <4>;
panel-init-sequence = [
];
panel-exit-sequence = [
];
panel-width-mm = <68>;
panel-height-mm = <121>;
backlight = <&dsi1_backlight>;
enable-gpios = <&gpio0 RK_PB0 GPIO_ACTIVE_HIGH>;
display-timings {
native-mode = <&panel7_1024x600>;
panel7_1024x600: timings {
hback-porch = <48>;
hfront-porch = <40>;
hactive = <1024>;
hsync-len = <48>;
vback-porch = <48>;
vfront-porch = <40>;
vactive = <600>;
vsync-len = <4>;
clock-frequency = <45000000>;
vsync-active = <0>;
hsync-active = <0>;
de-active = <0>;
pixelclk-active = <0>;
};
};
ports {
#address-cells = <1>;
#size-cells = <0>;
port@0 {
reg = <0>;
panel_in_dsi: endpoint {
remote-endpoint = <&dsi_out_panel>;
};
};
};
};
ports {
#address-cells = <1>;
#size-cells = <0>;
port@1 {
reg = <1>;
dsi_out_panel: endpoint {
remote-endpoint = <&panel_in_dsi>;
};
};
};
};
#endif
&hdmi {
status = "disabled";
rockchip,phy-table =
<92812500 0x8009 0x0000 0x0270>,
<165000000 0x800b 0x0000 0x026d>,
<185625000 0x800b 0x0000 0x01ed>,
<297000000 0x800b 0x0000 0x01ad>,
<594000000 0x8029 0x0000 0x0088>,
<000000000 0x0000 0x0000 0x0000>;
};
&hdmi_in_vp0 {
status = "disabled";
};
&hdmi_in_vp1 {
status = "disabled";
};
&route_hdmi {
status = "disabled";
connect = <&vp0_out_hdmi>;
};
&lvds {
status = "disabled";
phys = <&video_phy0>;
phy-names = "phy";
ports {
port@1 {
reg = <1>;
lvds_out_panel: endpoint {
remote-endpoint = <&panel_in_lvds>;
};
};
};
};
&lvds_in_vp1 {
status = "disabled";
};
&lvds_in_vp2 {
status = "disabled";
};
&route_lvds {
status = "disabled";
connect = <&vp2_out_lvds>;
};
&xin32k {
status = "disabled";
};
|
|