#include <linux/backlight.h>
#include <linux/delay.h>
#include <linux/gpio/consumer.h>
#include <linux/module.h>
#include <linux/of.h>
#include <linux/of_graph.h>
#include <linux/regulator/consumer.h>
#include <video/mipi_display.h>
#include <drm/drm_connector.h>
#include <drm/drm_crtc.h>
#include <drm/drm_mipi_dsi.h>
#include <drm/drm_modes.h>
#include <drm/drm_panel.h>
#define DSI_NUM_MIN …
#define mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, cmd, seq...) …
struct panel_info { … };
struct panel_desc { … };
static inline struct panel_info *to_panel_info(struct drm_panel *panel)
{ … }
static int elish_boe_init_sequence(struct panel_info *pinfo)
{ … }
static int elish_csot_init_sequence(struct panel_info *pinfo)
{ … }
static int j606f_boe_init_sequence(struct panel_info *pinfo)
{ … }
static const struct drm_display_mode elish_boe_modes[] = …;
static const struct drm_display_mode elish_csot_modes[] = …;
static const struct drm_display_mode j606f_boe_modes[] = …;
static const struct panel_desc elish_boe_desc = …;
static const struct panel_desc elish_csot_desc = …;
static const struct panel_desc j606f_boe_desc = …;
static void nt36523_reset(struct panel_info *pinfo)
{ … }
static int nt36523_prepare(struct drm_panel *panel)
{ … }
static int nt36523_disable(struct drm_panel *panel)
{ … }
static int nt36523_unprepare(struct drm_panel *panel)
{ … }
static void nt36523_remove(struct mipi_dsi_device *dsi)
{ … }
static int nt36523_get_modes(struct drm_panel *panel,
struct drm_connector *connector)
{ … }
static enum drm_panel_orientation nt36523_get_orientation(struct drm_panel *panel)
{ … }
static const struct drm_panel_funcs nt36523_panel_funcs = …;
static int nt36523_bl_update_status(struct backlight_device *bl)
{ … }
static int nt36523_bl_get_brightness(struct backlight_device *bl)
{ … }
static const struct backlight_ops nt36523_bl_ops = …;
static struct backlight_device *nt36523_create_backlight(struct mipi_dsi_device *dsi)
{ … }
static int nt36523_probe(struct mipi_dsi_device *dsi)
{ … }
static const struct of_device_id nt36523_of_match[] = …;
MODULE_DEVICE_TABLE(of, nt36523_of_match);
static struct mipi_dsi_driver nt36523_driver = …;
module_mipi_dsi_driver(…) …;
MODULE_AUTHOR(…) …;
MODULE_DESCRIPTION(…) …;
MODULE_LICENSE(…) …;