#include <linux/gpio/consumer.h>
#include <linux/module.h>
#include <linux/of.h>
#include <linux/platform_device.h>
#include <linux/regulator/consumer.h>
#include <linux/slab.h>
#include <video/display_timing.h>
#include <video/of_display_timing.h>
#include <video/videomode.h>
#include <drm/drm_crtc.h>
#include <drm/drm_of.h>
#include <drm/drm_panel.h>
struct panel_lvds { … };
static inline struct panel_lvds *to_panel_lvds(struct drm_panel *panel)
{ … }
static int panel_lvds_unprepare(struct drm_panel *panel)
{ … }
static int panel_lvds_prepare(struct drm_panel *panel)
{ … }
static int panel_lvds_get_modes(struct drm_panel *panel,
struct drm_connector *connector)
{ … }
static enum drm_panel_orientation panel_lvds_get_orientation(struct drm_panel *panel)
{ … }
static const struct drm_panel_funcs panel_lvds_funcs = …;
static int panel_lvds_parse_dt(struct panel_lvds *lvds)
{ … }
static int panel_lvds_probe(struct platform_device *pdev)
{ … }
static void panel_lvds_remove(struct platform_device *pdev)
{ … }
static const struct of_device_id panel_lvds_of_table[] = …;
MODULE_DEVICE_TABLE(of, panel_lvds_of_table);
static struct platform_driver panel_lvds_driver = …;
module_platform_driver(…) …;
MODULE_AUTHOR(…) …;
MODULE_DESCRIPTION(…) …;
MODULE_LICENSE(…) …;