linux/drivers/gpu/drm/bridge/cros-ec-anx7688.c

// SPDX-License-Identifier: GPL-2.0-only
/*
 * CrOS EC ANX7688 HDMI->DP bridge driver
 *
 * Copyright 2020 Google LLC
 */

#include <drm/drm_bridge.h>
#include <drm/drm_print.h>
#include <linux/i2c.h>
#include <linux/module.h>
#include <linux/regmap.h>
#include <linux/types.h>

/* Register addresses */
#define ANX7688_VENDOR_ID_REG
#define ANX7688_DEVICE_ID_REG

#define ANX7688_FW_VERSION_REG

#define ANX7688_DP_BANDWIDTH_REG
#define ANX7688_DP_LANE_COUNT_REG

#define ANX7688_VENDOR_ID
#define ANX7688_DEVICE_ID

/* First supported firmware version (0.85) */
#define ANX7688_MINIMUM_FW_VERSION

static const struct regmap_config cros_ec_anx7688_regmap_config =;

struct cros_ec_anx7688 {};

static inline struct cros_ec_anx7688 *
bridge_to_cros_ec_anx7688(struct drm_bridge *bridge)
{}

static bool cros_ec_anx7688_bridge_mode_fixup(struct drm_bridge *bridge,
					      const struct drm_display_mode *mode,
					      struct drm_display_mode *adjusted_mode)
{}

static const struct drm_bridge_funcs cros_ec_anx7688_bridge_funcs =;

static int cros_ec_anx7688_bridge_probe(struct i2c_client *client)
{}

static void cros_ec_anx7688_bridge_remove(struct i2c_client *client)
{}

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

static struct i2c_driver cros_ec_anx7688_bridge_driver =;

module_i2c_driver();

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