Hi Weidong-san
Thank you for reply.
imx_sec_dsim_drv 32e10000.mipi_dsi: no bus formats assigned by connector
This was mainly due to the commented out "drm_display_info_set_bus_formats".
we don't have ready-made solution on MIPI DSI to LVDS, but our linux bsp supports MIPI DSI to HDMI, whose driver is adv7533.c , see path drivers/gpu/drm/bridge/adv7511/adv7533.c
I'm sorry, I misunderstood. What is on our board is MIPI-DSI to RGB, not MIPI-DSI to LVDS.
I have seen adv7533.c. Should I make the following settings to register the driver in DRM Bridge Core?
adv7511->bridge.funcs = &adv7511_bridge_funcs;
adv7511->bridge.of_node = dev->of_node;
drm_bridge_add(&adv7511->bridge);
I have one more question.
"mipi_dsi_generic_write" timed out with the following function.
Certainly nothing is output from TX0. If nothing is connected in terms of hardware, will the TX0 signal be output?
static int teac_yy_xxxxxx_bridge_prepare(struct drm_panel *panel)
{
struct teac_yy_xxxxxx_bridge *ctx = panel_to_teac_yy_xxxxxx_bridge(panel);
struct mipi_dsi_device *dsi = ctx->dsi;
unsigned int i;
int ret;
printk("[%s (%d)] ENTER\r\n", __func__, __LINE__);
// for (i = 0; i < ARRAY_SIZE(teac_yy_xxxxxx_bridge_init_cmds); i++) {
// const struct teac_yy_xxxxxx_bridge_init_cmd *cmd = &teac_yy_xxxxxx_bridge_init_cmds[i];
//
// ret = mipi_dsi_generic_write(dsi, cmd->data, cmd->len);
// if (ret < 0)
// return ret;
//
// msleep(10);
// }
printk("[%s (%d)] EXIT\r\n", __func__, __LINE__);
return 0;
}
Best Regards,
T.Kashiwagi