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;
48 static inline struct kd35t133 *panel_to_kd35t133(struct drm_panel *panel)
50 return container_of(panel, struct kd35t133, panel);
67 * Init sequence was supplied by the panel vendor with minimal
95 static int kd35t133_unprepare(struct drm_panel *panel)
97 struct kd35t133 *ctx = panel_to_kd35t133(panel);
124 static int kd35t133_prepare(struct drm_panel *panel)
126 struct kd35t133 *ctx = panel_to_kd35t133(panel);
133 dev_dbg(ctx->dev, "Resetting the panel\n");
201 static int kd35t133_get_modes(struct drm_panel *panel,
204 struct kd35t133 *ctx = panel_to_kd35t133(panel);
273 drm_panel_init(&ctx->panel, &dsi->dev, &kd35t133_funcs,
276 ret = drm_panel_of_backlight(&ctx->panel);
280 drm_panel_add(&ctx->panel);
285 drm_panel_remove(&ctx->panel);
297 ret = drm_panel_unprepare(&ctx->panel);
299 dev_err(&dsi->dev, "Failed to unprepare panel: %d\n", ret);
301 ret = drm_panel_disable(&ctx->panel);
303 dev_err(&dsi->dev, "Failed to disable panel: %d\n", ret);
317 drm_panel_remove(&ctx->panel);
330 .name = "panel-elida-kd35t133",
340 MODULE_DESCRIPTION("DRM driver for Elida kd35t133 MIPI DSI panel");