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

// SPDX-License-Identifier: GPL-2.0
/*
 * Copyright (c) 2022 MediaTek Inc.
 * Copyright (c) 2022 BayLibre, SAS
 */
#include <linux/delay.h>
#include <linux/io.h>
#include <linux/mfd/syscon.h>
#include <linux/module.h>
#include <linux/phy/phy.h>
#include <linux/platform_device.h>
#include <linux/types.h>
#include <linux/units.h>
#include <linux/nvmem-consumer.h>

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

static void mtk_hdmi_ana_fifo_en(struct mtk_hdmi_phy *hdmi_phy)
{}

static void
mtk_phy_tmds_clk_ratio(struct mtk_hdmi_phy *hdmi_phy, bool enable)
{}

static void mtk_hdmi_pll_sel_src(struct clk_hw *hw)
{}

static void mtk_hdmi_pll_perf(struct clk_hw *hw)
{}

static int mtk_hdmi_pll_set_hw(struct clk_hw *hw, u8 prediv,
			       u8 fbkdiv_high,
			       u32 fbkdiv_low,
			       u8 fbkdiv_hs3, u8 posdiv1,
			       u8 posdiv2, u8 txprediv,
			       u8 txposdiv,
			       u8 digital_div)
{}

static int mtk_hdmi_pll_calc(struct mtk_hdmi_phy *hdmi_phy, struct clk_hw *hw,
			     unsigned long rate, unsigned long parent_rate)
{}

static int mtk_hdmi_pll_drv_setting(struct clk_hw *hw)
{}

static int mtk_hdmi_pll_prepare(struct clk_hw *hw)
{}

static void mtk_hdmi_pll_unprepare(struct clk_hw *hw)
{}

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

static long mtk_hdmi_pll_round_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_pll_ops =;

static void vtx_signal_en(struct mtk_hdmi_phy *hdmi_phy, bool on)
{}

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)
{}

static int mtk_hdmi_phy_configure(struct phy *phy, union phy_configure_opts *opts)
{}

struct mtk_hdmi_phy_conf mtk_hdmi_phy_8195_conf =;

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