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

// SPDX-License-Identifier: GPL-2.0-only
/*
 * Copyright (c) 2023-2024, Qualcomm Innovation Center, Inc. All rights reserved.
 */

#include <linux/clk-provider.h>
#include <linux/mod_devicetable.h>
#include <linux/module.h>
#include <linux/platform_device.h>
#include <linux/pm_runtime.h>
#include <linux/regmap.h>

#include <dt-bindings/clock/qcom,sm8650-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 "gdsc.h"
#include "reset.h"

enum {};

enum {};

static const struct pll_vco lucid_ole_vco[] =;

static struct alpha_pll_config video_cc_pll0_config =;

static struct clk_alpha_pll video_cc_pll0 =;

static struct alpha_pll_config video_cc_pll1_config =;

static struct clk_alpha_pll video_cc_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_mvs0_clk_src[] =;

static const struct freq_tbl ftbl_video_cc_mvs0_clk_src_sm8650[] =;

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_sm8650[] =;

static struct clk_rcg2 video_cc_mvs1_clk_src =;

static const struct freq_tbl ftbl_video_cc_xo_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_mvs0_shift_clk =;

static struct clk_branch video_cc_mvs0c_clk =;

static struct clk_branch video_cc_mvs0c_shift_clk =;

static struct clk_branch video_cc_mvs1_clk =;

static struct clk_branch video_cc_mvs1_shift_clk =;

static struct clk_branch video_cc_mvs1c_clk =;

static struct clk_branch video_cc_mvs1c_shift_clk =;

static struct gdsc video_cc_mvs0c_gdsc =;

static struct gdsc video_cc_mvs0_gdsc =;

static struct gdsc video_cc_mvs1c_gdsc =;

static struct gdsc video_cc_mvs1_gdsc =;

static struct clk_regmap *video_cc_sm8550_clocks[] =;

static struct gdsc *video_cc_sm8550_gdscs[] =;

static const struct qcom_reset_map video_cc_sm8550_resets[] =;

static const struct regmap_config video_cc_sm8550_regmap_config =;

static struct qcom_cc_desc video_cc_sm8550_desc =;

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

static int video_cc_sm8550_probe(struct platform_device *pdev)
{}

static struct platform_driver video_cc_sm8550_driver =;

module_platform_driver();

MODULE_DESCRIPTION();
MODULE_LICENSE();