Hi WayneWWW,
I have the following in panel-s-wuxga-8-0.dtsi
/ {
host1x {
dsi {
panel_s_wuxga_8_0: panel-s-wuxga-8-0 {
status = "disabled";
compatible = "s,wuxga-8-0";
nvidia,dsi-instance = <2>;
nvidia,dsi-n-data-lanes = <2>;
nvidia,dsi-pixel-format = <TEGRA_DSI_PIXEL_FORMAT_24BIT_P>;
nvidia,dsi-refresh-rate = <60>;
nvidia,dsi-video-data-type = <TEGRA_DSI_VIDEO_TYPE_VIDEO_MODE>;
nvidia,dsi-video-clock-mode = <TEGRA_DSI_VIDEO_CLOCK_CONTINUOUS>;
nvidia,dsi-video-burst-mode = <TEGRA_DSI_VIDEO_NONE_BURST_MODE_WITH_SYNC_END>;
nvidia,dsi-controller-vs = <DSI_VS_1>;
nvidia,dsi-virtual-channel = <TEGRA_DSI_VIRTUAL_CHANNEL_0>;
nvidia,dsi-panel-reset = <TEGRA_DSI_ENABLE>;
nvidia,dsi-power-saving-suspend = <TEGRA_DSI_ENABLE>;
nvidia,dsi-ulpm-not-support = <TEGRA_DSI_ENABLE>;
disp-default-out {
nvidia,out-type = <TEGRA_DC_OUT_DSI>;
nvidia,out-width = <256>;
nvidia,out-height = <144>;
nvidia,out-flags = <TEGRA_DC_OUT_CONTINUOUS_MODE>;
nvidia,out-parent-clk = "pll_d_out0";
nvidia,out-xres = <640>;
nvidia,out-yres = <400>;
};
display-timings {
640x400-60Hz {
clock-frequency = <21552000>;
hactive = <640>;
vactive = <400>;
hfront-porch = <16>;
hback-porch = <48>;
hsync-len = <96>;
vfront-porch = <12>;
vback-porch = <35>;
vsync-len = <2>;
nvidia,h-ref-to-sync = <1>;
nvidia,v-ref-to-sync = <1>;
};
Then I added the following to tegra186-quill-p3310-1000-a00-00-base.dts:
nvdisplay@15200000 {
status = "okay";
};
dsi {
status = "okay";
nvidia,active-panel = <&panel_s_wuxga_8_0>;
panel-s-wuxga-8-0 {
bootloader-status = "disabled";
status = "okay";
};
};
And here is the dmesg output:
dmesg.txt (62.4 KB)
I have the same configuration working in Jetpack 3.2, but in 4.4 I need to blank/unblank the display after boot to see the video in the DSI output.
When I do that, I see the following in dmesg:
[ 221.195976] tegradc 15210000.nvdisplay: unblank
[ 221.195996] tegradc 15200000.nvdisplay: blank - powerdown
[ 221.233936] tegradc 15200000.nvdisplay: dsi: video fifo overflow. Resetting flag
[ 221.233943] tegradc 15200000.nvdisplay: dsi: video fifo underflow. Resetting flag
[ 221.243136] tegradc 15200000.nvdisplay: dsi: ClkPrepare mipi range violated
[ 225.659939] tegradc 15200000.nvdisplay: blank - powerdown
[ 225.659962] tegradc 15200000.nvdisplay: unblank
[ 225.668232] tegradc 15200000.nvdisplay: DSI: HS clock rate is 129500
[ 225.703085] tegradc 15200000.nvdisplay: unblank
[ 225.703127] tegradc 15210000.nvdisplay: unblank
After that, the DSI output works normally.
What I want is to have the build running JP4.4 to behave the same as 3.2, this is, the DSI output working right after the board boots.
Thanks for your help.