linux/drivers/clk/qcom/lpasscorecc-sc7280.c

// SPDX-License-Identifier: GPL-2.0-only
/*
 * Copyright (c) 2021, The Linux Foundation. All rights reserved.
 */

#include <linux/clk-provider.h>
#include <linux/err.h>
#include <linux/module.h>
#include <linux/of.h>
#include <linux/platform_device.h>
#include <linux/pm_clock.h>
#include <linux/pm_runtime.h>
#include <linux/regmap.h>

#include <dt-bindings/clock/qcom,lpasscorecc-sc7280.h>

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

enum {};

static const struct pll_vco lucid_vco[] =;

/* 614.4MHz configuration */
static const struct alpha_pll_config lpass_core_cc_dig_pll_config =;

static struct clk_alpha_pll lpass_core_cc_dig_pll =;

static const struct clk_div_table post_div_table_lpass_core_cc_dig_pll_out_odd[] =;

static struct clk_alpha_pll_postdiv lpass_core_cc_dig_pll_out_odd =;

static struct clk_regmap_div lpass_core_cc_dig_pll_out_main_div_clk_src =;


static const struct parent_map lpass_core_cc_parent_map_0[] =;

static const struct clk_parent_data lpass_core_cc_parent_data_0[] =;

static const struct parent_map lpass_core_cc_parent_map_2[] =;

static const struct clk_parent_data lpass_core_cc_parent_data_ao_2[] =;

static const struct freq_tbl ftbl_lpass_core_cc_core_clk_src[] =;

static struct clk_rcg2 lpass_core_cc_core_clk_src =;

static const struct freq_tbl ftbl_lpass_core_cc_ext_if0_clk_src[] =;

static struct clk_rcg2 lpass_core_cc_ext_if0_clk_src =;

static struct clk_rcg2 lpass_core_cc_ext_if1_clk_src =;

static struct clk_rcg2 lpass_core_cc_ext_mclk0_clk_src =;

static struct clk_branch lpass_core_cc_core_clk =;

static struct clk_branch lpass_core_cc_ext_if0_ibit_clk =;

static struct clk_branch lpass_core_cc_ext_if1_ibit_clk =;

static struct clk_branch lpass_core_cc_lpm_core_clk =;

static struct clk_branch lpass_core_cc_lpm_mem0_core_clk =;

static struct clk_branch lpass_core_cc_ext_mclk0_clk =;

static struct clk_branch lpass_core_cc_sysnoc_mport_core_clk =;

static struct gdsc lpass_core_cc_lpass_core_hm_gdsc =;

static struct clk_regmap *lpass_core_cc_sc7280_clocks[] =;

static struct regmap_config lpass_core_cc_sc7280_regmap_config =;

static const struct qcom_cc_desc lpass_core_cc_sc7280_desc =;

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

static struct gdsc *lpass_core_hm_sc7280_gdscs[] =;

static const struct qcom_cc_desc lpass_core_hm_sc7280_desc =;

static int lpass_core_cc_sc7280_probe(struct platform_device *pdev)
{}

static struct platform_driver lpass_core_cc_sc7280_driver =;

static int lpass_hm_core_probe(struct platform_device *pdev)
{}

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

static struct platform_driver lpass_hm_sc7280_driver =;

static int __init lpass_core_cc_sc7280_init(void)
{}
subsys_initcall(lpass_core_cc_sc7280_init);

static void __exit lpass_core_cc_sc7280_exit(void)
{}
module_exit(lpass_core_cc_sc7280_exit);

MODULE_DESCRIPTION();
MODULE_LICENSE();