linux/drivers/gpu/drm/panel/panel-panasonic-vvx10f034n00.c

// SPDX-License-Identifier: GPL-2.0-only
/*
 * Copyright (C) 2015 Red Hat
 * Copyright (C) 2015 Sony Mobile Communications Inc.
 * Author: Werner Johansson <[email protected]>
 *
 * Based on AUO panel driver by Rob Clark <[email protected]>
 */

#include <linux/delay.h>
#include <linux/module.h>
#include <linux/of.h>
#include <linux/regulator/consumer.h>

#include <video/mipi_display.h>

#include <drm/drm_crtc.h>
#include <drm/drm_device.h>
#include <drm/drm_mipi_dsi.h>
#include <drm/drm_panel.h>

/*
 * When power is turned off to this panel a minimum off time of 500ms has to be
 * observed before powering back on as there's no external reset pin. Keep
 * track of earliest wakeup time and delay subsequent prepare call accordingly
 */
#define MIN_POFF_MS

struct wuxga_nt_panel {};

static inline struct wuxga_nt_panel *to_wuxga_nt_panel(struct drm_panel *panel)
{}

static int wuxga_nt_panel_on(struct wuxga_nt_panel *wuxga_nt)
{}

static int wuxga_nt_panel_disable(struct drm_panel *panel)
{}

static int wuxga_nt_panel_unprepare(struct drm_panel *panel)
{}

static int wuxga_nt_panel_prepare(struct drm_panel *panel)
{}

static const struct drm_display_mode default_mode =;

static int wuxga_nt_panel_get_modes(struct drm_panel *panel,
				    struct drm_connector *connector)
{}

static const struct drm_panel_funcs wuxga_nt_panel_funcs =;

static const struct of_device_id wuxga_nt_of_match[] =;
MODULE_DEVICE_TABLE(of, wuxga_nt_of_match);

static int wuxga_nt_panel_add(struct wuxga_nt_panel *wuxga_nt)
{}

static void wuxga_nt_panel_del(struct wuxga_nt_panel *wuxga_nt)
{}

static int wuxga_nt_panel_probe(struct mipi_dsi_device *dsi)
{}

static void wuxga_nt_panel_remove(struct mipi_dsi_device *dsi)
{}

static struct mipi_dsi_driver wuxga_nt_panel_driver =;
module_mipi_dsi_driver();

MODULE_AUTHOR();
MODULE_DESCRIPTION();
MODULE_LICENSE();