您尚未登录。

楼主 # 2025-11-10 20:23:55

billymc
会员
注册时间: 2020-05-26
已发帖子: 39
积分: 18.5

求助T113-S3主线LVDS显示

之前用的主线6.6.8,但是用的RGB接口,现在想改成LVDS,DTS配置如下:

panel {
/compatible = "shelly,sca07010-bfn-lnn", "simple-panel";/
/compatible = "cdtech,s070pws19hp-fc21", "simple-panel";/
compatible = "boe,ev121wxm-n10-1850", "simple-panel";
/compatible = "tbs,a711-panel", "panel-lvds";/
backlight = <&backlight>;

panel-timing {
clock-frequency = <71000000>; // 71 MHz pixel clock
hactive = <1280>;
vactive = <800>;
hfront-porch = <48>;
hback-porch = <80>;
hsync-len = <32>;
vfront-porch = <3>;
vback-porch = <10>;
vsync-len = <4>;
hsync-active = <0>; // negative polarity
vsync-active = <0>; // negative polarity
de-active = <1>;
pixelclk-active = <1>; // rising edge
};

port {
panel_input: endpoint {
remote-endpoint = <&tcon_lcd0_out_lvds>;
};
};
};

&tcon_lcd0 {
pinctrl-names = "default";
pinctrl-0 = <&lcd_lvds0_pins>;
status = "okay";
};

&tcon_lcd0_out {
tcon_lcd0_out_lvds: endpoint@0 {
reg = <0>;
remote-endpoint = <&panel_input>;
};
};

系统中有/dev/fb0,但是没有显示,lvds0上面没有信号。求助有没有懂的大佬。多谢!

离线

楼主 #1 2025-11-11 00:11:11

billymc
会员
注册时间: 2020-05-26
已发帖子: 39
积分: 18.5

Re: 求助T113-S3主线LVDS显示

另外,芒果派之前提供的SDK LVDS显示是不是有问题?RGB显示正常,切换到LVDS后,没显示,用示波器看还是RGB信号。用全志提供的新版相同配置就输出LVDS信号。不过所有驱动和文件系统都要重新再做一遍。。。

离线

楼主 #2 2025-11-26 14:00:56

billymc
会员
注册时间: 2020-05-26
已发帖子: 39
积分: 18.5

Re: 求助T113-S3主线LVDS显示

目前根据邮件列表里面提到的补丁修改,内核启动提示有LVDS初始化成功和/dev/fb0。但管脚输出没有波形。用TINA正常,确认硬件没问题。
https://lore.kernel.org/linux-riscv/20251116134609.447043-1-kuba@szczodrzynski.pl/T/#t

DT如下:
panel {
/compatible = "shelly,sca07010-bfn-lnn", "simple-panel";/
/compatible = "cdtech,s070pws19hp-fc21", "simple-panel";/
/compatible = "boe,ev121wxm-n10-1850", "panel-lvds";/
compatible = "panel-lvds";
backlight = <&backlight>;
power-supply = <&reg_3v3>;
enable-gpios = <&pio 4 1 GPIO_ACTIVE_HIGH>;

width-mm = <153>;
height-mm = <90>;
data-mapping = "vesa-24";

panel-timing {
clock-frequency = <71000000>;
hactive = <1280>;
vactive = <800>;
hfront-porch = <48>;
hback-porch = <80>;
hsync-len = <32>;
vfront-porch = <3>;
vback-porch = <10>;
vsync-len = <4>;
hsync-active = <0>; // negative
vsync-active = <0>; // negative
};

port {
panel_input: endpoint {
remote-endpoint = <&tcon_lcd0_out_panel>;
};
};
};

&dphy {
status = "okay";
allwinner,lvds-mode;
};

&de {
status = "okay";
};

/*
&tcon_lcd0 {
pinctrl-names = "default";
pinctrl-0 = <&lcd_rgb666_pins>;
status = "okay";
};
*/

&tcon_lcd0 {
pinctrl-names = "default";
pinctrl-0 = <&lcd_lvds0_pins>;
status = "okay";
};

&tcon_lcd0_out {
tcon_lcd0_out_panel: endpoint@0 {
reg = <0>;
remote-endpoint = <&panel_input>;
};
};

离线

页脚

工信部备案:粤ICP备20025096号 Powered by FluxBB

感谢为中文互联网持续输出优质内容的各位老铁们。 QQ: 516333132, 微信(wechat): whycan_cn (哇酷网/挖坑网/填坑网) service@whycan.cn


东莞哇酷科技有限公司开发