Lines Matching refs:panel
3 * Elida kd35t133 5.5" MIPI-DSI panel driver
8 * Rockteck jh057n00900 5.5" MIPI-DSI panel driver
41 struct drm_panel panel;
49 static inline struct kd35t133 *panel_to_kd35t133(struct drm_panel *panel)
51 return container_of(panel, struct kd35t133, panel);
60 * Init sequence was supplied by the panel vendor with minimal
88 static int kd35t133_unprepare(struct drm_panel *panel)
90 struct kd35t133 *ctx = panel_to_kd35t133(panel);
117 static int kd35t133_prepare(struct drm_panel *panel)
119 struct kd35t133 *ctx = panel_to_kd35t133(panel);
126 dev_dbg(ctx->dev, "Resetting the panel\n");
194 static int kd35t133_get_modes(struct drm_panel *panel,
197 struct kd35t133 *ctx = panel_to_kd35t133(panel);
223 static enum drm_panel_orientation kd35t133_get_orientation(struct drm_panel *panel)
225 struct kd35t133 *ctx = panel_to_kd35t133(panel);
285 drm_panel_init(&ctx->panel, &dsi->dev, &kd35t133_funcs,
288 ret = drm_panel_of_backlight(&ctx->panel);
292 drm_panel_add(&ctx->panel);
297 drm_panel_remove(&ctx->panel);
309 ret = drm_panel_unprepare(&ctx->panel);
311 dev_err(&dsi->dev, "Failed to unprepare panel: %d\n", ret);
313 ret = drm_panel_disable(&ctx->panel);
315 dev_err(&dsi->dev, "Failed to disable panel: %d\n", ret);
329 drm_panel_remove(&ctx->panel);
340 .name = "panel-elida-kd35t133",
350 MODULE_DESCRIPTION("DRM driver for Elida kd35t133 MIPI DSI panel");