#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/drm_mipi_dsi.h>
#include <drm/drm_modes.h>
#include <drm/drm_panel.h>
struct tm5p5_nt35596 { … };
static inline struct tm5p5_nt35596 *to_tm5p5_nt35596(struct drm_panel *panel)
{ … }
static void tm5p5_nt35596_reset(struct tm5p5_nt35596 *ctx)
{ … }
static void tm5p5_nt35596_on(struct mipi_dsi_multi_context *dsi_ctx)
{ … }
static void tm5p5_nt35596_off(struct mipi_dsi_multi_context *dsi_ctx)
{ … }
static int tm5p5_nt35596_prepare(struct drm_panel *panel)
{ … }
static int tm5p5_nt35596_unprepare(struct drm_panel *panel)
{ … }
static const struct drm_display_mode tm5p5_nt35596_mode = …;
static int tm5p5_nt35596_get_modes(struct drm_panel *panel,
struct drm_connector *connector)
{ … }
static const struct drm_panel_funcs tm5p5_nt35596_panel_funcs = …;
static int tm5p5_nt35596_bl_update_status(struct backlight_device *bl)
{ … }
static int tm5p5_nt35596_bl_get_brightness(struct backlight_device *bl)
{ … }
static const struct backlight_ops tm5p5_nt35596_bl_ops = …;
static struct backlight_device *
tm5p5_nt35596_create_backlight(struct mipi_dsi_device *dsi)
{ … }
static int tm5p5_nt35596_probe(struct mipi_dsi_device *dsi)
{ … }
static void tm5p5_nt35596_remove(struct mipi_dsi_device *dsi)
{ … }
static const struct of_device_id tm5p5_nt35596_of_match[] = …;
MODULE_DEVICE_TABLE(of, tm5p5_nt35596_of_match);
static struct mipi_dsi_driver tm5p5_nt35596_driver = …;
module_mipi_dsi_driver(…) …;
MODULE_AUTHOR(…) …;
MODULE_DESCRIPTION(…) …;
MODULE_LICENSE(…) …;