How to let jetson tx1 through dsi output?

Hi all:
I want to use HDMI output and DSI output at the same time. but I only found HDMI be initialized in function tegra_dc_probe, How to initialize DSI output at the same time. Can you give me some advice?
thank you.

Hi shrambo,

We do support dual monitors. There are 2 SORs(Serial Output Resources) and also two dc (tegradc.0 and tegradc.1).

Please bring up your DSI panel first and then plug the HDMI monitor. It should work.

Hi WayneWWW:
Thanks for your reply, I get it, but now I would like to know whether the two sors is the same source?
How to bring up DSI panel? Whether I need to modify the device tree?

shrambo,
For your first question, yes, two sors can use the same source.

To bring up the DSI panel, you have to rebuild your dtb file. Please check the config you use to flash. For example, p2371-2180.config uses tegra210-jetson-cv-base-p2597-2180-a00.dtb.

Please look into the kernel source. We have devicetree example for DSI panel: kernel/arch/arm/boot/dts/panel-s-wuxga-8-0.dtsi.

To know the meaning of each parameter: Please refer to kernel/Documentation/devicetree/bindings/video/nvidia,tegra210-dsi.txt

Hi WayneWWW:
Thanks for your reply, Whether the DSI panel is the display on the development board?Where to buy it?

shrambo,

The DSI panel is for developing purpose, not for sell.

Hi WayneWWW,

when I enable the DSI panel,the log is as followed.

[ 2.131268] regulator_get() failed for (tegradc.1,avdd_dsi_csi), -19
[ 2.137531] tegradc tegradc.1: dsi: avdd_dsi_csi reg get failed
[ 2.143572] tegradc tegradc.1: Error: out->type:2 out_ops->init() failed
[ 2.150111] tegradc tegradc.1: failed to initialize DC out ops

then I try to fix this issue, but it’s not work.

my patch:
tegra210-jetson-tx1-p2597-2180-a01-devkit.dts

	dc@54240000 {
		nvidia,dc-or-node = "/host1x/sor1";
  •           avdd_dsi_csi-supply = <en_avdd_disp_3v3>,
      };
    

Can you share me some suggestion, thanks

Pan Andy

Hi PanAndy,

For the DSI panel, I think you can refer to the dts/dtb in p2371-2180.conf.