linux/drivers/clk/qcom/gpucc-msm8998.c

// SPDX-License-Identifier: GPL-2.0
/*
 * Copyright (c) 2019, Jeffrey Hugo
 */

#include <linux/kernel.h>
#include <linux/bitops.h>
#include <linux/err.h>
#include <linux/platform_device.h>
#include <linux/module.h>
#include <linux/of.h>
#include <linux/clk-provider.h>
#include <linux/regmap.h>
#include <linux/reset-controller.h>

#include <dt-bindings/clock/qcom,gpucc-msm8998.h>

#include "common.h"
#include "clk-regmap.h"
#include "clk-regmap-divider.h"
#include "clk-alpha-pll.h"
#include "clk-rcg.h"
#include "clk-branch.h"
#include "reset.h"
#include "gdsc.h"

enum {};

/* Instead of going directly to the block, XO is routed through this branch */
static struct clk_branch gpucc_cxo_clk =;

static const struct pll_vco fabia_vco[] =;

static const struct clk_div_table post_div_table_fabia_even[] =;

static struct clk_alpha_pll gpupll0 =;

static struct clk_alpha_pll_postdiv gpupll0_out_even =;

static const struct parent_map gpu_xo_gpll0_map[] =;

static const struct clk_parent_data gpu_xo_gpll0[] =;

static const struct parent_map gpu_xo_gpupll0_map[] =;

static const struct clk_hw *gpu_xo_gpupll0[] =;

static const struct freq_tbl ftbl_rbcpr_clk_src[] =;

static struct clk_rcg2 rbcpr_clk_src =;

static const struct freq_tbl ftbl_gfx3d_clk_src[] =;

static struct clk_rcg2 gfx3d_clk_src =;

static const struct freq_tbl ftbl_rbbmtimer_clk_src[] =;

static struct clk_rcg2 rbbmtimer_clk_src =;

static const struct freq_tbl ftbl_gfx3d_isense_clk_src[] =;

static struct clk_rcg2 gfx3d_isense_clk_src =;

static struct clk_branch rbcpr_clk =;

static struct clk_branch gfx3d_clk =;

static struct clk_branch rbbmtimer_clk =;

static struct clk_branch gfx3d_isense_clk =;

static struct gdsc gpu_cx_gdsc =;

static struct gdsc gpu_gx_gdsc =;

static struct clk_regmap *gpucc_msm8998_clocks[] =;

static struct gdsc *gpucc_msm8998_gdscs[] =;

static const struct qcom_reset_map gpucc_msm8998_resets[] =;

static const struct regmap_config gpucc_msm8998_regmap_config =;

static const struct qcom_cc_desc gpucc_msm8998_desc =;

static const struct of_device_id gpucc_msm8998_match_table[] =;
MODULE_DEVICE_TABLE(of, gpucc_msm8998_match_table);

static int gpucc_msm8998_probe(struct platform_device *pdev)
{}

static struct platform_driver gpucc_msm8998_driver =;
module_platform_driver();

MODULE_DESCRIPTION();
MODULE_LICENSE();