linux/drivers/gpu/drm/sprd/megacores_pll.c

// SPDX-License-Identifier: GPL-2.0
/*
 * Copyright (C) 2020 Unisoc Inc.
 */

#include <asm/div64.h>
#include <linux/delay.h>
#include <linux/init.h>
#include <linux/kernel.h>
#include <linux/regmap.h>
#include <linux/string.h>

#include "sprd_dsi.h"

#define L
#define H
#define CLK
#define DATA
#define INFINITY
#define MIN_OUTPUT_FREQ

#define AVERAGE(a, b)

/* sharkle */
#define VCO_BAND_LOW
#define VCO_BAND_MID
#define VCO_BAND_HIGH
#define PHY_REF_CLK

static int dphy_calc_pll_param(struct dphy_pll *pll)
{}

static void dphy_set_pll_reg(struct dphy_pll *pll, struct regmap *regmap)
{}

int dphy_pll_config(struct dsi_context *ctx)
{}

static void dphy_set_timing_reg(struct regmap *regmap, int type, u8 val[])
{}

void dphy_timing_config(struct dsi_context *ctx)
{}