#include <linux/backlight.h>
#include <linux/delay.h>
#include <linux/gpio/consumer.h>
#include <linux/regulator/consumer.h>
#include <linux/module.h>
#include <linux/of.h>
#include <drm/display/drm_dsc.h>
#include <drm/drm_mipi_dsi.h>
#include <drm/drm_modes.h>
#include <drm/drm_panel.h>
#include <video/mipi_display.h>
struct visionox_vtdr6130 { … };
static inline struct visionox_vtdr6130 *to_visionox_vtdr6130(struct drm_panel *panel)
{ … }
static void visionox_vtdr6130_reset(struct visionox_vtdr6130 *ctx)
{ … }
static int visionox_vtdr6130_on(struct visionox_vtdr6130 *ctx)
{ … }
static int visionox_vtdr6130_off(struct visionox_vtdr6130 *ctx)
{ … }
static int visionox_vtdr6130_prepare(struct drm_panel *panel)
{ … }
static int visionox_vtdr6130_unprepare(struct drm_panel *panel)
{ … }
static const struct drm_display_mode visionox_vtdr6130_mode = …;
static int visionox_vtdr6130_get_modes(struct drm_panel *panel,
struct drm_connector *connector)
{ … }
static const struct drm_panel_funcs visionox_vtdr6130_panel_funcs = …;
static int visionox_vtdr6130_bl_update_status(struct backlight_device *bl)
{ … }
static const struct backlight_ops visionox_vtdr6130_bl_ops = …;
static struct backlight_device *
visionox_vtdr6130_create_backlight(struct mipi_dsi_device *dsi)
{ … }
static int visionox_vtdr6130_probe(struct mipi_dsi_device *dsi)
{ … }
static void visionox_vtdr6130_remove(struct mipi_dsi_device *dsi)
{ … }
static const struct of_device_id visionox_vtdr6130_of_match[] = …;
MODULE_DEVICE_TABLE(of, visionox_vtdr6130_of_match);
static struct mipi_dsi_driver visionox_vtdr6130_driver = …;
module_mipi_dsi_driver(…) …;
MODULE_AUTHOR(…) …;
MODULE_DESCRIPTION(…) …;
MODULE_LICENSE(…) …;