linux/drivers/gpu/drm/panel/panel-novatek-nt39016.c

// SPDX-License-Identifier: GPL-2.0
/*
 * Novatek NT39016 TFT LCD panel driver
 *
 * Copyright (C) 2017, Maarten ter Huurne <[email protected]>
 * Copyright (C) 2019, Paul Cercueil <[email protected]>
 */

#include <linux/delay.h>
#include <linux/device.h>
#include <linux/gpio/consumer.h>
#include <linux/media-bus-format.h>
#include <linux/module.h>
#include <linux/of.h>
#include <linux/regmap.h>
#include <linux/regulator/consumer.h>
#include <linux/spi/spi.h>

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

enum nt39016_regs {};

#define NT39016_SYSTEM_RESET_N
#define NT39016_SYSTEM_STANDBY

struct nt39016_panel_info {};

struct nt39016 {};

static inline struct nt39016 *to_nt39016(struct drm_panel *panel)
{}

#define RV
static const struct reg_sequence nt39016_panel_regs[] =;

#undef RV

static const struct regmap_range nt39016_regmap_no_ranges[] =;

static const struct regmap_access_table nt39016_regmap_access_table =;

static const struct regmap_config nt39016_regmap_config =;

static int nt39016_prepare(struct drm_panel *drm_panel)
{}

static int nt39016_unprepare(struct drm_panel *drm_panel)
{}

static int nt39016_enable(struct drm_panel *drm_panel)
{}

static int nt39016_disable(struct drm_panel *drm_panel)
{}

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

static const struct drm_panel_funcs nt39016_funcs =;

static int nt39016_probe(struct spi_device *spi)
{}

static void nt39016_remove(struct spi_device *spi)
{}

static const struct drm_display_mode kd035g6_display_modes[] =;

static const struct nt39016_panel_info kd035g6_info =;

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

static struct spi_driver nt39016_driver =;

module_spi_driver();

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