#include <drm/drm_mipi_dsi.h>
#include <drm/drm_modes.h>
#include <drm/drm_panel.h>
#include <video/display_timing.h>
#include <video/mipi_display.h>
#include <linux/delay.h>
#include <linux/gpio/consumer.h>
#include <linux/media-bus-format.h>
#include <linux/module.h>
#include <linux/of.h>
#include <linux/regulator/consumer.h>
#define XPP055C272_CMD_ALL_PIXEL_OFF …
#define XPP055C272_CMD_ALL_PIXEL_ON …
#define XPP055C272_CMD_SETDISP …
#define XPP055C272_CMD_SETRGBIF …
#define XPP055C272_CMD_SETCYC …
#define XPP055C272_CMD_SETBGP …
#define XPP055C272_CMD_SETVCOM …
#define XPP055C272_CMD_SETOTP …
#define XPP055C272_CMD_SETPOWER_EXT …
#define XPP055C272_CMD_SETEXTC …
#define XPP055C272_CMD_SETMIPI …
#define XPP055C272_CMD_SETVDC …
#define XPP055C272_CMD_SETPCR …
#define XPP055C272_CMD_SETSCR …
#define XPP055C272_CMD_SETPOWER …
#define XPP055C272_CMD_SETECO …
#define XPP055C272_CMD_SETPANEL …
#define XPP055C272_CMD_SETGAMMA …
#define XPP055C272_CMD_SETEQ …
#define XPP055C272_CMD_SETGIP1 …
#define XPP055C272_CMD_SETGIP2 …
struct xpp055c272 { … };
static inline struct xpp055c272 *panel_to_xpp055c272(struct drm_panel *panel)
{ … }
static int xpp055c272_init_sequence(struct xpp055c272 *ctx)
{ … }
static int xpp055c272_unprepare(struct drm_panel *panel)
{ … }
static int xpp055c272_prepare(struct drm_panel *panel)
{ … }
static const struct drm_display_mode default_mode = …;
static int xpp055c272_get_modes(struct drm_panel *panel,
struct drm_connector *connector)
{ … }
static const struct drm_panel_funcs xpp055c272_funcs = …;
static int xpp055c272_probe(struct mipi_dsi_device *dsi)
{ … }
static void xpp055c272_remove(struct mipi_dsi_device *dsi)
{ … }
static const struct of_device_id xpp055c272_of_match[] = …;
MODULE_DEVICE_TABLE(of, xpp055c272_of_match);
static struct mipi_dsi_driver xpp055c272_driver = …;
module_mipi_dsi_driver(…) …;
MODULE_AUTHOR(…) …;
MODULE_DESCRIPTION(…) …;
MODULE_LICENSE(…) …;