linux/drivers/gpu/drm/sun4i/sun8i_hdmi_phy_clk.c

// SPDX-License-Identifier: GPL-2.0+
/*
 * Copyright (C) 2018 Jernej Skrabec <[email protected]>
 */

#include <linux/clk-provider.h>

#include "sun8i_dw_hdmi.h"

struct sun8i_phy_clk {};

static inline struct sun8i_phy_clk *hw_to_phy_clk(struct clk_hw *hw)
{}

static int sun8i_phy_clk_determine_rate(struct clk_hw *hw,
					struct clk_rate_request *req)
{}

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

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

static u8 sun8i_phy_clk_get_parent(struct clk_hw *hw)
{}

static int sun8i_phy_clk_set_parent(struct clk_hw *hw, u8 index)
{}

static const struct clk_ops sun8i_phy_clk_ops =;

int sun8i_phy_clk_create(struct sun8i_hdmi_phy *phy, struct device *dev,
			 bool second_parent)
{}