#include <linux/delay.h>
#include <linux/gpio/consumer.h>
#include <linux/media-bus-format.h>
#include <linux/module.h>
#include <linux/of.h>
#include <linux/regulator/consumer.h>
#include <video/display_timing.h>
#include <video/mipi_display.h>
#include <drm/drm_mipi_dsi.h>
#include <drm/drm_modes.h>
#include <drm/drm_panel.h>
struct nv3051d_panel_info { … };
struct panel_nv3051d { … };
static inline struct panel_nv3051d *panel_to_panelnv3051d(struct drm_panel *panel)
{ … }
static int panel_nv3051d_init_sequence(struct panel_nv3051d *ctx)
{ … }
static int panel_nv3051d_unprepare(struct drm_panel *panel)
{ … }
static int panel_nv3051d_prepare(struct drm_panel *panel)
{ … }
static int panel_nv3051d_get_modes(struct drm_panel *panel,
struct drm_connector *connector)
{ … }
static const struct drm_panel_funcs panel_nv3051d_funcs = …;
static int panel_nv3051d_probe(struct mipi_dsi_device *dsi)
{ … }
static void panel_nv3051d_shutdown(struct mipi_dsi_device *dsi)
{ … }
static void panel_nv3051d_remove(struct mipi_dsi_device *dsi)
{ … }
static const struct drm_display_mode nv3051d_rgxx3_modes[] = …;
static const struct drm_display_mode nv3051d_rk2023_modes[] = …;
static const struct nv3051d_panel_info nv3051d_rg351v_info = …;
static const struct nv3051d_panel_info nv3051d_rg353p_info = …;
static const struct nv3051d_panel_info nv3051d_rk2023_info = …;
static const struct of_device_id newvision_nv3051d_of_match[] = …;
MODULE_DEVICE_TABLE(of, newvision_nv3051d_of_match);
static struct mipi_dsi_driver newvision_nv3051d_driver = …;
module_mipi_dsi_driver(…) …;
MODULE_AUTHOR(…) …;
MODULE_DESCRIPTION(…) …;
MODULE_LICENSE(…) …;