#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/regulator/consumer.h>
#include <linux/spi/spi.h>
#include <video/mipi_display.h>
#include <drm/drm_mipi_dbi.h>
#include <drm/drm_modes.h>
#include <drm/drm_panel.h>
struct nv3052c_reg { … };
struct nv3052c_panel_info { … };
struct nv3052c { … };
static const struct nv3052c_reg ltk035c5444t_panel_regs[] = …;
static const struct nv3052c_reg fs035vg158_panel_regs[] = …;
static const struct nv3052c_reg wl_355608_a8_panel_regs[] = …;
static inline struct nv3052c *to_nv3052c(struct drm_panel *panel)
{ … }
static int nv3052c_prepare(struct drm_panel *panel)
{ … }
static int nv3052c_unprepare(struct drm_panel *panel)
{ … }
static int nv3052c_enable(struct drm_panel *panel)
{ … }
static int nv3052c_disable(struct drm_panel *panel)
{ … }
static int nv3052c_get_modes(struct drm_panel *panel,
struct drm_connector *connector)
{ … }
static const struct drm_panel_funcs nv3052c_funcs = …;
static int nv3052c_probe(struct spi_device *spi)
{ … }
static void nv3052c_remove(struct spi_device *spi)
{ … }
static const struct drm_display_mode ltk035c5444t_modes[] = …;
static const struct drm_display_mode fs035vg158_modes[] = …;
static const struct drm_display_mode wl_355608_a8_mode[] = …;
static const struct nv3052c_panel_info ltk035c5444t_panel_info = …;
static const struct nv3052c_panel_info fs035vg158_panel_info = …;
static const struct nv3052c_panel_info wl_355608_a8_panel_info = …;
static const struct spi_device_id nv3052c_ids[] = …;
MODULE_DEVICE_TABLE(spi, nv3052c_ids);
static const struct of_device_id nv3052c_of_match[] = …;
MODULE_DEVICE_TABLE(of, nv3052c_of_match);
static struct spi_driver nv3052c_driver = …;
module_spi_driver(…) …;
MODULE_AUTHOR(…) …;
MODULE_AUTHOR(…) …;
MODULE_AUTHOR(…) …;
MODULE_DESCRIPTION(…) …;
MODULE_LICENSE(…) …;