linux/drivers/gpu/drm/bridge/chrontel-ch7033.c

// SPDX-License-Identifier: GPL-2.0-only
/*
 * Chrontel CH7033 Video Encoder Driver
 *
 * Copyright (C) 2019,2020 Lubomir Rintel
 */

#include <linux/gpio/consumer.h>
#include <linux/i2c.h>
#include <linux/module.h>
#include <linux/regmap.h>

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

/* Page 0, Register 0x07 */
enum {};

/* Page 0, Register 0x08 */
enum {};

/* Page 0, Register 0x09 */
enum {};

/* Page 0, Register 0x0a */
enum {};

/* Page 0, Register 0x18 */
enum {};

enum {};

/* Page 0, Register 0x19 */
enum {};

/* Page 0, Register 0x2e */
enum {};

/* Page 0, Register 0x2b */
enum {};

/* Page 0, Register 0x54 */
enum {};

/* Page 0, Register 0x57 */
enum {};

/* Page 0, Register 0x7e */
enum {};

/* Page 1, Register 0x07 */
enum {};

/* Page 1, Register 0x08 */
enum {};

/* Page 1, Register 0x0c */
enum {};

/* Page 1, Register 0x6b */
enum {};

/* Page 1, Register 0x6c */
enum {};

/* Page 3, Register 0x28 */
enum {};

/* Page 3, Register 0x2a */
enum {};

/* Page 4, Register 0x52 */
enum {};

struct ch7033_priv {};

#define conn_to_ch7033_priv(x)
#define bridge_to_ch7033_priv(x)


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

static const struct drm_connector_funcs ch7033_connector_funcs =;

static int ch7033_connector_get_modes(struct drm_connector *connector)
{}

static struct drm_encoder *ch7033_connector_best_encoder(
			struct drm_connector *connector)
{}

static const struct drm_connector_helper_funcs ch7033_connector_helper_funcs =;

static void ch7033_hpd_event(void *arg, enum drm_connector_status status)
{}

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

static void ch7033_bridge_detach(struct drm_bridge *bridge)
{}

static enum drm_mode_status ch7033_bridge_mode_valid(struct drm_bridge *bridge,
				     const struct drm_display_info *info,
				     const struct drm_display_mode *mode)
{}

static void ch7033_bridge_disable(struct drm_bridge *bridge)
{}

static void ch7033_bridge_enable(struct drm_bridge *bridge)
{}

static void ch7033_bridge_mode_set(struct drm_bridge *bridge,
				   const struct drm_display_mode *mode,
				   const struct drm_display_mode *adjusted_mode)
{}

static const struct drm_bridge_funcs ch7033_bridge_funcs =;

static const struct regmap_config ch7033_regmap_config =;

static int ch7033_probe(struct i2c_client *client)
{}

static void ch7033_remove(struct i2c_client *client)
{}

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

static const struct i2c_device_id ch7033_ids[] =;
MODULE_DEVICE_TABLE(i2c, ch7033_ids);

static struct i2c_driver ch7033_driver =;

module_i2c_driver();

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