linux/drivers/gpu/drm/panel/panel-khadas-ts050.c

// SPDX-License-Identifier: GPL-2.0
/*
 * Copyright (C) 2020 BayLibre, SAS
 * Author: Neil Armstrong <[email protected]>
 */

#include <linux/delay.h>
#include <linux/gpio/consumer.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_modes.h>
#include <drm/drm_panel.h>

struct khadas_ts050_panel {};

struct khadas_ts050_panel_cmd {};

struct khadas_ts050_panel_data {};

static const struct khadas_ts050_panel_cmd ts050v2_init_code[] =;

/* Only the CMD1 User Command set is documented */
static const struct khadas_ts050_panel_cmd ts050_init_code[] =;

struct khadas_ts050_panel_data ts050_panel_data =;

struct khadas_ts050_panel_data ts050v2_panel_data =;

static inline
struct khadas_ts050_panel *to_khadas_ts050_panel(struct drm_panel *panel)
{}

static int khadas_ts050_panel_prepare(struct drm_panel *panel)
{}

static int khadas_ts050_panel_unprepare(struct drm_panel *panel)
{}

static int khadas_ts050_panel_disable(struct drm_panel *panel)
{}

static const struct drm_display_mode default_mode =;

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

static const struct drm_panel_funcs khadas_ts050_panel_funcs =;

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

static int khadas_ts050_panel_add(struct khadas_ts050_panel *khadas_ts050)
{}

static int khadas_ts050_panel_probe(struct mipi_dsi_device *dsi)
{}

static void khadas_ts050_panel_remove(struct mipi_dsi_device *dsi)
{}

static struct mipi_dsi_driver khadas_ts050_panel_driver =;
module_mipi_dsi_driver();

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