Hello,
We are encountering the display issue.
Hardware: NXP i.MX8M Mini SOM + our function board + third-party rm67199 based panel
OS: Linux 6.1.22
This is the first time we use panel to connect to our board. The original driver panel-raydium-rm67191.c is used with small change on the default mode per the panel vendor's advice, as below:
static const struct drm_display_mode default_mode = {
.....
.hdisplay = 1080,
.hsync_start = 1080 + 60,
.hsync_end = 1080 + 60 + 10,
.htotal = 1080 + 60 + 10 + 80,
.vdisplay = 1920,
.vsync_start = 1920 + 15,
.vsync_end = 1920 + 15 + 5,
.vtotal = 1920 + 15 + 5 + 8,
.width_mm = 68,
.height_mm = 121,
... ...
};
And the panel related part in board dts file, as below:
Hello,
Check the clock in device tree apparently is not correct.
Regards
Thanks a lot for your tip. Current clock setting in device tree:
lcdif@32e00000 {
#address-cells = <0x01>;
#size-cells = <0x00>;
compatible = "fsl,imx8mm-lcdif";
reg = <0x32e00000 0x10000>;
clocks = <0x02 0x6b 0x02 0xcd 0x02 0xce>;
clock-names = "pix\0disp-axi\0disp-apb";
assigned-clocks = <0x02 0x6b 0x02 0x55 0x02 0x56>;
assigned-clock-parents = <0x02 0x28 0x02 0x41 0x02 0x38>;
assigned-clock-rate = <0x2367b880 0x1dcd6500 0xbebc200>;
... ...
}
mipi_dsi@32e10000 {
#address-cells = <0x01>;
#size-cells = <0x00>;
compatible = "fsl,imx8mm-mipi-dsim";
reg = <0x32e10000 0x400>;
clocks = <0x02 0x8e 0x02 0x8f 0x02 0xce>;
clock-names = "cfg\0pll-ref\0apb-root";
assigned-clocks = <0x02 0x8e 0x02 0x8f>;
assigned-clock-parents = <0x02 0x36 0x02 0x02>;
assigned-clock-rates = <0xfdad680 0xb71b00>;
interrupts = <0x00 0x12 0x04>;
... ...
}
Let me post entire dts file.