How to configure the devicetree for dsi ?

we had made a custom DSI bridge board.

in the J23.demo borad

pin85===>DP_HPD0_AP=======>DP0_HPD

pin87===>EDP_AUX_CH0_N====>DP0_AUX_CH-
Pin89===>EDP_AUX_CH0_P====>DP0_AUX_CH+

Pin93===>EDP_TX0_P========>DP0_TX0+
Pin95===>EDP_TX0_N========>DP0_TX0-

Pin99===>EDP_TX1_P========>DP0_TX1+
Pin101===>EDP_TX1_N========>DP0_TX1-

Pin105===>EDP_TX2_P========>DP0_TX2+
Pin107===>EDP_TX2_N========>DP0_TX2-

Pin117===>EDP_TX3_P========>DP0_TX3+
Pin119===>EDP_TX3_N========>DP0_TX3-

& custom bridge board.

pin85==========>HDMI0_HPD0

pin87==========>HDMI0_DDC_SDA
Pin89==========>HDMI0_DDC_SCL

Pin93==========>HDMI0_TX2_P
Pin95==========>HDMI0_TX2_N

Pin99==========>HDMI0_TX1_P
Pin101=========>HDMI0_TX1_N

Pin105=========>HDMI0_TX0_P
Pin107=========>HDMI0_TX0_N

Pin117=========>HDMI0_TXC_P
Pin119=========>HDMI0_TXC_N

We had check the “Jetson TX2_OEM_Product_DesignGuide.pdf”

7.2 eDP/DP/HDMI table38. It’s ok.

But how to configure the devicetree ?

I had read the “Tegra Linux Driver Package Development Guide\l4t_display_configuration.html”

and the tegra186-quill-p3310-1000-c03-xxx.dts

I don’t undestand. Maybe someone give me some advice. thanks .

we want to output the video to both the J16 and the J23 . thanks.

what is differences with each other ?

“tegra186-quill-p3310-1000-c03-00-base.dts”
“tegra186-quill-p3310-1000-c03-00-dsi-dp.dts”
“tegra186-quill-p3310-1000-c03-00-dsi-hdmi-dp.dts”
“tegra186-quill-p3310-1000-c03-00-dsi-hdmi-hdmi.dts”

Hi,

tegra186-quill-p3310-1000-c03-00-base.dts -> This file is for default setting we used for jetpack BSP, which has one dsi and one hdmi enabled.

tegra186-quill-p3310-1000-c03-00-dsi-dp.dts -> This is dsi+ dp without HDMI.

tegra186-quill-p3310-1000-c03-00-dsi-hdmi-dp.dts -> This is 3 head display, dsi+hdmi+dp

tegra186-quill-p3310-1000-c03-00-dsi-hdmi-hdmi.dts -> This is 3 head display, dsi+ hdmi + hdmi

Hi WayneWWW, thanks .

tegra186-quill-p3310-1000-c03-00-base.dts -> This file is for default setting we used for jetpack BSP, which has one dsi and one hdmi enabled.

"one hdmi enable " which meanings J16(DP1/HDMI) , and “one dsi enable” which meanings what ? J23 DSIA ? DSIB ?

tegra186-quill-p3310-1000-c03-00-dsi-dp.dts -> This is dsi+ dp without HDMI.
J16 (DP1/HDMI) is disable. J23 DISA?(4lanes) DISB(4lanes) ? + DP0 ? or DISA+DISB(8lanes) + DP0 ?

tegra186-quill-p3310-1000-c03-00-dsi-hdmi-dp.dts -> This is 3 head display, dsi+hdmi+dp
???

tegra186-quill-p3310-1000-c03-00-dsi-hdmi-hdmi.dts -> This is 3 head display, dsi+ hdmi + hdmi
???

could you give more information , thanks.

wuyankun1986,

"one hdmi enable " which meanings J16(DP1/HDMI) , and “one dsi enable” which meanings what ? J23 DSIA ? DSIB ?

-> Yes, DP1/HDMI and dsiA.

tegra186-quill-p3310-1000-c03-00-dsi-dp.dts -> DSIA+ DP0

tegra186-quill-p3310-1000-c03-00-dsi-hdmi-dp.dts -> This is 3 head display, dsi+hdmi+dp-> DSIA + DP0 (DP) + DP1 (HDMI)

tegra186-quill-p3310-1000-c03-00-dsi-hdmi-hdmi.dts -> dsiA +DP0, DP1 both HDMI