#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 ltk050h3146w_cmd { … };
struct ltk050h3146w;
struct ltk050h3146w_desc { … };
struct ltk050h3146w { … };
static const struct ltk050h3146w_cmd page1_cmds[] = …;
static const struct ltk050h3146w_cmd page3_cmds[] = …;
static const struct ltk050h3146w_cmd page4_cmds[] = …;
static inline
struct ltk050h3146w *panel_to_ltk050h3146w(struct drm_panel *panel)
{ … }
static int ltk050h3148w_init_sequence(struct ltk050h3146w *ctx)
{ … }
static const struct drm_display_mode ltk050h3148w_mode = …;
static const struct ltk050h3146w_desc ltk050h3148w_data = …;
static int ltk050h3146w_init_sequence(struct ltk050h3146w *ctx)
{ … }
static const struct drm_display_mode ltk050h3146w_mode = …;
static const struct ltk050h3146w_desc ltk050h3146w_data = …;
static int ltk050h3146w_a2_select_page(struct ltk050h3146w *ctx, int page)
{ … }
static int ltk050h3146w_a2_write_page(struct ltk050h3146w *ctx, int page,
const struct ltk050h3146w_cmd *cmds,
int num)
{ … }
static int ltk050h3146w_a2_init_sequence(struct ltk050h3146w *ctx)
{ … }
static const struct drm_display_mode ltk050h3146w_a2_mode = …;
static const struct ltk050h3146w_desc ltk050h3146w_a2_data = …;
static int ltk050h3146w_unprepare(struct drm_panel *panel)
{ … }
static int ltk050h3146w_prepare(struct drm_panel *panel)
{ … }
static int ltk050h3146w_get_modes(struct drm_panel *panel,
struct drm_connector *connector)
{ … }
static const struct drm_panel_funcs ltk050h3146w_funcs = …;
static int ltk050h3146w_probe(struct mipi_dsi_device *dsi)
{ … }
static void ltk050h3146w_remove(struct mipi_dsi_device *dsi)
{ … }
static const struct of_device_id ltk050h3146w_of_match[] = …;
MODULE_DEVICE_TABLE(of, ltk050h3146w_of_match);
static struct mipi_dsi_driver ltk050h3146w_driver = …;
module_mipi_dsi_driver(…) …;
MODULE_AUTHOR(…) …;
MODULE_DESCRIPTION(…) …;
MODULE_LICENSE(…) …;