Lines Matching refs:panel
3 * Mantix MLAF057WE51 5.7" MIPI-DSI panel driver
20 #define DRV_NAME "panel-mantix-mlaf057we51"
29 struct drm_panel panel;
39 static inline struct mantix *panel_to_mantix(struct drm_panel *panel)
41 return container_of(panel, struct mantix, panel);
58 * Init sequence was supplied by the panel vendor.
78 static int mantix_enable(struct drm_panel *panel)
80 struct mantix *ctx = panel_to_mantix(panel);
112 static int mantix_disable(struct drm_panel *panel)
114 struct mantix *ctx = panel_to_mantix(panel);
130 static int mantix_unprepare(struct drm_panel *panel)
132 struct mantix *ctx = panel_to_mantix(panel);
149 static int mantix_prepare(struct drm_panel *panel)
151 struct mantix *ctx = panel_to_mantix(panel);
155 dev_dbg(ctx->dev, "Resetting the panel\n");
205 static int mantix_get_modes(struct drm_panel *panel,
208 struct mantix *ctx = panel_to_mantix(panel);
279 drm_panel_init(&ctx->panel, dev, &mantix_drm_funcs,
282 ret = drm_panel_of_backlight(&ctx->panel);
286 drm_panel_add(&ctx->panel);
291 drm_panel_remove(&ctx->panel);
307 drm_panel_unprepare(&ctx->panel);
308 drm_panel_disable(&ctx->panel);
318 drm_panel_remove(&ctx->panel);
341 MODULE_DESCRIPTION("DRM driver for Mantix MLAF057WE51-X MIPI DSI panel");