#include <linux/backlight.h>
#include <linux/delay.h>
#include <linux/gpio/consumer.h>
#include <linux/module.h>
#include <linux/of.h>
#include <linux/of_device.h>
#include <linux/regulator/consumer.h>
#include <video/mipi_display.h>
#include <drm/drm_crtc.h>
#include <drm/drm_device.h>
#include <drm/drm_mipi_dsi.h>
#include <drm/drm_modes.h>
#include <drm/drm_panel.h>
struct ltk500hd1829_cmd { … };
struct ltk500hd1829_desc { … };
struct ltk500hd1829 { … };
static const struct ltk500hd1829_cmd ltk101b4029w_init[] = …;
static const struct drm_display_mode ltk101b4029w_mode = …;
static const struct ltk500hd1829_desc ltk101b4029w_data = …;
static const struct ltk500hd1829_cmd ltk500hd1829_init[] = …;
static const struct drm_display_mode ltk500hd1829_mode = …;
static const struct ltk500hd1829_desc ltk500hd1829_data = …;
static inline
struct ltk500hd1829 *panel_to_ltk500hd1829(struct drm_panel *panel)
{ … }
static int ltk500hd1829_unprepare(struct drm_panel *panel)
{ … }
static int ltk500hd1829_prepare(struct drm_panel *panel)
{ … }
static int ltk500hd1829_get_modes(struct drm_panel *panel,
struct drm_connector *connector)
{ … }
static const struct drm_panel_funcs ltk500hd1829_funcs = …;
static int ltk500hd1829_probe(struct mipi_dsi_device *dsi)
{ … }
static void ltk500hd1829_remove(struct mipi_dsi_device *dsi)
{ … }
static const struct of_device_id ltk500hd1829_of_match[] = …;
MODULE_DEVICE_TABLE(of, ltk500hd1829_of_match);
static struct mipi_dsi_driver ltk500hd1829_driver = …;
module_mipi_dsi_driver(…) …;
MODULE_AUTHOR(…) …;
MODULE_DESCRIPTION(…) …;
MODULE_LICENSE(…) …;