#include <linux/backlight.h>
#include <linux/delay.h>
#include <linux/gpio/consumer.h>
#include <linux/module.h>
#include <linux/of.h>
#include <linux/regulator/consumer.h>
#include <drm/display/drm_dsc.h>
#include <drm/display/drm_dsc_helper.h>
#include <drm/drm_mipi_dsi.h>
#include <drm/drm_modes.h>
#include <drm/drm_panel.h>
struct rm692e5_panel { … };
static inline struct rm692e5_panel *to_rm692e5_panel(struct drm_panel *panel)
{ … }
static void rm692e5_reset(struct rm692e5_panel *ctx)
{ … }
static void rm692e5_on(struct mipi_dsi_multi_context *dsi_ctx)
{ … }
static int rm692e5_disable(struct drm_panel *panel)
{ … }
static int rm692e5_prepare(struct drm_panel *panel)
{ … }
static int rm692e5_unprepare(struct drm_panel *panel)
{ … }
static const struct drm_display_mode rm692e5_mode = …;
static int rm692e5_get_modes(struct drm_panel *panel,
struct drm_connector *connector)
{ … }
static const struct drm_panel_funcs rm692e5_panel_funcs = …;
static int rm692e5_bl_update_status(struct backlight_device *bl)
{ … }
static int rm692e5_bl_get_brightness(struct backlight_device *bl)
{ … }
static const struct backlight_ops rm692e5_bl_ops = …;
static struct backlight_device *
rm692e5_create_backlight(struct mipi_dsi_device *dsi)
{ … }
static int rm692e5_probe(struct mipi_dsi_device *dsi)
{ … }
static void rm692e5_remove(struct mipi_dsi_device *dsi)
{ … }
static const struct of_device_id rm692e5_of_match[] = …;
MODULE_DEVICE_TABLE(of, rm692e5_of_match);
static struct mipi_dsi_driver rm692e5_driver = …;
module_mipi_dsi_driver(…) …;
MODULE_DESCRIPTION(…) …;
MODULE_LICENSE(…) …;