#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>
enum { … };
struct sony_td4353_jdi { … };
static inline struct sony_td4353_jdi *to_sony_td4353_jdi(struct drm_panel *panel)
{ … }
static int sony_td4353_jdi_on(struct sony_td4353_jdi *ctx)
{ … }
static int sony_td4353_jdi_off(struct sony_td4353_jdi *ctx)
{ … }
static void sony_td4353_assert_reset_gpios(struct sony_td4353_jdi *ctx, int mode)
{ … }
static int sony_td4353_jdi_prepare(struct drm_panel *panel)
{ … }
static int sony_td4353_jdi_unprepare(struct drm_panel *panel)
{ … }
static const struct drm_display_mode sony_td4353_jdi_mode_tama_60hz = …;
static int sony_td4353_jdi_get_modes(struct drm_panel *panel,
struct drm_connector *connector)
{ … }
static const struct drm_panel_funcs sony_td4353_jdi_panel_funcs = …;
static int sony_td4353_jdi_probe(struct mipi_dsi_device *dsi)
{ … }
static void sony_td4353_jdi_remove(struct mipi_dsi_device *dsi)
{ … }
static const struct of_device_id sony_td4353_jdi_of_match[] = …;
MODULE_DEVICE_TABLE(of, sony_td4353_jdi_of_match);
static struct mipi_dsi_driver sony_td4353_jdi_driver = …;
module_mipi_dsi_driver(…) …;
MODULE_AUTHOR(…) …;
MODULE_DESCRIPTION(…) …;
MODULE_LICENSE(…) …;