How to use the two LVDS (LVDS0, LVDS1) signal shown in two panel for linux(imx6q)

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

How to use the two LVDS (LVDS0, LVDS1) signal shown in two panel for linux(imx6q)

跳至解决方案
3,556 次查看
陳冠儒
Contributor IV

Hi,All:

How to use the two LVDS (LVDS0, LVDS1) signal shown in two panel for linux.

How to set the environment variable or how to do.

please help me,thanks.

(中譯:如何在liunx使用兩個LVDS (LVDS0、LVDS1)的信號顯示在兩個panel上

          如何去設定環境變數或是如何做

)

标签 (4)
0 项奖励
回复
1 解答
2,988 次查看
igorpadykov
NXP Employee
NXP Employee

HI 陳 冠儒

please look at attached Release Notes

Table 6. Kernel Boot Parameters (continued)

parameter  ldb=sep0/1

Best regards

igor

-----------------------------------------------------------------------------------------------------------------------

Note: If this post answers your question, please click the Correct Answer button. Thank you!

-----------------------------------------------------------------------------------------------------------------------

在原帖中查看解决方案

0 项奖励
回复
6 回复数
2,988 次查看
BiyongSUN
NXP Employee
NXP Employee

For 3.0.35_410 BSP please refer to igor's answer.

For 3.10 and later BSP release, please modify the device  tree according the binding guide.

Documentation/devicetree/bindings/video/fsl,ldb.txt

13

14 Required properties:

15 - compatible: Should be "fsl,<soc>-ldb".

16 - #address-cells: Must be <1>.

17 - #size-cells: Must be <0>.

18 - gpr: gpr is the phandle to general purpose register node.

19 - clocks: The clocks provided by the SoC to LDB, including ldb_di0/1,

20   dix_sel, ldb_di0/1_div_3_5, ldb_di0/1_div_7 and ldb_di0/1_div_sel

21   clocks.

22 - clock-names: Must contain entries for each entry in clocks.

23

24 Optional properties:

25 - ext-ref: Provide this bool property if your LDB uses an external

26   reference resistor for bandgap.

27 - split-mode: Provide this bool property if your board uses LDB split

28   mode to drive a high resolution display, say 1080P@60.  In this

29   mode, two LVDS channels will drive one display.

30 - dual-mode: Provide this bool property if your board uses LDB dual

31   mode to drive two displays.  In this mode, one display engine will

32   drive two displays which have the same timings and display content.

33

0 项奖励
回复
2,988 次查看
陳冠儒
Contributor IV

hi,Biyong Sun:

thanks for your help.

But there are examples of it can be used for reference?

please help me,thanks.

0 项奖励
回复
2,988 次查看
BiyongSUN
NXP Employee
NXP Employee

setenv displayinfo 'video=mxcfb0:dev=ldb,bpp=24,if=RGB666  video=mxcfb1:dev=ldb,bpp=24,if=RGB666 video=mxcfb2:dev=none video=mxcfb3:dev=none'
setenv mmcargs 'setenv bootargs console=${console},${baudrate} ${smp} root=${mmcroot} ${displayinfo}'

Gstreamer playback to secondary display:

gst-launch-1.0 playbin uri=file:///media/AVC-1080P-9M_ToS.mkv video-sink="imxv4l2sink device=/dev/video18 disp-width=1920 disp-height=1080"

2,988 次查看
陳冠儒
Contributor IV

hi,Biyong Sun:

thanks for your help.

I try it,thanks.

0 项奖励
回复
2,989 次查看
igorpadykov
NXP Employee
NXP Employee

HI 陳 冠儒

please look at attached Release Notes

Table 6. Kernel Boot Parameters (continued)

parameter  ldb=sep0/1

Best regards

igor

-----------------------------------------------------------------------------------------------------------------------

Note: If this post answers your question, please click the Correct Answer button. Thank you!

-----------------------------------------------------------------------------------------------------------------------

0 项奖励
回复
2,988 次查看
陳冠儒
Contributor IV

hi,igorpadykov:

thanks for your help.

Android can already be exported to LVDS0.

But On linux it does not seem to be exported to LVDS0 and I can not let LVDS0 shows data.

I do not know how to handle.

please help me,thanks.

(中譯: 感謝您的幫忙.

          android已經可以導出到LVDS0了.

          但在linux上似乎不能導出到LVDS0並且我不能讓LVDS0秀出資料.

          我不知道如何處理.

          請幫忙我,謝謝.

)

0 项奖励
回复