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

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

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

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

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

enum {};

static const struct pll_vco lucid_vco[] =;

static struct clk_alpha_pll gpll0 =;

static const struct clk_div_table post_div_table_lucid_even[] =;

static struct clk_alpha_pll_postdiv gpll0_out_even =;

static struct clk_alpha_pll gpll4 =;

static struct clk_alpha_pll_postdiv gpll4_out_even =;

static struct clk_alpha_pll gpll5 =;

static const struct parent_map gcc_parent_map_0[] =;

static const struct clk_parent_data gcc_parents_0[] =;

static const struct clk_parent_data gcc_parents_0_ao[] =;

static const struct parent_map gcc_parent_map_2[] =;

static const struct clk_parent_data gcc_parents_2[] =;

static const struct parent_map gcc_parent_map_3[] =;

static const struct clk_parent_data gcc_parents_3[] =;

static const struct parent_map gcc_parent_map_4[] =;

static const struct clk_parent_data gcc_parents_4[] =;

static const struct parent_map gcc_parent_map_5[] =;

static const struct clk_parent_data gcc_parents_5[] =;

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

static struct clk_rcg2 gcc_cpuss_rbcpr_clk_src =;

static const struct freq_tbl ftbl_gcc_emac_clk_src[] =;

static struct clk_rcg2 gcc_emac_clk_src =;

static const struct freq_tbl ftbl_gcc_emac_ptp_clk_src[] =;

static struct clk_rcg2 gcc_emac_ptp_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 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 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 const struct freq_tbl ftbl_gcc_usb30_mock_utmi_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_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_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_ce1_ahb_clk =;

static struct clk_branch gcc_ce1_axi_clk =;

static struct clk_branch gcc_ce1_clk =;

static struct clk_branch gcc_cpuss_rbcpr_clk =;

static struct clk_branch gcc_eth_axi_clk =;

static struct clk_branch gcc_eth_ptp_clk =;

static struct clk_branch gcc_eth_rgmii_clk =;

static struct clk_branch gcc_eth_slave_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_clk =;

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_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 clk_branch gcc_usb3_phy_pipe_clk =;

static struct clk_branch gcc_usb3_prim_clkref_clk =;

static struct clk_branch gcc_usb_phy_cfg_ahb2phy_clk =;

static struct clk_branch gcc_xo_pcie_link_clk =;

static struct gdsc usb30_gdsc =;

static struct gdsc pcie_gdsc =;

static struct gdsc emac_gdsc =;

static struct clk_regmap *gcc_sdx55_clocks[] =;

static const struct qcom_reset_map gcc_sdx55_resets[] =;

static struct gdsc *gcc_sdx55_gdscs[] =;

static const struct regmap_config gcc_sdx55_regmap_config =;

static const struct qcom_cc_desc gcc_sdx55_desc =;

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

static int gcc_sdx55_probe(struct platform_device *pdev)
{}

static struct platform_driver gcc_sdx55_driver =;

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

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

MODULE_DESCRIPTION();
MODULE_LICENSE();