linux/drivers/gpu/drm/panel/panel-elida-kd35t133.c

// SPDX-License-Identifier: GPL-2.0
/*
 * Elida kd35t133 3.5" MIPI-DSI panel driver
 * Copyright (C) 2020 Theobroma Systems Design und Consulting GmbH
 *
 * based on
 *
 * Rockteck jh057n00900 5.5" MIPI-DSI panel driver
 * Copyright (C) Purism SPC 2019
 */

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

#include <video/display_timing.h>
#include <video/mipi_display.h>

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

/* Manufacturer specific Commands send via DSI */
#define KD35T133_CMD_INTERFACEMODECTRL
#define KD35T133_CMD_FRAMERATECTRL
#define KD35T133_CMD_DISPLAYINVERSIONCTRL
#define KD35T133_CMD_DISPLAYFUNCTIONCTRL
#define KD35T133_CMD_POWERCONTROL1
#define KD35T133_CMD_POWERCONTROL2
#define KD35T133_CMD_VCOMCONTROL
#define KD35T133_CMD_POSITIVEGAMMA
#define KD35T133_CMD_NEGATIVEGAMMA
#define KD35T133_CMD_SETIMAGEFUNCTION
#define KD35T133_CMD_ADJUSTCONTROL3

struct kd35t133 {};

static inline struct kd35t133 *panel_to_kd35t133(struct drm_panel *panel)
{}

static int kd35t133_init_sequence(struct kd35t133 *ctx)
{}

static int kd35t133_unprepare(struct drm_panel *panel)
{}

static int kd35t133_prepare(struct drm_panel *panel)
{}

static const struct drm_display_mode default_mode =;

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

static enum drm_panel_orientation kd35t133_get_orientation(struct drm_panel *panel)
{}

static const struct drm_panel_funcs kd35t133_funcs =;

static int kd35t133_probe(struct mipi_dsi_device *dsi)
{}

static void kd35t133_remove(struct mipi_dsi_device *dsi)
{}

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

static struct mipi_dsi_driver kd35t133_driver =;
module_mipi_dsi_driver();

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