linux/drivers/gpu/drm/bridge/simple-bridge.c

// SPDX-License-Identifier: GPL-2.0-or-later
/*
 * Copyright (C) 2015-2016 Free Electrons
 * Copyright (C) 2015-2016 NextThing Co
 *
 * Maxime Ripard <[email protected]>
 */

#include <linux/gpio/consumer.h>
#include <linux/module.h>
#include <linux/of.h>
#include <linux/of_graph.h>
#include <linux/platform_device.h>
#include <linux/regulator/consumer.h>

#include <drm/drm_atomic_helper.h>
#include <drm/drm_bridge.h>
#include <drm/drm_crtc.h>
#include <drm/drm_edid.h>
#include <drm/drm_print.h>
#include <drm/drm_probe_helper.h>

struct simple_bridge_info {};

struct simple_bridge {};

static inline struct simple_bridge *
drm_bridge_to_simple_bridge(struct drm_bridge *bridge)
{}

static inline struct simple_bridge *
drm_connector_to_simple_bridge(struct drm_connector *connector)
{}

static int simple_bridge_get_modes(struct drm_connector *connector)
{}

static const struct drm_connector_helper_funcs simple_bridge_con_helper_funcs =;

static enum drm_connector_status
simple_bridge_connector_detect(struct drm_connector *connector, bool force)
{}

static const struct drm_connector_funcs simple_bridge_con_funcs =;

static int simple_bridge_attach(struct drm_bridge *bridge,
				enum drm_bridge_attach_flags flags)
{}

static void simple_bridge_enable(struct drm_bridge *bridge)
{}

static void simple_bridge_disable(struct drm_bridge *bridge)
{}

static const struct drm_bridge_funcs simple_bridge_bridge_funcs =;

static int simple_bridge_probe(struct platform_device *pdev)
{}

/*
 * We assume the ADV7123 DAC is the "default" for historical reasons
 * Information taken from the ADV7123 datasheet, revision D.
 * NOTE: the ADV7123EP seems to have other timings and need a new timings
 * set if used.
 */
static const struct drm_bridge_timings default_bridge_timings =;

/*
 * Information taken from the THS8134, THS8134A, THS8134B datasheet named
 * "SLVS205D", dated May 1990, revised March 2000.
 */
static const struct drm_bridge_timings ti_ths8134_bridge_timings =;

/*
 * Information taken from the THS8135 datasheet named "SLAS343B", dated
 * May 2001, revised April 2013.
 */
static const struct drm_bridge_timings ti_ths8135_bridge_timings =;

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

static struct platform_driver simple_bridge_driver =;
module_platform_driver();

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