linux/drivers/clk/qcom/videocc-sm8350.c

// SPDX-License-Identifier: GPL-2.0-only
/*
 * Copyright (c) 2019-2020, The Linux Foundation. All rights reserved.
 * Copyright (c) 2023, Linaro Limited
 */

#include <linux/clk-provider.h>
#include <linux/module.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,sm8350-videocc.h>
#include <dt-bindings/reset/qcom,sm8350-videocc.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 "reset.h"
#include "gdsc.h"

enum {};

enum {};

static const struct pll_vco lucid_5lpe_vco[] =;

static const struct pll_vco lucid_5lpe_vco_8280xp[] =;

static const struct alpha_pll_config video_pll0_config =;

static struct clk_alpha_pll video_pll0 =;

static const struct alpha_pll_config video_pll1_config =;

static struct clk_alpha_pll video_pll1 =;

static const struct parent_map video_cc_parent_map_0[] =;

static const struct clk_parent_data video_cc_parent_data_0[] =;

static const struct parent_map video_cc_parent_map_1[] =;

static const struct clk_parent_data video_cc_parent_data_1[] =;

static const struct parent_map video_cc_parent_map_2[] =;

static const struct clk_parent_data video_cc_parent_data_2[] =;

static const struct freq_tbl ftbl_video_cc_ahb_clk_src[] =;

static struct clk_rcg2 video_cc_ahb_clk_src =;

static const struct freq_tbl ftbl_video_cc_mvs0_clk_src[] =;

static const struct freq_tbl ftbl_video_cc_mvs0_clk_src_8280xp[] =;

static struct clk_rcg2 video_cc_mvs0_clk_src =;

static const struct freq_tbl ftbl_video_cc_mvs1_clk_src[] =;

static const struct freq_tbl ftbl_video_cc_mvs1_clk_src_8280xp[] =;

static struct clk_rcg2 video_cc_mvs1_clk_src =;

static const struct freq_tbl ftbl_video_cc_sleep_clk_src[] =;

static struct clk_rcg2 video_cc_sleep_clk_src =;

static struct clk_rcg2 video_cc_xo_clk_src =;

static struct clk_regmap_div video_cc_mvs0_div_clk_src =;

static struct clk_regmap_div video_cc_mvs0c_div2_div_clk_src =;

static struct clk_regmap_div video_cc_mvs1_div_clk_src =;

static struct clk_regmap_div video_cc_mvs1c_div2_div_clk_src =;

static struct clk_branch video_cc_mvs0_clk =;

static struct clk_branch video_cc_mvs0c_clk =;

static struct clk_branch video_cc_mvs1_clk =;

static struct clk_branch video_cc_mvs1_div2_clk =;

static struct clk_branch video_cc_mvs1c_clk =;

static struct clk_branch video_cc_sleep_clk =;

static struct gdsc mvs0c_gdsc =;

static struct gdsc mvs1c_gdsc =;

static struct gdsc mvs0_gdsc =;

static struct gdsc mvs1_gdsc =;

static struct clk_regmap *video_cc_sm8350_clocks[] =;

static const struct qcom_reset_map video_cc_sm8350_resets[] =;

static struct gdsc *video_cc_sm8350_gdscs[] =;

static const struct regmap_config video_cc_sm8350_regmap_config =;

static struct qcom_cc_desc video_cc_sm8350_desc =;

static int video_cc_sm8350_probe(struct platform_device *pdev)
{}

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

static struct platform_driver video_cc_sm8350_driver =;
module_platform_driver();

MODULE_DESCRIPTION();
MODULE_LICENSE();