fdtsaid
February 19, 2020, 7:08am
1
In chapter “Hardware bring-up checklist” of document “Jetson Nano Platform Adaptation and Bring-up Guide”, it says
Verify DSI or eDP timing (see Tegra DC and DSI Debugging Guide for details on how
and what to verify).
Where to obtain “Tegra DC and DSI Debugging Guide”? It is not exists in Jetson Download Center.
kayccc
February 24, 2020, 12:08am
2
Hi fdtsaid,
Thanks for reporting this issue, that’s our typo, and we will remove it and do the update soon.
Is there any panel bring up issue on your project now?
fdtsaid
February 25, 2020, 1:52am
3
Hi kayccc,
Yes, I have several questions about MIPI DSI panel bring up.
In thread "MIPI DSI display on Jetson TX2"1 , someone mentioned the description about fields in device tree such as “nvidia,dsi-init-cmd”, “nvidia,dsi-n-init-cmd”, etc. But I can not find them in kernel source downloaded from Jetson Download Center. Where are those descriptions?
The MIPI DSI display I am trying to bring up is a TFT-LCD module which is 8 inches display and contains 800x1280 pixels, use JD9365 as driver IC.
The initialization code of driver IC contains:
LCD_nReset=1;
Delayms(5);
LCD_nReset=0;
Delayms(10);
LCD_nReset=1;
Delayms(120);
It seems that it is a certain routine to activate panel. How can I set this in device tree?
I want to get some general recommendations on MIPI DSI panel bring up debugging.
I want the same information as fdtsaid when can we expect it
When is the update scheduled?
Does anyone can provide some hints on how to obtain this guide?
Hi fdtsaid,
Please download the old rel-28 source code and check the file “nvidia,tegra210-dsi.txt” at this moment.
The file was missing on k4.9 and we are adding it back.
As for driver part, please enable the dsi as per device tree.
#include "tegra186-quill-p3310-1000-c03-00-base.dts"
/ {
nvidia,dtsfilename = __FILE__;
nvidia,dtbbuildtime = __DATE__, __TIME__;
host1x {
nvdisplay@15200000 {
status = "okay";
win-mask = <0x7>;
nvidia,fb-win = <0x0>;
nvidia,dc-or-node = "/host1x/dsi";
};
nvdisplay@15210000 {
status = "okay";
win-mask = <0x18>;
nvidia,fb-win = <0x3>;
nvidia,dc-or-node = "/host1x/sor1";
};
nvdisplay@15220000 {
status = "okay";
win-mask = <0x20>;
nvidia,fb-win = <0x5>;
nvidia,dc-or-node = "/host1x/sor";
/delete-property/ vdd-dp-pwr-supply;
/delete-property/ avdd-dp-pll-supply;
/delete-property/ vdd-edp-sec-mode-supply;
/delete-property/ vdd-dp-pad-supply;
/delete-property/ vdd_hdmi_5v0-supply;
avdd_hdmi-supply = <&spmic_ldo7>;
avdd_hdmi_pll-supply = <&spmic_sd2>;
vdd_hdmi_5v0-supply = <&vdd_hdmi>;
};
dsi {
status = "okay";
nvidia,active-panel = <&panel_s_wuxga_8_0>;
panel-s-wuxga-8-0 {
bootloader-status = "disabled";
status = "okay";
};
};
sor {
status = "okay";
nvidia,active-panel = <&sor0_hdmi_display>;
dp-display {
bootloader-status = "disabled";
status = "disabled";
};
hdmi-display {
status = "okay";
};
};
sor1 {
status = "okay";
nvidia,active-panel = <&sor1_hdmi_display>;
dp-display {
bootloader-status = "disabled";
status = "disabled";
};
hdmi-display {
status = "okay";
};
};
dpaux@155c0000 {
status = "okay";
};
};
i2c@3160000 {
e3320_tca_gpio: tca9539@75 {
compatible = "ti,tca9539";
status = "okay";
reg = <0x75>;
gpio-controller;
#gpio-cells = <2>;
vcc-supply = <&battery_reg>;
5v0_hdmi_en {
gpio-hog;
gpios = <14 0>;
output-high;
label = "hdmi_en";
};
};
gpio_i2c_0_21: gpio@21 {
compatible = "ti,tca6408";
status = "okay";
reg = <0x21>;
gpio-controller;
#gpio-cells = <2>;
vcc-supply = <&battery_reg>;
vpp-vmm-rails {
gpio-hog;
gpios = <2 0 3 0>;
output-high;
label = "vmm-en-rail", "vmm-en-rail";
};
};
tps65132@3e {
reg = <0x3e>;
compatible = "ti,tps65132";
status = "okay";
outp {
ti,enable-gpio = <&gpio_i2c_0_77 4 0>;
/* WAR: remove the constrains due to bug 200479061 */
/delete-property/ regulator-min-microvolt;
/delete-property/ regulator-max-microvolt;
};
outn {
delete-target-property = "ti,disable-active-discharge";
ti,enable-gpio = <&gpio_i2c_0_21 2 0>;
ti,active-discharge-gpio = <&gpio_i2c_0_21 3 0>;
ti,active-discharge-time = <2000>; /* in us */
/* WAR: remove the constrains due to bug 200479061 */
/delete-property/ regulator-min-microvolt;
/delete-property/ regulator-max-microvolt;
};
};
lp8557-backlight-s-wuxga-8-0@2c {
status = "okay";
};
};
fixed-regulators {
regulator@10 {
gpio = <&gpio_i2c_0_21 0 0>;
};
};
plugin-manager {
/delete-node/ fragment-e3320-dp;
};
};
Has this by any chance been updated yet? I looked in *.tbz2
from the L4T 32.3.1 sources and cannot find nvidia,tegra210-dsi.txt
. The closest I can find is kernel-4.9/Documentation/devicetree/bindings/display/panel/panel-dsi-cm.txt
, which is not Tegra-specific. Thank you!
No,
It is not yet fixed. Please use the old file from rel-28 first. Sorry for that.