94 static int tmd_vid_get_panel_info(
struct drm_device *dev,
117 static u32 tmd_cmd_mcap_off[] = {0x000000b2};
118 static u32 tmd_cmd_enable_lane_switch[] = {0x000101ef};
119 static u32 tmd_cmd_set_lane_num[] = {0x006360ef};
120 static u32 tmd_cmd_pushing_clock0[] = {0x00cc2fef};
121 static u32 tmd_cmd_pushing_clock1[] = {0x00dd6eef};
122 static u32 tmd_cmd_set_mode[] = {0x000000b3};
123 static u32 tmd_cmd_set_sync_pulse_mode[] = {0x000961ef};
124 static u32 tmd_cmd_set_column[] = {0x0100002a, 0x000000df};
125 static u32 tmd_cmd_set_page[] = {0x0300002b, 0x00000055};
126 static u32 tmd_cmd_set_video_mode[] = {0x00000153};
128 static u32 tmd_cmd_enable_backlight[] = {0x00005ab4};
129 static u32 tmd_cmd_set_backlight_dimming[] = {0x00000ebd};
135 = mdfld_dsi_get_pkg_sender(dsi_config);
137 DRM_INFO(
"Enter mdfld init TMD MIPI display.\n");
140 DRM_ERROR(
"Cannot get sender\n");
152 sizeof(tmd_cmd_mcap_off),
false);
154 sizeof(tmd_cmd_enable_lane_switch),
false);
156 sizeof(tmd_cmd_set_lane_num),
false);
158 sizeof(tmd_cmd_pushing_clock0),
false);
160 sizeof(tmd_cmd_pushing_clock1),
false);
162 sizeof(tmd_cmd_set_mode),
false);
164 sizeof(tmd_cmd_set_sync_pulse_mode),
false);
166 sizeof(tmd_cmd_set_column),
false);
168 sizeof(tmd_cmd_set_page),
false);
170 sizeof(tmd_cmd_set_video_mode),
false);
172 sizeof(tmd_cmd_enable_backlight),
false);
174 sizeof(tmd_cmd_set_backlight_dimming),
false);
181 mdfld_tpo_dpi_encoder_helper_funcs = {
195 .encoder_funcs = &mdfld_tpo_dpi_encoder_funcs,
196 .encoder_helper_funcs = &mdfld_tpo_dpi_encoder_helper_funcs,
197 .get_config_mode = &tmd_vid_get_config_mode,
198 .get_panel_info = tmd_vid_get_panel_info,
200 .drv_ic_init = mdfld_dsi_tmd_drv_ic_init,