linux/drivers/clk/qcom/gcc-sdx65.c

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

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

#include <dt-bindings/clock/qcom,gcc-sdx65.h>

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

enum {};

static struct clk_alpha_pll gpll0 =;

static const struct clk_div_table post_div_table_gpll0_out_even[] =;

static struct clk_alpha_pll_postdiv gpll0_out_even =;

static const struct parent_map gcc_parent_map_0[] =;

static const struct clk_parent_data gcc_parent_data_0[] =;

static const struct clk_parent_data gcc_parent_data_0_ao[] =;

static const struct parent_map gcc_parent_map_2[] =;

static const struct clk_parent_data gcc_parent_data_2[] =;

static const struct parent_map gcc_parent_map_3[] =;

static const struct clk_parent_data gcc_parent_data_3[] =;

static const struct parent_map gcc_parent_map_4[] =;

static const struct parent_map gcc_parent_map_5[] =;

static const struct clk_parent_data gcc_parent_data_5[] =;

static const struct parent_map gcc_parent_map_6[] =;

static const struct clk_parent_data gcc_parent_data_6[] =;

static struct clk_regmap_mux gcc_pcie_aux_clk_src =;

static struct clk_regmap_mux gcc_pcie_pipe_clk_src =;

static struct clk_regmap_mux gcc_usb3_phy_pipe_clk_src =;

static const struct freq_tbl ftbl_gcc_blsp1_qup1_i2c_apps_clk_src[] =;

static struct clk_rcg2 gcc_blsp1_qup1_i2c_apps_clk_src =;

static const struct freq_tbl ftbl_gcc_blsp1_qup1_spi_apps_clk_src[] =;

static struct clk_rcg2 gcc_blsp1_qup1_spi_apps_clk_src =;

static struct clk_rcg2 gcc_blsp1_qup2_i2c_apps_clk_src =;

static struct clk_rcg2 gcc_blsp1_qup2_spi_apps_clk_src =;

static struct clk_rcg2 gcc_blsp1_qup3_i2c_apps_clk_src =;

static struct clk_rcg2 gcc_blsp1_qup3_spi_apps_clk_src =;

static struct clk_rcg2 gcc_blsp1_qup4_i2c_apps_clk_src =;

static struct clk_rcg2 gcc_blsp1_qup4_spi_apps_clk_src =;

static const struct freq_tbl ftbl_gcc_blsp1_uart1_apps_clk_src[] =;

static struct clk_rcg2 gcc_blsp1_uart1_apps_clk_src =;

static struct clk_rcg2 gcc_blsp1_uart2_apps_clk_src =;

static struct clk_rcg2 gcc_blsp1_uart3_apps_clk_src =;

static struct clk_rcg2 gcc_blsp1_uart4_apps_clk_src =;

static const struct freq_tbl ftbl_gcc_cpuss_ahb_clk_src[] =;

static struct clk_rcg2 gcc_cpuss_ahb_clk_src =;

static const struct freq_tbl ftbl_gcc_gp1_clk_src[] =;

static struct clk_rcg2 gcc_gp1_clk_src =;

static struct clk_rcg2 gcc_gp2_clk_src =;

static struct clk_rcg2 gcc_gp3_clk_src =;

static const struct freq_tbl ftbl_gcc_pcie_aux_phy_clk_src[] =;

static struct clk_rcg2 gcc_pcie_aux_phy_clk_src =;

static const struct freq_tbl ftbl_gcc_pcie_rchng_phy_clk_src[] =;

static struct clk_rcg2 gcc_pcie_rchng_phy_clk_src =;

static const struct freq_tbl ftbl_gcc_pdm2_clk_src[] =;

static struct clk_rcg2 gcc_pdm2_clk_src =;

static const struct freq_tbl ftbl_gcc_sdcc1_apps_clk_src[] =;

static struct clk_rcg2 gcc_sdcc1_apps_clk_src =;

static const struct freq_tbl ftbl_gcc_usb30_master_clk_src[] =;

static struct clk_rcg2 gcc_usb30_master_clk_src =;

static struct clk_rcg2 gcc_usb30_mock_utmi_clk_src =;

static const struct freq_tbl ftbl_gcc_usb3_phy_aux_clk_src[] =;

static struct clk_rcg2 gcc_usb3_phy_aux_clk_src =;

static struct clk_regmap_div gcc_cpuss_ahb_postdiv_clk_src =;

static struct clk_regmap_div gcc_usb30_mock_utmi_postdiv_clk_src =;

static struct clk_branch gcc_ahb_pcie_link_clk =;

static struct clk_branch gcc_blsp1_ahb_clk =;

static struct clk_branch gcc_blsp1_qup1_i2c_apps_clk =;

static struct clk_branch gcc_blsp1_qup1_spi_apps_clk =;

static struct clk_branch gcc_blsp1_qup2_i2c_apps_clk =;

static struct clk_branch gcc_blsp1_qup2_spi_apps_clk =;

static struct clk_branch gcc_blsp1_qup3_i2c_apps_clk =;

static struct clk_branch gcc_blsp1_qup3_spi_apps_clk =;

static struct clk_branch gcc_blsp1_qup4_i2c_apps_clk =;

static struct clk_branch gcc_blsp1_qup4_spi_apps_clk =;

static struct clk_branch gcc_blsp1_sleep_clk =;

static struct clk_branch gcc_blsp1_uart1_apps_clk =;

static struct clk_branch gcc_blsp1_uart2_apps_clk =;

static struct clk_branch gcc_blsp1_uart3_apps_clk =;

static struct clk_branch gcc_blsp1_uart4_apps_clk =;

static struct clk_branch gcc_boot_rom_ahb_clk =;

static struct clk_branch gcc_gp1_clk =;

static struct clk_branch gcc_gp2_clk =;

static struct clk_branch gcc_gp3_clk =;

static struct clk_branch gcc_pcie_0_clkref_en =;

static struct clk_branch gcc_pcie_aux_clk =;

static struct clk_branch gcc_pcie_cfg_ahb_clk =;

static struct clk_branch gcc_pcie_mstr_axi_clk =;

static struct clk_branch gcc_pcie_pipe_clk =;

static struct clk_branch gcc_pcie_rchng_phy_clk =;

static struct clk_branch gcc_pcie_sleep_clk =;

static struct clk_branch gcc_pcie_slv_axi_clk =;

static struct clk_branch gcc_pcie_slv_q2a_axi_clk =;

static struct clk_branch gcc_pdm2_clk =;

static struct clk_branch gcc_pdm_ahb_clk =;

static struct clk_branch gcc_pdm_xo4_clk =;

static struct clk_branch gcc_rx1_usb2_clkref_en =;

static struct clk_branch gcc_sdcc1_ahb_clk =;

static struct clk_branch gcc_sdcc1_apps_clk =;

static struct clk_branch gcc_usb30_master_clk =;

static struct clk_branch gcc_usb30_mock_utmi_clk =;

static struct clk_branch gcc_usb30_mstr_axi_clk =;

static struct clk_branch gcc_usb30_sleep_clk =;

static struct clk_branch gcc_usb30_slv_ahb_clk =;

static struct clk_branch gcc_usb3_phy_aux_clk =;

static struct gdsc usb30_gdsc =;

static struct gdsc pcie_gdsc =;

static struct clk_branch gcc_usb3_phy_pipe_clk =;

static struct clk_branch gcc_usb3_prim_clkref_en =;

static struct clk_branch gcc_usb_phy_cfg_ahb2phy_clk =;

static struct clk_branch gcc_xo_div4_clk =;

static struct clk_branch gcc_xo_pcie_link_clk =;

static struct clk_regmap *gcc_sdx65_clocks[] =;

static const struct qcom_reset_map gcc_sdx65_resets[] =;

static struct gdsc *gcc_sdx65_gdscs[] =;

static const struct regmap_config gcc_sdx65_regmap_config =;

static const struct qcom_cc_desc gcc_sdx65_desc =;

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

static int gcc_sdx65_probe(struct platform_device *pdev)
{}

static struct platform_driver gcc_sdx65_driver =;

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

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

MODULE_DESCRIPTION();
MODULE_LICENSE();