linux/drivers/gpu/drm/panel/panel-himax-hx83112a.c

// SPDX-License-Identifier: GPL-2.0-only
/*
 * Generated with linux-mdss-dsi-panel-driver-generator from vendor device tree.
 * Copyright (c) 2024 Luca Weiss <[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 <drm/drm_mipi_dsi.h>
#include <drm/drm_modes.h>
#include <drm/drm_panel.h>
#include <drm/drm_probe_helper.h>

/* Manufacturer specific DSI commands */
#define HX83112A_SETPOWER1
#define HX83112A_SETDISP
#define HX83112A_SETDRV
#define HX83112A_SETEXTC
#define HX83112A_SETBANK
#define HX83112A_SETPTBA
#define HX83112A_SETDGCLUT
#define HX83112A_SETTCON
#define HX83112A_SETCLOCK
#define HX83112A_SETPANEL
#define HX83112A_SETPOWER2
#define HX83112A_SETGIP0
#define HX83112A_SETGIP1
#define HX83112A_SETGIP2
#define HX83112A_SETGIP3
#define HX83112A_SETTP1
#define HX83112A_UNKNOWN1

struct hx83112a_panel {};

static inline struct hx83112a_panel *to_hx83112a_panel(struct drm_panel *panel)
{}

static void hx83112a_reset(struct hx83112a_panel *ctx)
{}

static int hx83112a_on(struct hx83112a_panel *ctx)
{}

static int hx83112a_disable(struct drm_panel *panel)
{}

static int hx83112a_prepare(struct drm_panel *panel)
{}

static int hx83112a_unprepare(struct drm_panel *panel)
{}

static const struct drm_display_mode hx83112a_mode =;

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

static const struct drm_panel_funcs hx83112a_panel_funcs =;

static int hx83112a_probe(struct mipi_dsi_device *dsi)
{}

static void hx83112a_remove(struct mipi_dsi_device *dsi)
{}

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

static struct mipi_dsi_driver hx83112a_driver =;
module_mipi_dsi_driver();

MODULE_DESCRIPTION();
MODULE_LICENSE();