您好,我这边也正在尝试调通T113S双路LVDS,但是一直给我报错说找不到节点,我在sun8iw20p1-t113-100ask-t113-pro.dts文件中写入了对lvds2link_pins_a引脚和lvds2link_pins_b引脚的配置,但是不行,编译报错,请问您这边是否遇到过这个问题呢?或者是我需要怎么去做呢?
luohan.zzZ 发布的最新帖子
-
回复: T113S3双路 dual lvds驱动不起来
-
T113_S3去设置双路LVDS
请问各位大神,作为一个小白,想要去适配双路LVDS的屏幕,屏幕规格书如下:
我先在对于设置屏幕配置的dtsi文件中去设置了
&lcd0 {
lcd_used = <1>;lcd_driver_name = "default_lcd"; lcd_backlight = <250>; lcd_if = <3>; lcd_x = <1280>; lcd_y = <1024>; lcd_width = <338>; lcd_height = <270>; lcd_dclk_freq = <64>; lcd_pwm_used = <1>; lcd_pwm_ch = <7>; lcd_pwm_freq = <20000>; lcd_pwm_pol = <1>; lcd_pwm_max_limit = <255>; lcd_hbp = <21>; lcd_ht = <1066>; lcd_hspw = <20>; lcd_vbp = <102>; lcd_vt = <844>; lcd_vspw = <3>; lcd_lvds_if = <1>; lcd_lvds_colordepth = <0>; lcd_lvds_mode = <0>; lcd_frm = <1>; lcd_hv_clk_phase = <0>; lcd_hv_sync_polarity= <0>; lcd_gamma_en = <0>; lcd_bright_curve_en = <0>; lcd_cmap_en = <0>; deu_mode = <0>; lcdgamma4iep = <22>; smart_color = <90>;
#if 1
pinctrl-0 = <&lvds2link_pins_a>;
pinctrl-1 = <&lvds2link_pins_b>;
#else
pinctrl-0 = <&lvds0_pins_a>;
pinctrl-1 = <&lvds0_pins_b>;
#endif
};
后面在编译时出现报错,报错信息提示为phandle_references错误,在设备树文件中有对不存在的节点或标签的引用。需要去配置lvds2link_pins_a和lvds2link_pins_b。于是我在sun8iw20p1-t113-100ask-t113-pro.dts这个文件中去写入这两个引脚的信息。如下:
lvds2link_pins_a: lvds2link@0 {
allwinner,pins = "PD0", "PD1", "PD2", "PD3", "PD4", "PD5", "PD8", "PD9", "PD6", "PD7",
"PD10", "PD11", "PD12", "PD13", "PD14", "PD15", "PD18", "PD19", "PD16", "PD17";
allwinner,pname = "PD0", "PD1", "PD2", "PD3", "PD4", "PD5", "PD8", "PD9", "PD6", "PD7",
"PD10", "PD11", "PD12", "PD13", "PD14", "PD15", "PD18", "PD19", "PD16", "PD17";
allwinner,function = "lvds1";
allwinner,muxsel = <3>;
allwinner,drive = <3>;
allwinner,pull = <0>;
};lvds2link_pins_b: lvds2link@1 { allwinner,pins = "PD0", "PD1", "PD2", "PD3", "PD4", "PD5", "PD8", "PD9", "PD6", "PD7", \ "PD10", "PD11", "PD12", "PD13", "PD14", "PD15", "PD18", "PD19", "PD16", "PD17"; allwinner,pname = "PD0", "PD1", "PD2", "PD3", "PD4", "PD5", "PD8", "PD9", "PD6", "PD7", \ "PD10", "PD11", "PD12", "PD13", "PD14", "PD15", "PD18", "PD19", "PD16", "PD17"; allwinner,function = "lvds1_suspend"; allwinner,muxsel = <7>; allwinner,drive = <3>; allwinner,pull = <0>; };
但是仍然报错,请问这是为什么呢?我需要如何去做才能调通这个屏幕呢?