linux/drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_i2c.c

// SPDX-License-Identifier: GPL-2.0-or-later
/* Hisilicon Hibmc SoC drm driver
 *
 * Based on the bochs drm driver.
 *
 * Copyright (c) 2016 Huawei Limited.
 *
 * Author:
 *      Tian Tao <[email protected]>
 */

#include <linux/delay.h>
#include <linux/pci.h>

#include <drm/drm_atomic_helper.h>
#include <drm/drm_probe_helper.h>

#include "hibmc_drm_drv.h"

#define GPIO_DATA
#define GPIO_DATA_DIRECTION

#define I2C_SCL_MASK
#define I2C_SDA_MASK

static void hibmc_set_i2c_signal(void *data, u32 mask, int value)
{}

static int hibmc_get_i2c_signal(void *data, u32 mask)
{}

static void hibmc_ddc_setsda(void *data, int state)
{}

static void hibmc_ddc_setscl(void *data, int state)
{}

static int hibmc_ddc_getsda(void *data)
{}

static int hibmc_ddc_getscl(void *data)
{}

int hibmc_ddc_create(struct drm_device *drm_dev,
		     struct hibmc_connector *connector)
{}