#include <linux/delay.h>
#include <linux/device.h>
#include <linux/gpio/consumer.h>
#include <linux/media-bus-format.h>
#include <linux/module.h>
#include <linux/of.h>
#include <linux/platform_device.h>
#include <linux/regmap.h>
#include <linux/regulator/consumer.h>
#include <linux/spi/spi.h>
#include <drm/drm_modes.h>
#include <drm/drm_panel.h>
struct ej030na_info { … };
struct ej030na { … };
static inline struct ej030na *to_ej030na(struct drm_panel *panel)
{ … }
static const struct reg_sequence ej030na_init_sequence[] = …;
static int ej030na_prepare(struct drm_panel *panel)
{ … }
static int ej030na_unprepare(struct drm_panel *panel)
{ … }
static int ej030na_enable(struct drm_panel *panel)
{ … }
static int ej030na_disable(struct drm_panel *panel)
{ … }
static int ej030na_get_modes(struct drm_panel *panel,
struct drm_connector *connector)
{ … }
static const struct drm_panel_funcs ej030na_funcs = …;
static const struct regmap_config ej030na_regmap_config = …;
static int ej030na_probe(struct spi_device *spi)
{ … }
static void ej030na_remove(struct spi_device *spi)
{ … }
static const struct drm_display_mode ej030na_modes[] = …;
static const struct ej030na_info ej030na_info = …;
static const struct of_device_id ej030na_of_match[] = …;
MODULE_DEVICE_TABLE(of, ej030na_of_match);
static struct spi_driver ej030na_driver = …;
module_spi_driver(…) …;
MODULE_AUTHOR(…) …;
MODULE_AUTHOR(…) …;
MODULE_DESCRIPTION(…) …;
MODULE_LICENSE(…) …;