Lines Matching defs:panel
3 * NV3051D MIPI-DSI panel driver for Anbernic RG353x
8 * Elida kd35t133 3.5" MIPI-DSI panel driver
36 struct drm_panel panel;
42 static inline struct panel_nv3051d *panel_to_panelnv3051d(struct drm_panel *panel)
44 return container_of(panel, struct panel_nv3051d, panel);
245 static int panel_nv3051d_unprepare(struct drm_panel *panel)
247 struct panel_nv3051d *ctx = panel_to_panelnv3051d(panel);
272 static int panel_nv3051d_prepare(struct drm_panel *panel)
274 struct panel_nv3051d *ctx = panel_to_panelnv3051d(panel);
278 dev_dbg(ctx->dev, "Resetting the panel\n");
320 static int panel_nv3051d_get_modes(struct drm_panel *panel,
323 struct panel_nv3051d *ctx = panel_to_panelnv3051d(panel);
393 drm_panel_init(&ctx->panel, &dsi->dev, &panel_nv3051d_funcs,
396 ret = drm_panel_of_backlight(&ctx->panel);
400 drm_panel_add(&ctx->panel);
405 drm_panel_remove(&ctx->panel);
417 ret = drm_panel_unprepare(&ctx->panel);
419 dev_err(&dsi->dev, "Failed to unprepare panel: %d\n", ret);
421 ret = drm_panel_disable(&ctx->panel);
423 dev_err(&dsi->dev, "Failed to disable panel: %d\n", ret);
437 drm_panel_remove(&ctx->panel);
526 { .compatible = "anbernic,rg351v-panel", .data = &nv3051d_rg351v_info },
527 { .compatible = "anbernic,rg353p-panel", .data = &nv3051d_rg353p_info },
528 { .compatible = "powkiddy,rk2023-panel", .data = &nv3051d_rk2023_info },
535 .name = "panel-newvision-nv3051d",