Lines Matching full:panel
3 * Elida kd35t133 5.5" MIPI-DSI panel driver
8 * Rockteck jh057n00900 5.5" MIPI-DSI panel driver
41 struct drm_panel panel; member
48 static inline struct kd35t133 *panel_to_kd35t133(struct drm_panel *panel) in panel_to_kd35t133() argument
50 return container_of(panel, struct kd35t133, panel); in panel_to_kd35t133()
67 * Init sequence was supplied by the panel vendor with minimal in kd35t133_init_sequence()
91 dev_dbg(dev, "Panel init sequence done\n"); in kd35t133_init_sequence()
95 static int kd35t133_unprepare(struct drm_panel *panel) in kd35t133_unprepare() argument
97 struct kd35t133 *ctx = panel_to_kd35t133(panel); in kd35t133_unprepare()
122 static int kd35t133_prepare(struct drm_panel *panel) in kd35t133_prepare() argument
124 struct kd35t133 *ctx = panel_to_kd35t133(panel); in kd35t133_prepare()
131 dev_dbg(ctx->dev, "Resetting the panel\n"); in kd35t133_prepare()
162 dev_err(ctx->dev, "Panel init sequence failed: %d\n", ret); in kd35t133_prepare()
199 static int kd35t133_get_modes(struct drm_panel *panel, in kd35t133_get_modes() argument
202 struct kd35t133 *ctx = panel_to_kd35t133(panel); in kd35t133_get_modes()
271 drm_panel_init(&ctx->panel, &dsi->dev, &kd35t133_funcs, in kd35t133_probe()
274 ret = drm_panel_of_backlight(&ctx->panel); in kd35t133_probe()
278 drm_panel_add(&ctx->panel); in kd35t133_probe()
283 drm_panel_remove(&ctx->panel); in kd35t133_probe()
295 ret = drm_panel_unprepare(&ctx->panel); in kd35t133_shutdown()
297 dev_err(&dsi->dev, "Failed to unprepare panel: %d\n", ret); in kd35t133_shutdown()
299 ret = drm_panel_disable(&ctx->panel); in kd35t133_shutdown()
301 dev_err(&dsi->dev, "Failed to disable panel: %d\n", ret); in kd35t133_shutdown()
315 drm_panel_remove(&ctx->panel); in kd35t133_remove()
328 .name = "panel-elida-kd35t133",
338 MODULE_DESCRIPTION("DRM driver for Elida kd35t133 MIPI DSI panel");