#include <linux/gpio/consumer.h>
#include <linux/delay.h>
#include <linux/mod_devicetable.h>
#include <linux/module.h>
#include <linux/regulator/consumer.h>
#include <drm/drm_mipi_dsi.h>
#include <drm/drm_modes.h>
#include <drm/drm_panel.h>
#define K101_IM2BA02_INIT_CMD_LEN …
static const char * const regulator_names[] = …;
struct k101_im2ba02 { … };
static inline struct k101_im2ba02 *panel_to_k101_im2ba02(struct drm_panel *panel)
{ … }
struct k101_im2ba02_init_cmd { … };
static const struct k101_im2ba02_init_cmd k101_im2ba02_init_cmds[] = …;
static const struct k101_im2ba02_init_cmd timed_cmds[] = …;
static int k101_im2ba02_prepare(struct drm_panel *panel)
{ … }
static int k101_im2ba02_enable(struct drm_panel *panel)
{ … }
static int k101_im2ba02_disable(struct drm_panel *panel)
{ … }
static int k101_im2ba02_unprepare(struct drm_panel *panel)
{ … }
static const struct drm_display_mode k101_im2ba02_default_mode = …;
static int k101_im2ba02_get_modes(struct drm_panel *panel,
struct drm_connector *connector)
{ … }
static const struct drm_panel_funcs k101_im2ba02_funcs = …;
static int k101_im2ba02_dsi_probe(struct mipi_dsi_device *dsi)
{ … }
static void k101_im2ba02_dsi_remove(struct mipi_dsi_device *dsi)
{ … }
static const struct of_device_id k101_im2ba02_of_match[] = …;
MODULE_DEVICE_TABLE(of, k101_im2ba02_of_match);
static struct mipi_dsi_driver k101_im2ba02_driver = …;
module_mipi_dsi_driver(…) …;
MODULE_AUTHOR(…) …;
MODULE_DESCRIPTION(…) …;
MODULE_LICENSE(…) …;