Tool/software:
Still a beginner.
We got LVDS Display working without any issues, but we're testing a new MIPI DSI display and we're not able to get any signals on the DSI connector.
The display is using the ilitek9881 chip and we tried to configure the device tree with the "ilitek,ili9881c" driver and didn't get any signals.
So just to make sure DSI worked, we copied the code from "k3-am62p5-sk-dsi-rpi-7inch-panel.dtso" to our device tree file, but we still don't get any signals in the connector (either clock signal or data).
Here is a snippet of our file (with both displays):
(...) chosen { #address-cells = <2>; #size-cells = <2>; ranges; stdout-path = &main_uart0; framebuffer0: framebuffer@0 { compatible = "simple-framebuffer"; power-domains = <&k3_pds 186 TI_SCI_PD_EXCLUSIVE>; clocks = <&k3_clks 186 6>, <&k3_clks 186 0>, <&k3_clks 186 2>; display = <&dss0>; status = "okay"; }; }; panel0 { compatible = "raspberrypi,7inch-dsi", "simple-panel"; backlight = <&display_reg>; power-supply = <&display_reg>; port { dsi_panel_in: endpoint { remote-endpoint = <&panel_bridge_out>; }; }; }; bridge_reg: bridge-regulator { compatible = "regulator-fixed"; regulator-name = "bridge-reg"; gpio = <&display_reg 0 0>; vin-supply = <&display_reg>; enable-active-high; }; panel_lvds: panel-lvds { bootph-pre-ram; compatible = "panel-lvds"; backlight = <&panel_bl>; width-mm = <152>; height-mm = <91>; data-mapping = "vesa-24"; panel-timing { bootph-pre-ram; clock-frequency = <27000000>; hactive = <800>; vactive = <480>; hback-porch = <16>; hfront-porch = <44>; vback-porch = <10>; vfront-porch = <38>; hsync-len = <2>; vsync-len = <2>; de-active = <1>; }; port { panel_in: endpoint { remote-endpoint = <&oldi_out>; }; }; }; panel_bl: backlight { status = "okay"; compatible = "pwm-backlight"; // pwms = <&ecap0 0 500000 0>; pwms = <&ecap0 0 250000 0>; brightness-levels = < 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100>; default-brightness-level = <50>; }; (...) &dss0 { bootph-pre-ram; status = "okay"; pinctrl-names = "default"; pinctrl-0 = <&main_dpi_pins_default>; }; &dss0_ports { bootph-pre-ram; #address-cells = <1>; #size-cells = <0>; //added this port port@0 { reg = <0>; oldi_out: endpoint { remote-endpoint = <&panel_in>; }; }; /* DSS0-VP2: DPI/HDMI Output */ hdmi0_dss: port@1 { reg = <1>; dss0_dpi1_out: endpoint { remote-endpoint = <&sii9022_in>; }; }; }; &dphy_tx0 { status = "okay"; }; &main_i2c0 { #address-cells = <1>; #size-cells = <0>; display_reg: regulator@45 { compatible = "raspberrypi,7inch-touchscreen-panel-regulator"; reg = <0x45>; gpio-controller; #gpio-cells = <2>; }; }; &dss1 { status = "okay"; }; &dss1_ports { #address-cells = <1>; #size-cells = <0>; /* DSS1-VP1: DSI Output */ port@1 { reg = <1>; dss1_dpi1_out: endpoint { remote-endpoint = <&dsi0_in>; }; }; }; &dsi0 { status = "okay"; #address-cells = <1>; #size-cells = <0>; ports { #address-cells = <1>; #size-cells = <0>; port@0 { reg = <0>; dsi0_out: endpoint { remote-endpoint = <&panel_bridge_in>; }; }; port@1 { reg = <1>; dsi0_in: endpoint { remote-endpoint = <&dss1_dpi1_out>; }; }; }; bridge@0 { status = "okay"; compatible = "toshiba,tc358762"; reg = <0>; vddc-supply = <&bridge_reg>; ports { #address-cells = <1>; #size-cells = <0>; port@0 { reg = <0>; panel_bridge_in: endpoint { remote-endpoint = <&dsi0_out>; }; }; port@1 { reg = <1>; panel_bridge_out: endpoint { remote-endpoint = <&dsi_panel_in>; }; }; }; }; }; (...)
Is there something we're missing to configure DSI?
Do we really don't get any clock signals if we don't configure the display correctly?
Is there some sort of pin configuration that we need to do?