#include <linux/delay.h>
#include <linux/gpio/consumer.h>
#include <linux/module.h>
#include <linux/of.h>
#include <linux/platform_device.h>
#include <linux/regulator/consumer.h>
#include <drm/drm_connector.h>
#include <drm/drm_modes.h>
#include <drm/drm_panel.h>
struct ls037v7dw01_panel { … };
#define to_ls037v7dw01_device(p) …
static int ls037v7dw01_disable(struct drm_panel *panel)
{ … }
static int ls037v7dw01_unprepare(struct drm_panel *panel)
{ … }
static int ls037v7dw01_prepare(struct drm_panel *panel)
{ … }
static int ls037v7dw01_enable(struct drm_panel *panel)
{ … }
static const struct drm_display_mode ls037v7dw01_mode = …;
static int ls037v7dw01_get_modes(struct drm_panel *panel,
struct drm_connector *connector)
{ … }
static const struct drm_panel_funcs ls037v7dw01_funcs = …;
static int ls037v7dw01_probe(struct platform_device *pdev)
{ … }
static void ls037v7dw01_remove(struct platform_device *pdev)
{ … }
static const struct of_device_id ls037v7dw01_of_match[] = …;
MODULE_DEVICE_TABLE(of, ls037v7dw01_of_match);
static struct platform_driver ls037v7dw01_driver = …;
module_platform_driver(…) …;
MODULE_AUTHOR(…) …;
MODULE_DESCRIPTION(…) …;
MODULE_LICENSE(…) …;