Lines Matching refs:panel
3 * Mantix MLAF057WE51 5.7" MIPI-DSI panel driver
22 #define DRV_NAME "panel-mantix-mlaf057we51"
31 struct drm_panel panel;
43 static inline struct mantix *panel_to_mantix(struct drm_panel *panel)
45 return container_of(panel, struct mantix, panel);
54 * Init sequence was supplied by the panel vendor.
74 static int mantix_enable(struct drm_panel *panel)
76 struct mantix *ctx = panel_to_mantix(panel);
108 static int mantix_disable(struct drm_panel *panel)
110 struct mantix *ctx = panel_to_mantix(panel);
126 static int mantix_unprepare(struct drm_panel *panel)
128 struct mantix *ctx = panel_to_mantix(panel);
145 static int mantix_prepare(struct drm_panel *panel)
147 struct mantix *ctx = panel_to_mantix(panel);
151 dev_dbg(ctx->dev, "Resetting the panel\n");
220 static int mantix_get_modes(struct drm_panel *panel,
223 struct mantix *ctx = panel_to_mantix(panel);
299 drm_panel_init(&ctx->panel, dev, &mantix_drm_funcs,
302 ret = drm_panel_of_backlight(&ctx->panel);
306 drm_panel_add(&ctx->panel);
311 drm_panel_remove(&ctx->panel);
327 drm_panel_unprepare(&ctx->panel);
328 drm_panel_disable(&ctx->panel);
338 drm_panel_remove(&ctx->panel);
360 MODULE_DESCRIPTION("DRM driver for Mantix MLAF057WE51-X MIPI DSI panel");