linux/drivers/gpu/drm/panel/panel-nec-nl8048hl11.c

// SPDX-License-Identifier: GPL-2.0+
/*
 * NEC NL8048HL11 Panel Driver
 *
 * Copyright (C) 2019 Texas Instruments Incorporated
 *
 * Based on the omapdrm-specific panel-nec-nl8048hl11 driver
 *
 * Copyright (C) 2010 Texas Instruments Incorporated
 * Author: Erik Gilling <[email protected]>
 */

#include <linux/delay.h>
#include <linux/gpio/consumer.h>
#include <linux/module.h>
#include <linux/pm.h>
#include <linux/spi/spi.h>

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

struct nl8048_panel {};

#define to_nl8048_device(p)

static int nl8048_write(struct nl8048_panel *lcd, unsigned char addr,
			unsigned char value)
{}

static int nl8048_init(struct nl8048_panel *lcd)
{}

static int nl8048_disable(struct drm_panel *panel)
{}

static int nl8048_enable(struct drm_panel *panel)
{}

static const struct drm_display_mode nl8048_mode =;

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

static const struct drm_panel_funcs nl8048_funcs =;

static int __maybe_unused nl8048_suspend(struct device *dev)
{}

static int __maybe_unused nl8048_resume(struct device *dev)
{}

static SIMPLE_DEV_PM_OPS(nl8048_pm_ops, nl8048_suspend, nl8048_resume);

static int nl8048_probe(struct spi_device *spi)
{}

static void nl8048_remove(struct spi_device *spi)
{}

static const struct of_device_id nl8048_of_match[] =;

MODULE_DEVICE_TABLE(of, nl8048_of_match);

static const struct spi_device_id nl8048_ids[] =;

MODULE_DEVICE_TABLE(spi, nl8048_ids);

static struct spi_driver nl8048_driver =;

module_spi_driver();

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