linux/drivers/phy/mediatek/phy-mtk-hdmi-mt8173.c

// SPDX-License-Identifier: GPL-2.0-only
/*
 * Copyright (c) 2014 MediaTek Inc.
 * Author: Jie Qiu <[email protected]>
 */

#include "phy-mtk-hdmi.h"
#include "phy-mtk-io.h"

#define HDMI_CON0
#define RG_HDMITX_PLL_EN
#define RG_HDMITX_PLL_FBKDIV
#define RG_HDMITX_PLL_FBKSEL
#define RG_HDMITX_PLL_PREDIV
#define RG_HDMITX_PLL_POSDIV
#define RG_HDMITX_PLL_RST_DLY
#define RG_HDMITX_PLL_IR
#define RG_HDMITX_PLL_IC
#define RG_HDMITX_PLL_BP
#define RG_HDMITX_PLL_BR
#define RG_HDMITX_PLL_BC
#define HDMI_CON1
#define RG_HDMITX_PLL_DIVEN
#define RG_HDMITX_PLL_AUTOK_EN
#define RG_HDMITX_PLL_AUTOK_KF
#define RG_HDMITX_PLL_AUTOK_KS
#define RG_HDMITX_PLL_AUTOK_LOAD
#define RG_HDMITX_PLL_BAND
#define RG_HDMITX_PLL_REF_SEL
#define RG_HDMITX_PLL_BIAS_EN
#define RG_HDMITX_PLL_BIAS_LPF_EN
#define RG_HDMITX_PLL_TXDIV_EN
#define RG_HDMITX_PLL_TXDIV
#define RG_HDMITX_PLL_LVROD_EN
#define RG_HDMITX_PLL_MONVC_EN
#define RG_HDMITX_PLL_MONCK_EN
#define RG_HDMITX_PLL_MONREF_EN
#define RG_HDMITX_PLL_TST_EN
#define RG_HDMITX_PLL_TST_CK_EN
#define RG_HDMITX_PLL_TST_SEL
#define HDMI_CON2
#define RGS_HDMITX_PLL_AUTOK_BAND
#define RGS_HDMITX_PLL_AUTOK_FAIL
#define RG_HDMITX_EN_TX_CKLDO
#define HDMI_CON3
#define RG_HDMITX_SER_EN
#define RG_HDMITX_PRD_EN
#define RG_HDMITX_PRD_IMP_EN
#define RG_HDMITX_DRV_EN
#define RG_HDMITX_DRV_IMP_EN
#define RG_HDMITX_MHLCK_FORCE
#define RG_HDMITX_MHLCK_PPIX_EN
#define RG_HDMITX_MHLCK_EN
#define RG_HDMITX_SER_DIN_SEL
#define RG_HDMITX_SER_5T1_BIST_EN
#define RG_HDMITX_SER_BIST_TOG
#define RG_HDMITX_SER_DIN_TOG
#define RG_HDMITX_SER_CLKDIG_INV
#define HDMI_CON4
#define RG_HDMITX_PRD_IBIAS_CLK
#define RG_HDMITX_PRD_IBIAS_D2
#define RG_HDMITX_PRD_IBIAS_D1
#define RG_HDMITX_PRD_IBIAS_D0
#define HDMI_CON5
#define RG_HDMITX_DRV_IBIAS_CLK
#define RG_HDMITX_DRV_IBIAS_D2
#define RG_HDMITX_DRV_IBIAS_D1
#define RG_HDMITX_DRV_IBIAS_D0
#define HDMI_CON6
#define RG_HDMITX_DRV_IMP_CLK
#define RG_HDMITX_DRV_IMP_D2
#define RG_HDMITX_DRV_IMP_D1
#define RG_HDMITX_DRV_IMP_D0
#define HDMI_CON7
#define RG_HDMITX_MHLCK_DRV_IBIAS
#define RG_HDMITX_SER_DIN
#define RG_HDMITX_CHLDC_TST
#define RG_HDMITX_CHLCK_TST
#define RG_HDMITX_RESERVE
#define HDMI_CON8
#define RGS_HDMITX_2T1_LEV
#define RGS_HDMITX_2T1_EDG
#define RGS_HDMITX_5T1_LEV
#define RGS_HDMITX_5T1_EDG
#define RGS_HDMITX_PLUG_TST

static int mtk_hdmi_pll_prepare(struct clk_hw *hw)
{}

static void mtk_hdmi_pll_unprepare(struct clk_hw *hw)
{}

static long mtk_hdmi_pll_round_rate(struct clk_hw *hw, unsigned long rate,
				    unsigned long *parent_rate)
{}

static int mtk_hdmi_pll_set_rate(struct clk_hw *hw, unsigned long rate,
				 unsigned long parent_rate)
{}

static unsigned long mtk_hdmi_pll_recalc_rate(struct clk_hw *hw,
					      unsigned long parent_rate)
{}

static const struct clk_ops mtk_hdmi_phy_pll_ops =;

static void mtk_hdmi_phy_enable_tmds(struct mtk_hdmi_phy *hdmi_phy)
{}

static void mtk_hdmi_phy_disable_tmds(struct mtk_hdmi_phy *hdmi_phy)
{}

struct mtk_hdmi_phy_conf mtk_hdmi_phy_8173_conf =;

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