linux/drivers/gpu/drm/panel/panel-startek-kd070fhfid015.c

// SPDX-License-Identifier: GPL-2.0
/*
 * Copyright (C) 2016 InforceComputing
 * Copyright (C) 2016 Linaro Ltd
 * Copyright (C) 2023 BayLibre, SAS
 *
 * Authors:
 * - Vinay Simha BN <[email protected]>
 * - Sumit Semwal <[email protected]>
 * - Guillaume La Roque <[email protected]>
 *
 */

#include <linux/backlight.h>
#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_mipi_dsi.h>
#include <drm/drm_modes.h>
#include <drm/drm_panel.h>

#define DSI_REG_MCAP
#define DSI_REG_IS
#define DSI_REG_IIS
#define DSI_REG_CTRL

enum {};

struct stk_panel {};

static inline struct stk_panel *to_stk_panel(struct drm_panel *panel)
{}

static int stk_panel_init(struct stk_panel *stk)
{}

static int stk_panel_on(struct stk_panel *stk)
{}

static void stk_panel_off(struct stk_panel *stk)
{}

static int stk_panel_unprepare(struct drm_panel *panel)
{}

static int stk_panel_prepare(struct drm_panel *panel)
{}

static const struct drm_display_mode default_mode =;

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

static int dsi_dcs_bl_get_brightness(struct backlight_device *bl)
{}

static int dsi_dcs_bl_update_status(struct backlight_device *bl)
{}

static const struct backlight_ops dsi_bl_ops =;

static struct backlight_device *
drm_panel_create_dsi_backlight(struct mipi_dsi_device *dsi)
{}

static const struct drm_panel_funcs stk_panel_funcs =;

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

static int stk_panel_add(struct stk_panel *stk)
{}

static int stk_panel_probe(struct mipi_dsi_device *dsi)
{}

static void stk_panel_remove(struct mipi_dsi_device *dsi)
{}

static struct mipi_dsi_driver stk_panel_driver =;
module_mipi_dsi_driver();

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