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

// SPDX-License-Identifier: GPL-2.0-only
/*
 * Copyright (c) 2018, The Linux Foundation. All rights reserved.
 * Copyright (c) 2024, Danila Tikhonov <[email protected]>
 */

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

#include <dt-bindings/clock/qcom,sm7150-videocc.h>

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

enum {};

enum {};

static const struct pll_vco fabia_vco[] =;

static struct alpha_pll_config videocc_pll0_config =;

static struct clk_alpha_pll videocc_pll0 =;

static const struct parent_map videocc_parent_map_0[] =;

static const struct clk_parent_data videocc_parent_data_0[] =;

static const struct parent_map videocc_parent_map_1[] =;

static const struct clk_parent_data videocc_parent_data_1[] =;

static const struct freq_tbl ftbl_videocc_iris_clk_src[] =;

static struct clk_rcg2 videocc_iris_clk_src =;

static const struct freq_tbl ftbl_videocc_xo_clk_src[] =;

static struct clk_rcg2 videocc_xo_clk_src =;

static struct clk_branch videocc_iris_ahb_clk =;

static struct clk_branch videocc_mvs0_axi_clk =;

static struct clk_branch videocc_mvs0_core_clk =;

static struct clk_branch videocc_mvs1_axi_clk =;

static struct clk_branch videocc_mvs1_core_clk =;

static struct clk_branch videocc_mvsc_core_clk =;

static struct clk_branch videocc_mvsc_ctl_axi_clk =;

static struct clk_branch videocc_venus_ahb_clk =;

static struct gdsc venus_gdsc =;

static struct gdsc vcodec0_gdsc =;

static struct gdsc vcodec1_gdsc =;

static struct clk_regmap *videocc_sm7150_clocks[] =;

static struct gdsc *videocc_sm7150_gdscs[] =;

static const struct regmap_config videocc_sm7150_regmap_config =;

static const struct qcom_cc_desc videocc_sm7150_desc =;

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

static int videocc_sm7150_probe(struct platform_device *pdev)
{}

static struct platform_driver videocc_sm7150_driver =;
module_platform_driver();

MODULE_DESCRIPTION();
MODULE_LICENSE();