#include <linux/module.h>
#include <linux/of.h>
#include <linux/regulator/consumer.h>
#include <drm/drm_crtc.h>
#include <drm/drm_device.h>
#include <drm/drm_mipi_dsi.h>
#include <drm/drm_panel.h>
#include <video/mipi_display.h>
struct osd101t2587_panel { … };
static inline struct osd101t2587_panel *ti_osd_panel(struct drm_panel *panel)
{ … }
static int osd101t2587_panel_disable(struct drm_panel *panel)
{ … }
static int osd101t2587_panel_unprepare(struct drm_panel *panel)
{ … }
static int osd101t2587_panel_prepare(struct drm_panel *panel)
{ … }
static int osd101t2587_panel_enable(struct drm_panel *panel)
{ … }
static const struct drm_display_mode default_mode_osd101t2587 = …;
static int osd101t2587_panel_get_modes(struct drm_panel *panel,
struct drm_connector *connector)
{ … }
static const struct drm_panel_funcs osd101t2587_panel_funcs = …;
static const struct of_device_id osd101t2587_of_match[] = …;
MODULE_DEVICE_TABLE(of, osd101t2587_of_match);
static int osd101t2587_panel_add(struct osd101t2587_panel *osd101t2587)
{ … }
static int osd101t2587_panel_probe(struct mipi_dsi_device *dsi)
{ … }
static void osd101t2587_panel_remove(struct mipi_dsi_device *dsi)
{ … }
static struct mipi_dsi_driver osd101t2587_panel_driver = …;
module_mipi_dsi_driver(…) …;
MODULE_AUTHOR(…) …;
MODULE_DESCRIPTION(…) …;
MODULE_LICENSE(…) …;