This kingdisplay panel uses the jd9365da controller, so add it to panel-jadard-jd9365da-h3.c driver, but because the init_code and timing are different, some variables are added in struct jadard_panel_des to control it. In addition, since sending init_code in the enable() function takes a long time, it is moved to the prepare() function. Changes between V5 and V4: - PATCH 1/5: No changes. - PATCH 2/5: No changes. - PATCH 3/5: New Patch, Switch jd9365da to use mipi_dsi_dcs_write_seq_multi() but no - functional changes. - PATCH 4/5: Add a "_ms" suffix to the variables. - Use more "_multi" in the enable/disable function - Use mipi_dsi_dcs_write_seq_multi() in the init() function. - PATCH 5/5: Use dev_err_probe(). - Link to v4: https://lore.kernel.org/all/20240620080509.18504-1-lvzhaoxiong@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/ Changes between V4 and V3: - PATCH 1/4: Only move mipi_dsi_dcs_write_buffer from enable() function to prepare() function, - and no longer use mipi_dsi_dcs_write_seq_multi. - PATCH 2/4: Move positions to keep the list sorted. - PATCH 3/4: Use mipi_dsi_msleep. - Adjust the ".clock" assignment format. - Adjust "compatible" positions to keep the list sorted. - PATCH 4/4: No changes. - Link to v3: https://lore.kernel.org/all/20240614145510.22965-1-lvzhaoxiong@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/ Changes between V3 and V2: - PATCH 1/4: Modify the init_code sending method - PATCH 2/4: Add binding for kingdisplay-kd101ne3 in jadard,jd9365da-h3.yaml - PATCH 3/4: Add compatibility for kingdisplay-kd101ne3 in panel-jadard-jd9365da-h3.c driver, - and add some variables to control timing. - PATCH 4/4: Add the function of adjusting orientation. - Link to v2: https://lore.kernel.org/all/20240601084528.22502-1-lvzhaoxiong@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/ Changes between V2 and V1: - PATCH 1/4: Delete some unnecessary information. - PATCH 2/4: Use the new mipi_dsi_dcs_write_seq_multi() function, deleted some unnecessary functions. - PATCH 3/4: Add compatible for Starry-er88577. - PATCH 4/4: Add starry panel configuration in panel-kingdisplay-kd101ne3 driver. - Link to v1: https://lore.kernel.org/all/20240418081548.12160-1-lvzhaoxiong@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/ Zhaoxiong Lv (5): drm/panel: jd9365da: Modify the method of sending commands dt-bindings: display: panel: Add compatible for kingdisplay-kd101ne3 drm/panel: panel-jadard-jd9365da-h3: use wrapped MIPI DCS functions drm/panel: jd9365da: Support for kd101ne3-40ti MIPI-DSI panel drm/panel: jd9365da: Add the function of adjusting orientation .../display/panel/jadard,jd9365da-h3.yaml | 1 + .../gpu/drm/panel/panel-jadard-jd9365da-h3.c | 1088 +++++++++++------ 2 files changed, 682 insertions(+), 407 deletions(-) -- 2.17.1