linux/drivers/gpu/drm/panel/panel-boe-himax8279d.c

// SPDX-License-Identifier: GPL-2.0
/*
 * Copyright (c) 2019, Huaqin Telecom Technology Co., Ltd
 *
 * Author: Jerry Han <[email protected]>
 *
 */

#include <linux/delay.h>
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/of.h>

#include <linux/gpio/consumer.h>
#include <linux/regulator/consumer.h>

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

#include <video/mipi_display.h>

struct panel_cmd {};

struct panel_desc {};

struct panel_info {};

static inline struct panel_info *to_panel_info(struct drm_panel *panel)
{}

static void disable_gpios(struct panel_info *pinfo)
{}

static int send_mipi_cmds(struct drm_panel *panel, const struct panel_cmd *cmds)
{}

static int boe_panel_disable(struct drm_panel *panel)
{}

static int boe_panel_unprepare(struct drm_panel *panel)
{}

static int boe_panel_prepare(struct drm_panel *panel)
{}

static int boe_panel_enable(struct drm_panel *panel)
{}

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

static const struct drm_panel_funcs panel_funcs =;

static const struct drm_display_mode default_display_mode =;

/* 8 inch */
static const struct panel_cmd boe_himax8279d8p_on_cmds[] =;

static const struct panel_desc boe_himax8279d8p_panel_desc =;

/* 10 inch */
static const struct panel_cmd boe_himax8279d10p_on_cmds[] =;

static const struct panel_desc boe_himax8279d10p_panel_desc =;

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

static int panel_add(struct panel_info *pinfo)
{}

static int panel_probe(struct mipi_dsi_device *dsi)
{}

static void panel_remove(struct mipi_dsi_device *dsi)
{}

static struct mipi_dsi_driver panel_driver =;
module_mipi_dsi_driver();

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