#include <linux/delay.h>
#include <linux/device.h>
#include <linux/err.h>
#include <linux/errno.h>
#include <linux/kernel.h>
#include <linux/media-bus-format.h>
#include <linux/module.h>
#include <linux/of.h>
#include <linux/gpio/consumer.h>
#include <linux/regulator/consumer.h>
#include <drm/drm_connector.h>
#include <drm/drm_mipi_dsi.h>
#include <drm/drm_modes.h>
#include <drm/drm_panel.h>
struct rb070d30_panel { … };
static inline struct rb070d30_panel *panel_to_rb070d30_panel(struct drm_panel *panel)
{ … }
static int rb070d30_panel_prepare(struct drm_panel *panel)
{ … }
static int rb070d30_panel_unprepare(struct drm_panel *panel)
{ … }
static int rb070d30_panel_enable(struct drm_panel *panel)
{ … }
static int rb070d30_panel_disable(struct drm_panel *panel)
{ … }
static const struct drm_display_mode default_mode = …;
static int rb070d30_panel_get_modes(struct drm_panel *panel,
struct drm_connector *connector)
{ … }
static const struct drm_panel_funcs rb070d30_panel_funcs = …;
static int rb070d30_panel_dsi_probe(struct mipi_dsi_device *dsi)
{ … }
static void rb070d30_panel_dsi_remove(struct mipi_dsi_device *dsi)
{ … }
static const struct of_device_id rb070d30_panel_of_match[] = …;
MODULE_DEVICE_TABLE(of, rb070d30_panel_of_match);
static struct mipi_dsi_driver rb070d30_panel_driver = …;
module_mipi_dsi_driver(…) …;
MODULE_AUTHOR(…) …;
MODULE_AUTHOR(…) …;
MODULE_DESCRIPTION(…) …;
MODULE_LICENSE(…) …;