Hi @TH_T_110 ,
I hope you are doing well.
In "imx8mp-evk-jdi-wuxga-lvds-panel.dts"
the device node is defined as below.
lvds0_panel {
compatible = "jdi,tx26d202vm0bwa";
backlight = <&lvds_backlight>;
port {
panel_lvds_in: endpoint {
remote-endpoint = <&lvds_out>;
};
};
in panel-simple.c driver data is mapped as below.
{
.compatible = "jdi,tx26d202vm0bwa",
.data = &jdi_tx26d202vm0bwa,
},
One can change display timings and pixel clock in simple-panle.c driver in below table.
OR
One can create new compatible properties,
panel-timing, and data according to display in
panel-simple.c
static const struct display_timing jdi_tx26d202vm0bwa_timing = {
.pixelclock = { 151820000, 156720000, 159780000 },
.hactive = { 1920, 1920, 1920 },
.hfront_porch = { 76, 100, 112 },
.hback_porch = { 74, 100, 112 },
.hsync_len = { 30, 30, 30 },
.vactive = { 1200, 1200, 1200},
.vfront_porch = { 3, 5, 10 },.
.vback_porch = { 2, 5, 10 },
.vsync_len = { 5, 5, 5 },
.flags = DISPLAY_FLAGS_DE_HIGH,
};
Please refer to the below documents for more information.
/Documentation/devicetree/bindings/display/panel/panel-simple.yaml
'/Documentation/devicetree/bindings/display/panel/panel-timing.yaml
Thanks & Regards,
Sanket Parekh