T113-S3 MIPI + LVDS 可以实现吗
-
T113-S3 支持 MIPI + LVDS 双屏吗? 自己做了个板子 MIPI调好了 LVDS 没有一点反应, 有没有相关资料呀 ! 原理图中的效果能实现吗
lcd1: lcd1@1 { compatible = "allwinner,sunxi-lcd1"; reg = <0x0 0x1c0c000 0x0 0x0>; /* Fake registers to avoid dtc compiling warnings */ pinctrl-names = "active","sleep"; status = "okay"; }; &lcd0 { lcd_used = <1>; lcd_driver_name = "tft08006"; lcd_if = <4>; lcd_dsi_if = <0>; lcd_x = <1200>; lcd_y = <1920>; lcd_width = <135>; lcd_height = <216>; lcd_dclk_freq = <156>; lcd_hbp = <35>; lcd_ht = <1280>; lcd_hspw = <5>; lcd_vbp = <8>; lcd_vt = <1936>; lcd_vspw = <2>; lcd_backlight = <150>; lcd_pwm_used = <1>; lcd_pwm_ch = <7>; lcd_pwm_freq = <50000>; lcd_pwm_pol = <1>; lcd_pwm_max_limit = <255>; lcd_bright_curve_en = <0>; lcd_dsi_lane = <4>; lcd_dsi_format = <0>; lcd_dsi_te = <0>; lcd_frm = <0>; lcd_gamma_en = <0>; lcd_cmap_en = <0>; pinctrl-0 = <&dsi4lane_pins_a>; pinctrl-1 = <&dsi4lane_pins_b>; }; &lcd1 { lcd_used = <1>; lcd_driver_name = "default_lcd"; lcd_if = <3>; lcd_lvds_if = <0>; lcd_x = <800>; lcd_y = <1280>; lcd_width = <135>; lcd_height = <216>; lcd_dclk_freq = <156>; lcd_hbp = <24>; lcd_ht = <920>; lcd_hspw = <24>; lcd_vbp = <10>; lcd_vt = <1304>; lcd_vspw = <2>; lcd_backlight = <150>; lcd_pwm_used = <1>; lcd_pwm_ch = <5>; lcd_pwm_freq = <50000>; lcd_pwm_pol = <1>; lcd_pwm_max_limit = <255>; lcd_bright_curve_en = <0>; lcd_lvds_colordepth = <1>; lcd_lvds_mode = <0>; lcd_frm = <1>; // lcd_io_phase = <0x0000>; // lcd_hv_clk_phase = <0>; // lcd_hv_sync_polarity = <0>; lcd_gamma_en = <0>; lcd_cmap_en = <0>; pinctrl-0 = <&lvds1_pins_a>; pinctrl-1 = <&lvds1_pins_b>; lcd_bl_en = <&pio PD 20 GPIO_ACTIVE_HIGH>; };
-
不 支 持
-
@whycan 可以单独用lvds1吗 还是说只能两个lvds lvds1才能用
-
能共享一下调MIPI DSI的经验吗?我也是用T113调试,uboot都可以显示logo,到linux kernel就不能显示了,查看了一下,lcd_reset 复位脚位低了,使用lcd_reset =<&pio PD 20 GPIO_ACTIVE_HIGH>, 进入linux后PD20他还是低电平,没有找到为什么?
-
@whycan 我看之前论坛有回复 A133 可以这样用 T113-S3不行的 datasheet 上这两个地方看起来差不多
-
@vuiot 只有一个显示模块,并不能双屏。
-
@hubbell 看设备树 我的屏没有 reset
-
@hubbell lcd_gpio_0 = <&pio PD 20 GPIO_ACTIVE_HIGH>
试一下 -
@whycanservice2 可以单独使用lvds1么
-
@hubbell 试过也不行, PD20脚硬件使用4.7k电阻上拉到3.3V,进linux 还是低电平。
#define panel_reset(sel, val) sunxi_lcd_gpio_set_value(sel, 0, val) code_textstatic void lcd_power_on(u32 sel) { sunxi_lcd_power_enable(sel, 0); sunxi_lcd_delay_ms(10); sunxi_lcd_power_enable(sel, 1); sunxi_lcd_delay_ms(10); sunxi_lcd_pin_cfg(sel, 1); sunxi_lcd_delay_ms(50); panel_reset(sel, 1); sunxi_lcd_delay_ms(100); panel_reset(sel, 0); sunxi_lcd_delay_ms(100); panel_reset(sel, 1); sunxi_lcd_delay_ms(100); } // 1280x800 MIPI LCD &lcd0 { lcd_used = <1>; lcd_driver_name = "he0801a068"; lcd_backlight = <100>; lcd_if = <4>; lcd_x = <800>; lcd_y = <1280>; lcd_width = <52>; lcd_height = <52>; lcd_dclk_freq = <72>; lcd_pwm_used = <1>; lcd_pwm_ch = <7>; lcd_pwm_freq = <50000>; lcd_pwm_pol = <1>; lcd_pwm_max_limit = <255>; lcd_hbp = <40>; lcd_ht = <900>; lcd_hspw = <20>; lcd_vbp = <24>; lcd_vt = <1330>; lcd_vspw = <4>; lcd_dsi_lane = <4>; lcd_dsi_if = <0>; lcd_dsi_format = <0>; lcd_dsi_te = <0>; lcd_frm = <0>; lcd_gamma_en = <0>; lcd_cmap_en = <0>; lcd_gpio_0 = <&pio PD 20 GPIO_ACTIVE_HIGH>; //reset pinctrl-0 = <&dsi4lane_pins_a>; pinctrl-1 = <&dsi4lane_pins_b>; //lcd_reset = <&pio PD 20 1 0 3 1>; //reset };
-
此回复已被删除! -
@lansecd lcd_gpio_0 = <&pio PD 20 GPIO_ACTIVE_HIGH>; //reset 在Uboot里怎么配置的
-
@awwwwa 直接加到设备树(uboot和内核)里面就行了
Copyright © 2024 深圳全志在线有限公司 粤ICP备2021084185号 粤公网安备44030502007680号