linux/drivers/gpu/drm/sti/sti_hdmi_tx3g4c28phy.c

// SPDX-License-Identifier: GPL-2.0
/*
 * Copyright (C) STMicroelectronics SA 2014
 * Author: Vincent Abriou <[email protected]> for STMicroelectronics.
 */

#include <drm/drm_print.h>

#include "sti_hdmi_tx3g4c28phy.h"

#define HDMI_SRZ_CFG
#define HDMI_SRZ_PLL_CFG
#define HDMI_SRZ_ICNTL
#define HDMI_SRZ_CALCODE_EXT

#define HDMI_SRZ_CFG_EN
#define HDMI_SRZ_CFG_DISABLE_BYPASS_SINK_CURRENT
#define HDMI_SRZ_CFG_EXTERNAL_DATA
#define HDMI_SRZ_CFG_RBIAS_EXT
#define HDMI_SRZ_CFG_EN_SINK_TERM_DETECTION
#define HDMI_SRZ_CFG_EN_BIASRES_DETECTION
#define HDMI_SRZ_CFG_EN_SRC_TERMINATION

#define HDMI_SRZ_CFG_INTERNAL_MASK

#define PLL_CFG_EN
#define PLL_CFG_NDIV_SHIFT
#define PLL_CFG_IDF_SHIFT
#define PLL_CFG_ODF_SHIFT

#define ODF_DIV_1
#define ODF_DIV_2
#define ODF_DIV_4
#define ODF_DIV_8

#define HDMI_TIMEOUT_PLL_LOCK

struct plldividers_s {};

/*
 * Functional specification recommended values
 */
#define NB_PLL_MODE
static struct plldividers_s plldividers[NB_PLL_MODE] =;

#define NB_HDMI_PHY_CONFIG
static struct hdmi_phy_config hdmiphy_config[NB_HDMI_PHY_CONFIG] =;

/**
 * sti_hdmi_tx3g4c28phy_start - Start hdmi phy macro cell tx3g4c28
 *
 * @hdmi: pointer on the hdmi internal structure
 *
 * Return false if an error occur
 */
static bool sti_hdmi_tx3g4c28phy_start(struct sti_hdmi *hdmi)
{}

/**
 * sti_hdmi_tx3g4c28phy_stop - Stop hdmi phy macro cell tx3g4c28
 *
 * @hdmi: pointer on the hdmi internal structure
 */
static void sti_hdmi_tx3g4c28phy_stop(struct sti_hdmi *hdmi)
{}

struct hdmi_phy_ops tx3g4c28phy_ops =;