Lines Matching +full:vsp +full:- +full:supply
1 // SPDX-License-Identifier: GPL-2.0-only
2 // Generated with linux-mdss-dsi-panel-driver-generator from vendor device tree:
25 { .supply = "vsp" },
26 { .supply = "vsn" },
36 gpiod_set_value_cansleep(ctx->reset_gpio, 0);
38 gpiod_set_value_cansleep(ctx->reset_gpio, 1);
40 gpiod_set_value_cansleep(ctx->reset_gpio, 0);
47 struct mipi_dsi_device *dsi = ctx->dsi;
50 dsi->mode_flags |= MIPI_DSI_MODE_LPM;
78 struct mipi_dsi_device *dsi = ctx->dsi;
81 dsi->mode_flags &= ~MIPI_DSI_MODE_LPM;
103 ctx->supplies);
111 gpiod_set_value_cansleep(ctx->reset_gpio, 1);
113 ctx->supplies);
127 gpiod_set_value_cansleep(ctx->reset_gpio, 1);
130 ctx->supplies);
165 struct device *dev = &dsi->dev;
175 ret = devm_regulator_bulk_get_const(&dsi->dev,
178 &ctx->supplies);
182 ctx->reset_gpio = devm_gpiod_get(dev, "reset", GPIOD_OUT_LOW);
183 if (IS_ERR(ctx->reset_gpio))
184 return dev_err_probe(dev, PTR_ERR(ctx->reset_gpio),
185 "Failed to get reset-gpios\n");
187 ctx->dsi = dsi;
190 dsi->lanes = 4;
191 dsi->format = MIPI_DSI_FMT_RGB888;
192 dsi->mode_flags = MIPI_DSI_MODE_VIDEO | MIPI_DSI_MODE_VIDEO_BURST |
195 ctx->panel.prepare_prev_first = true;
197 ret = drm_panel_of_backlight(&ctx->panel);
201 drm_panel_add(&ctx->panel);
205 drm_panel_remove(&ctx->panel);
219 dev_err(&dsi->dev, "Failed to detach from DSI host: %d\n", ret);
221 drm_panel_remove(&ctx->panel);
225 { .compatible = "boe,tv101wum-ll2" },
234 .name = "panel-boe-tv101wum_ll2",
240 MODULE_DESCRIPTION("DRM driver for BOE TV101WUM-LL2 Panel");