#include <linux/delay.h>
#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_crtc.h>
#include <drm/drm_device.h>
#include <drm/drm_mipi_dsi.h>
#include <drm/drm_panel.h>
struct sharp_nt_panel { … };
static inline struct sharp_nt_panel *to_sharp_nt_panel(struct drm_panel *panel)
{ … }
static int sharp_nt_panel_init(struct sharp_nt_panel *sharp_nt)
{ … }
static int sharp_nt_panel_on(struct sharp_nt_panel *sharp_nt)
{ … }
static int sharp_nt_panel_off(struct sharp_nt_panel *sharp_nt)
{ … }
static int sharp_nt_panel_unprepare(struct drm_panel *panel)
{ … }
static int sharp_nt_panel_prepare(struct drm_panel *panel)
{ … }
static const struct drm_display_mode default_mode = …;
static int sharp_nt_panel_get_modes(struct drm_panel *panel,
struct drm_connector *connector)
{ … }
static const struct drm_panel_funcs sharp_nt_panel_funcs = …;
static int sharp_nt_panel_add(struct sharp_nt_panel *sharp_nt)
{ … }
static void sharp_nt_panel_del(struct sharp_nt_panel *sharp_nt)
{ … }
static int sharp_nt_panel_probe(struct mipi_dsi_device *dsi)
{ … }
static void sharp_nt_panel_remove(struct mipi_dsi_device *dsi)
{ … }
static const struct of_device_id sharp_nt_of_match[] = …;
MODULE_DEVICE_TABLE(of, sharp_nt_of_match);
static struct mipi_dsi_driver sharp_nt_panel_driver = …;
module_mipi_dsi_driver(…) …;
MODULE_AUTHOR(…) …;
MODULE_DESCRIPTION(…) …;
MODULE_LICENSE(…) …;