#include <linux/gpio/consumer.h>
#include <linux/module.h>
#include <linux/of.h>
#include <linux/regulator/consumer.h>
#include <video/mipi_display.h>
#include <drm/drm_device.h>
#include <drm/drm_probe_helper.h>
#include <drm/drm_mipi_dsi.h>
#include <drm/drm_modes.h>
#include <drm/drm_panel.h>
struct lincoln_lcd197_panel { … };
static inline
struct lincoln_lcd197_panel *to_lincoln_lcd197_panel(struct drm_panel *panel)
{ … }
static int lincoln_lcd197_panel_prepare(struct drm_panel *panel)
{ … }
static int lincoln_lcd197_panel_unprepare(struct drm_panel *panel)
{ … }
static int lincoln_lcd197_panel_enable(struct drm_panel *panel)
{ … }
static int lincoln_lcd197_panel_disable(struct drm_panel *panel)
{ … }
static const struct drm_display_mode lcd197_mode = …;
static int lincoln_lcd197_panel_get_modes(struct drm_panel *panel,
struct drm_connector *connector)
{ … }
static const struct drm_panel_funcs lincoln_lcd197_panel_funcs = …;
static int lincoln_lcd197_panel_probe(struct mipi_dsi_device *dsi)
{ … }
static void lincoln_lcd197_panel_remove(struct mipi_dsi_device *dsi)
{ … }
static const struct of_device_id lincoln_lcd197_of_match[] = …;
MODULE_DEVICE_TABLE(of, lincoln_lcd197_of_match);
static struct mipi_dsi_driver lincoln_lcd197_panel_driver = …;
module_mipi_dsi_driver(…) …;
MODULE_AUTHOR(…) …;
MODULE_DESCRIPTION(…) …;
MODULE_LICENSE(…) …;