#include <linux/delay.h>
#include <linux/module.h>
#include <linux/mod_devicetable.h>
#include <linux/gpio/consumer.h>
#include <linux/regulator/consumer.h>
#include <video/mipi_display.h>
#include <drm/drm_mipi_dsi.h>
#include <drm/drm_modes.h>
#include <drm/drm_panel.h>
struct visionox_rm69299 { … };
static inline struct visionox_rm69299 *panel_to_ctx(struct drm_panel *panel)
{ … }
static int visionox_rm69299_power_on(struct visionox_rm69299 *ctx)
{ … }
static int visionox_rm69299_power_off(struct visionox_rm69299 *ctx)
{ … }
static int visionox_rm69299_unprepare(struct drm_panel *panel)
{ … }
static int visionox_rm69299_prepare(struct drm_panel *panel)
{ … }
static const struct drm_display_mode visionox_rm69299_1080x2248_60hz = …;
static int visionox_rm69299_get_modes(struct drm_panel *panel,
struct drm_connector *connector)
{ … }
static const struct drm_panel_funcs visionox_rm69299_drm_funcs = …;
static int visionox_rm69299_probe(struct mipi_dsi_device *dsi)
{ … }
static void visionox_rm69299_remove(struct mipi_dsi_device *dsi)
{ … }
static const struct of_device_id visionox_rm69299_of_match[] = …;
MODULE_DEVICE_TABLE(of, visionox_rm69299_of_match);
static struct mipi_dsi_driver visionox_rm69299_driver = …;
module_mipi_dsi_driver(…) …;
MODULE_DESCRIPTION(…) …;
MODULE_LICENSE(…) …;