linux/drivers/gpu/drm/panel/panel-truly-nt35597.c

// SPDX-License-Identifier: GPL-2.0
/*
 * Copyright (c) 2018, The Linux Foundation. All rights reserved.
 */

#include <linux/backlight.h>
#include <linux/delay.h>
#include <linux/gpio/consumer.h>
#include <linux/module.h>
#include <linux/of.h>
#include <linux/of_graph.h>
#include <linux/pinctrl/consumer.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>

static const char * const regulator_names[] =;

static unsigned long const regulator_enable_loads[] =;

static unsigned long const regulator_disable_loads[] =;

struct cmd_set {};

struct nt35597_config {};

struct truly_nt35597 {};

static inline struct truly_nt35597 *panel_to_ctx(struct drm_panel *panel)
{}

static const struct cmd_set qcom_2k_panel_magic_cmds[] =;

static int truly_dcs_write(struct drm_panel *panel, u32 command)
{}

static int truly_dcs_write_buf(struct drm_panel *panel,
	u32 size, const u8 *buf)
{}

static int truly_35597_power_on(struct truly_nt35597 *ctx)
{}

static int truly_nt35597_power_off(struct truly_nt35597 *ctx)
{}

static int truly_nt35597_disable(struct drm_panel *panel)
{}

static int truly_nt35597_unprepare(struct drm_panel *panel)
{}

static int truly_nt35597_prepare(struct drm_panel *panel)
{}

static int truly_nt35597_enable(struct drm_panel *panel)
{}

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

static const struct drm_panel_funcs truly_nt35597_drm_funcs =;

static int truly_nt35597_panel_add(struct truly_nt35597 *ctx)
{}

static const struct drm_display_mode qcom_sdm845_mtp_2k_mode =;

static const struct nt35597_config nt35597_dir =;

static int truly_nt35597_probe(struct mipi_dsi_device *dsi)
{}

static void truly_nt35597_remove(struct mipi_dsi_device *dsi)
{}

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

static struct mipi_dsi_driver truly_nt35597_driver =;
module_mipi_dsi_driver();

MODULE_DESCRIPTION();
MODULE_LICENSE();