#include <linux/backlight.h>
#include <linux/delay.h>
#include <linux/gpio/consumer.h>
#include <linux/module.h>
#include <linux/of.h>
#include <video/mipi_display.h>
#include <drm/drm_mipi_dsi.h>
#include <drm/drm_modes.h>
#include <drm/drm_panel.h>
struct s6e3fa7_panel { … };
static inline struct s6e3fa7_panel *to_s6e3fa7_panel(struct drm_panel *panel)
{ … }
static void s6e3fa7_panel_reset(struct s6e3fa7_panel *ctx)
{ … }
static int s6e3fa7_panel_on(struct s6e3fa7_panel *ctx)
{ … }
static int s6e3fa7_panel_prepare(struct drm_panel *panel)
{ … }
static int s6e3fa7_panel_unprepare(struct drm_panel *panel)
{ … }
static int s6e3fa7_panel_disable(struct drm_panel *panel)
{ … }
static const struct drm_display_mode s6e3fa7_panel_mode = …;
static int s6e3fa7_panel_get_modes(struct drm_panel *panel,
struct drm_connector *connector)
{ … }
static const struct drm_panel_funcs s6e3fa7_panel_funcs = …;
static int s6e3fa7_panel_bl_update_status(struct backlight_device *bl)
{ … }
static int s6e3fa7_panel_bl_get_brightness(struct backlight_device *bl)
{ … }
static const struct backlight_ops s6e3fa7_panel_bl_ops = …;
static struct backlight_device *
s6e3fa7_panel_create_backlight(struct mipi_dsi_device *dsi)
{ … }
static int s6e3fa7_panel_probe(struct mipi_dsi_device *dsi)
{ … }
static void s6e3fa7_panel_remove(struct mipi_dsi_device *dsi)
{ … }
static const struct of_device_id s6e3fa7_panel_of_match[] = …;
MODULE_DEVICE_TABLE(of, s6e3fa7_panel_of_match);
static struct mipi_dsi_driver s6e3fa7_panel_driver = …;
module_mipi_dsi_driver(…) …;
MODULE_AUTHOR(…) …;
MODULE_DESCRIPTION(…) …;
MODULE_LICENSE(…) …;