linux/drivers/clk/qcom/dispcc-sdm845.c

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

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

#include <dt-bindings/clock/qcom,dispcc-sdm845.h>

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

enum {};

static struct clk_alpha_pll disp_cc_pll0 =;

static const struct parent_map disp_cc_parent_map_0[] =;

static const struct clk_parent_data disp_cc_parent_data_0[] =;

static const struct parent_map disp_cc_parent_map_1[] =;

static const struct clk_parent_data disp_cc_parent_data_1[] =;

static const struct parent_map disp_cc_parent_map_2[] =;

static const struct clk_parent_data disp_cc_parent_data_2[] =;

static const struct parent_map disp_cc_parent_map_3[] =;

static const struct clk_parent_data disp_cc_parent_data_3[] =;

static const struct parent_map disp_cc_parent_map_4[] =;

static const struct clk_parent_data disp_cc_parent_data_4[] =;

/* Return the HW recalc rate for idle use case */
static struct clk_rcg2 disp_cc_mdss_byte0_clk_src =;

/* Return the HW recalc rate for idle use case */
static struct clk_rcg2 disp_cc_mdss_byte1_clk_src =;

static const struct freq_tbl ftbl_disp_cc_mdss_dp_aux_clk_src[] =;

static struct clk_rcg2 disp_cc_mdss_dp_aux_clk_src =;

static struct clk_rcg2 disp_cc_mdss_dp_crypto_clk_src =;

static struct clk_rcg2 disp_cc_mdss_dp_link_clk_src =;

static struct clk_rcg2 disp_cc_mdss_dp_pixel1_clk_src =;

static struct clk_rcg2 disp_cc_mdss_dp_pixel_clk_src =;

static const struct freq_tbl ftbl_disp_cc_mdss_esc0_clk_src[] =;

static struct clk_rcg2 disp_cc_mdss_esc0_clk_src =;

static struct clk_rcg2 disp_cc_mdss_esc1_clk_src =;

static const struct freq_tbl ftbl_disp_cc_mdss_mdp_clk_src[] =;

static struct clk_rcg2 disp_cc_mdss_mdp_clk_src =;

/* Return the HW recalc rate for idle use case */
static struct clk_rcg2 disp_cc_mdss_pclk0_clk_src =;

/* Return the HW recalc rate for idle use case */
static struct clk_rcg2 disp_cc_mdss_pclk1_clk_src =;

static const struct freq_tbl ftbl_disp_cc_mdss_rot_clk_src[] =;

static struct clk_rcg2 disp_cc_mdss_rot_clk_src =;

static struct clk_rcg2 disp_cc_mdss_vsync_clk_src =;

static struct clk_branch disp_cc_mdss_ahb_clk =;

static struct clk_branch disp_cc_mdss_axi_clk =;

/* Return the HW recalc rate for idle use case */
static struct clk_branch disp_cc_mdss_byte0_clk =;

/* Return the HW recalc rate for idle use case */
static struct clk_regmap_div disp_cc_mdss_byte0_div_clk_src =;

/* Return the HW recalc rate for idle use case */
static struct clk_branch disp_cc_mdss_byte0_intf_clk =;

/* Return the HW recalc rate for idle use case */
static struct clk_branch disp_cc_mdss_byte1_clk =;

/* Return the HW recalc rate for idle use case */
static struct clk_regmap_div disp_cc_mdss_byte1_div_clk_src =;

/* Return the HW recalc rate for idle use case */
static struct clk_branch disp_cc_mdss_byte1_intf_clk =;

static struct clk_branch disp_cc_mdss_dp_aux_clk =;

static struct clk_branch disp_cc_mdss_dp_crypto_clk =;

static struct clk_branch disp_cc_mdss_dp_link_clk =;

/* reset state of disp_cc_mdss_dp_link_div_clk_src divider is 0x3 (div 4) */
static struct clk_branch disp_cc_mdss_dp_link_intf_clk =;

static struct clk_branch disp_cc_mdss_dp_pixel1_clk =;

static struct clk_branch disp_cc_mdss_dp_pixel_clk =;

static struct clk_branch disp_cc_mdss_esc0_clk =;

static struct clk_branch disp_cc_mdss_esc1_clk =;

static struct clk_branch disp_cc_mdss_mdp_clk =;

static struct clk_branch disp_cc_mdss_mdp_lut_clk =;

/* Return the HW recalc rate for idle use case */
static struct clk_branch disp_cc_mdss_pclk0_clk =;

/* Return the HW recalc rate for idle use case */
static struct clk_branch disp_cc_mdss_pclk1_clk =;

static struct clk_branch disp_cc_mdss_rot_clk =;

static struct clk_branch disp_cc_mdss_rscc_ahb_clk =;

static struct clk_branch disp_cc_mdss_rscc_vsync_clk =;

static struct clk_branch disp_cc_mdss_vsync_clk =;

static struct gdsc mdss_gdsc =;

static struct clk_regmap *disp_cc_sdm845_clocks[] =;

static const struct qcom_reset_map disp_cc_sdm845_resets[] =;

static struct gdsc *disp_cc_sdm845_gdscs[] =;

static const struct regmap_config disp_cc_sdm845_regmap_config =;

static const struct qcom_cc_desc disp_cc_sdm845_desc =;

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

static int disp_cc_sdm845_probe(struct platform_device *pdev)
{}

static struct platform_driver disp_cc_sdm845_driver =;

module_platform_driver();

MODULE_LICENSE();
MODULE_DESCRIPTION();