#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 DCS_ALLOW_HBM_RANGE …
#define DCS_DISALLOW_HBM_RANGE …
enum boe_bf060y8m_aj0_supplies { … };
struct boe_bf060y8m_aj0 { … };
static inline
struct boe_bf060y8m_aj0 *to_boe_bf060y8m_aj0(struct drm_panel *panel)
{ … }
static void boe_bf060y8m_aj0_reset(struct boe_bf060y8m_aj0 *boe)
{ … }
static int boe_bf060y8m_aj0_on(struct boe_bf060y8m_aj0 *boe)
{ … }
static int boe_bf060y8m_aj0_off(struct boe_bf060y8m_aj0 *boe)
{ … }
static int boe_bf060y8m_aj0_prepare(struct drm_panel *panel)
{ … }
static int boe_bf060y8m_aj0_unprepare(struct drm_panel *panel)
{ … }
static const struct drm_display_mode boe_bf060y8m_aj0_mode = …;
static int boe_bf060y8m_aj0_get_modes(struct drm_panel *panel,
struct drm_connector *connector)
{ … }
static const struct drm_panel_funcs boe_bf060y8m_aj0_panel_funcs = …;
static int boe_bf060y8m_aj0_bl_update_status(struct backlight_device *bl)
{ … }
static int boe_bf060y8m_aj0_bl_get_brightness(struct backlight_device *bl)
{ … }
static const struct backlight_ops boe_bf060y8m_aj0_bl_ops = …;
static struct backlight_device *
boe_bf060y8m_aj0_create_backlight(struct mipi_dsi_device *dsi)
{ … }
static int boe_bf060y8m_aj0_init_vregs(struct boe_bf060y8m_aj0 *boe,
struct device *dev)
{ … }
static int boe_bf060y8m_aj0_probe(struct mipi_dsi_device *dsi)
{ … }
static void boe_bf060y8m_aj0_remove(struct mipi_dsi_device *dsi)
{ … }
static const struct of_device_id boe_bf060y8m_aj0_of_match[] = …;
MODULE_DEVICE_TABLE(of, boe_bf060y8m_aj0_of_match);
static struct mipi_dsi_driver boe_bf060y8m_aj0_driver = …;
module_mipi_dsi_driver(…) …;
MODULE_AUTHOR(…) …;
MODULE_DESCRIPTION(…) …;
MODULE_LICENSE(…) …;