#include <linux/clk-provider.h>
#include <linux/err.h>
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/pm_runtime.h>
#include <linux/of.h>
#include <linux/platform_device.h>
#include <linux/regmap.h>
#include <dt-bindings/clock/qcom,gcc-sc8280xp.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 "clk-regmap-phy-mux.h"
#include "common.h"
#include "gdsc.h"
#include "reset.h"
enum { … };
enum { … };
static const struct clk_parent_data gcc_parent_data_tcxo = …;
static struct clk_alpha_pll gcc_gpll0 = …;
static const struct clk_div_table post_div_table_gcc_gpll0_out_even[] = …;
static struct clk_alpha_pll_postdiv gcc_gpll0_out_even = …;
static struct clk_alpha_pll gcc_gpll2 = …;
static struct clk_alpha_pll gcc_gpll4 = …;
static struct clk_alpha_pll gcc_gpll7 = …;
static struct clk_alpha_pll gcc_gpll8 = …;
static struct clk_alpha_pll gcc_gpll9 = …;
static struct clk_rcg2 gcc_usb4_1_phy_pcie_pipe_clk_src;
static struct clk_rcg2 gcc_usb4_phy_pcie_pipe_clk_src;
static const struct parent_map gcc_parent_map_0[] = …;
static const struct clk_parent_data gcc_parent_data_0[] = …;
static const struct parent_map gcc_parent_map_1[] = …;
static const struct clk_parent_data gcc_parent_data_1[] = …;
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 clk_parent_data gcc_parent_data_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 const struct parent_map gcc_parent_map_7[] = …;
static const struct clk_parent_data gcc_parent_data_7[] = …;
static const struct parent_map gcc_parent_map_8[] = …;
static const struct clk_parent_data gcc_parent_data_8[] = …;
static const struct parent_map gcc_parent_map_9[] = …;
static const struct clk_parent_data gcc_parent_data_9[] = …;
static const struct parent_map gcc_parent_map_15[] = …;
static const struct clk_parent_data gcc_parent_data_15[] = …;
static const struct parent_map gcc_parent_map_16[] = …;
static const struct clk_parent_data gcc_parent_data_16[] = …;
static const struct parent_map gcc_parent_map_17[] = …;
static const struct clk_parent_data gcc_parent_data_17[] = …;
static const struct parent_map gcc_parent_map_18[] = …;
static const struct clk_parent_data gcc_parent_data_18[] = …;
static const struct parent_map gcc_parent_map_19[] = …;
static const struct clk_parent_data gcc_parent_data_19[] = …;
static const struct parent_map gcc_parent_map_20[] = …;
static const struct clk_parent_data gcc_parent_data_20[] = …;
static const struct parent_map gcc_parent_map_21[] = …;
static const struct clk_parent_data gcc_parent_data_21[] = …;
static const struct parent_map gcc_parent_map_22[] = …;
static const struct clk_parent_data gcc_parent_data_22[] = …;
static const struct parent_map gcc_parent_map_23[] = …;
static const struct clk_parent_data gcc_parent_data_23[] = …;
static struct clk_regmap_mux gcc_usb3_prim_phy_pipe_clk_src = …;
static struct clk_regmap_mux gcc_usb3_sec_phy_pipe_clk_src = …;
static const struct parent_map gcc_parent_map_24[] = …;
static const struct clk_parent_data gcc_parent_data_24[] = …;
static const struct parent_map gcc_parent_map_25[] = …;
static const struct clk_parent_data gcc_parent_data_25[] = …;
static const struct parent_map gcc_parent_map_26[] = …;
static const struct clk_parent_data gcc_parent_data_26[] = …;
static const struct parent_map gcc_parent_map_27[] = …;
static const struct clk_parent_data gcc_parent_data_27[] = …;
static const struct parent_map gcc_parent_map_28[] = …;
static const struct clk_parent_data gcc_parent_data_28[] = …;
static const struct parent_map gcc_parent_map_29[] = …;
static const struct clk_parent_data gcc_parent_data_29[] = …;
static const struct parent_map gcc_parent_map_30[] = …;
static const struct clk_parent_data gcc_parent_data_30[] = …;
static struct clk_regmap_mux gcc_usb4_1_phy_pcie_pipegmux_clk_src = …;
static const struct parent_map gcc_parent_map_31[] = …;
static const struct clk_parent_data gcc_parent_data_31[] = …;
static const struct parent_map gcc_parent_map_32[] = …;
static const struct clk_parent_data gcc_parent_data_32[] = …;
static const struct parent_map gcc_parent_map_33[] = …;
static const struct clk_parent_data gcc_parent_data_33[] = …;
static const struct parent_map gcc_parent_map_34[] = …;
static const struct clk_parent_data gcc_parent_data_34[] = …;
static const struct parent_map gcc_parent_map_35[] = …;
static const struct clk_parent_data gcc_parent_data_35[] = …;
static const struct parent_map gcc_parent_map_36[] = …;
static const struct clk_parent_data gcc_parent_data_36[] = …;
static const struct parent_map gcc_parent_map_37[] = …;
static const struct clk_parent_data gcc_parent_data_37[] = …;
static struct clk_regmap_mux gcc_usb4_phy_pcie_pipegmux_clk_src = …;
static const struct parent_map gcc_parent_map_38[] = …;
static const struct clk_parent_data gcc_parent_data_38[] = …;
static const struct parent_map gcc_parent_map_39[] = …;
static const struct clk_parent_data gcc_parent_data_39[] = …;
static const struct parent_map gcc_parent_map_40[] = …;
static const struct clk_parent_data gcc_parent_data_40[] = …;
static const struct parent_map gcc_parent_map_41[] = …;
static const struct clk_parent_data gcc_parent_data_41[] = …;
static struct clk_regmap_phy_mux gcc_pcie_2a_pipe_clk_src = …;
static struct clk_regmap_phy_mux gcc_pcie_2b_pipe_clk_src = …;
static struct clk_regmap_phy_mux gcc_pcie_3a_pipe_clk_src = …;
static struct clk_regmap_phy_mux gcc_pcie_3b_pipe_clk_src = …;
static struct clk_regmap_phy_mux gcc_pcie_4_pipe_clk_src = …;
static struct clk_regmap_mux gcc_ufs_card_rx_symbol_0_clk_src = …;
static struct clk_regmap_mux gcc_ufs_card_rx_symbol_1_clk_src = …;
static struct clk_regmap_mux gcc_ufs_card_tx_symbol_0_clk_src = …;
static struct clk_regmap_mux gcc_ufs_phy_rx_symbol_0_clk_src = …;
static struct clk_regmap_mux gcc_ufs_phy_rx_symbol_1_clk_src = …;
static struct clk_regmap_mux gcc_ufs_phy_tx_symbol_0_clk_src = …;
static struct clk_regmap_mux gcc_usb34_prim_phy_pipe_clk_src = …;
static struct clk_regmap_mux gcc_usb34_sec_phy_pipe_clk_src = …;
static struct clk_regmap_mux gcc_usb3_mp_phy_pipe_0_clk_src = …;
static struct clk_regmap_mux gcc_usb3_mp_phy_pipe_1_clk_src = …;
static struct clk_regmap_mux gcc_usb4_1_phy_dp_clk_src = …;
static struct clk_regmap_mux gcc_usb4_1_phy_p2rr2p_pipe_clk_src = …;
static struct clk_regmap_mux gcc_usb4_1_phy_pcie_pipe_mux_clk_src = …;
static struct clk_regmap_mux gcc_usb4_1_phy_rx0_clk_src = …;
static struct clk_regmap_mux gcc_usb4_1_phy_rx1_clk_src = …;
static struct clk_regmap_mux gcc_usb4_1_phy_sys_clk_src = …;
static struct clk_regmap_mux gcc_usb4_phy_dp_clk_src = …;
static struct clk_regmap_mux gcc_usb4_phy_p2rr2p_pipe_clk_src = …;
static struct clk_regmap_mux gcc_usb4_phy_pcie_pipe_mux_clk_src = …;
static struct clk_regmap_mux gcc_usb4_phy_rx0_clk_src = …;
static struct clk_regmap_mux gcc_usb4_phy_rx1_clk_src = …;
static struct clk_regmap_mux gcc_usb4_phy_sys_clk_src = …;
static const struct freq_tbl ftbl_gcc_emac0_ptp_clk_src[] = …;
static struct clk_rcg2 gcc_emac0_ptp_clk_src = …;
static const struct freq_tbl ftbl_gcc_emac0_rgmii_clk_src[] = …;
static struct clk_rcg2 gcc_emac0_rgmii_clk_src = …;
static struct clk_rcg2 gcc_emac1_ptp_clk_src = …;
static struct clk_rcg2 gcc_emac1_rgmii_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_gp4_clk_src = …;
static struct clk_rcg2 gcc_gp5_clk_src = …;
static const struct freq_tbl ftbl_gcc_pcie_0_aux_clk_src[] = …;
static struct clk_rcg2 gcc_pcie_0_aux_clk_src = …;
static const struct freq_tbl ftbl_gcc_pcie_0_phy_rchng_clk_src[] = …;
static struct clk_rcg2 gcc_pcie_0_phy_rchng_clk_src = …;
static const struct freq_tbl ftbl_gcc_pcie_1_aux_clk_src[] = …;
static struct clk_rcg2 gcc_pcie_1_aux_clk_src = …;
static struct clk_rcg2 gcc_pcie_1_phy_rchng_clk_src = …;
static struct clk_rcg2 gcc_pcie_2a_aux_clk_src = …;
static struct clk_rcg2 gcc_pcie_2a_phy_rchng_clk_src = …;
static struct clk_rcg2 gcc_pcie_2b_aux_clk_src = …;
static struct clk_rcg2 gcc_pcie_2b_phy_rchng_clk_src = …;
static struct clk_rcg2 gcc_pcie_3a_aux_clk_src = …;
static struct clk_rcg2 gcc_pcie_3a_phy_rchng_clk_src = …;
static struct clk_rcg2 gcc_pcie_3b_aux_clk_src = …;
static struct clk_rcg2 gcc_pcie_3b_phy_rchng_clk_src = …;
static struct clk_rcg2 gcc_pcie_4_aux_clk_src = …;
static struct clk_rcg2 gcc_pcie_4_phy_rchng_clk_src = …;
static struct clk_rcg2 gcc_pcie_rscc_xo_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_qupv3_wrap0_s0_clk_src[] = …;
static struct clk_init_data gcc_qupv3_wrap0_s0_clk_src_init = …;
static struct clk_rcg2 gcc_qupv3_wrap0_s0_clk_src = …;
static struct clk_init_data gcc_qupv3_wrap0_s1_clk_src_init = …;
static struct clk_rcg2 gcc_qupv3_wrap0_s1_clk_src = …;
static struct clk_init_data gcc_qupv3_wrap0_s2_clk_src_init = …;
static struct clk_rcg2 gcc_qupv3_wrap0_s2_clk_src = …;
static struct clk_init_data gcc_qupv3_wrap0_s3_clk_src_init = …;
static struct clk_rcg2 gcc_qupv3_wrap0_s3_clk_src = …;
static struct clk_init_data gcc_qupv3_wrap0_s4_clk_src_init = …;
static struct clk_rcg2 gcc_qupv3_wrap0_s4_clk_src = …;
static struct clk_init_data gcc_qupv3_wrap0_s5_clk_src_init = …;
static struct clk_rcg2 gcc_qupv3_wrap0_s5_clk_src = …;
static const struct freq_tbl ftbl_gcc_qupv3_wrap0_s6_clk_src[] = …;
static struct clk_init_data gcc_qupv3_wrap0_s6_clk_src_init = …;
static struct clk_rcg2 gcc_qupv3_wrap0_s6_clk_src = …;
static struct clk_init_data gcc_qupv3_wrap0_s7_clk_src_init = …;
static struct clk_rcg2 gcc_qupv3_wrap0_s7_clk_src = …;
static struct clk_init_data gcc_qupv3_wrap1_s0_clk_src_init = …;
static struct clk_rcg2 gcc_qupv3_wrap1_s0_clk_src = …;
static struct clk_init_data gcc_qupv3_wrap1_s1_clk_src_init = …;
static struct clk_rcg2 gcc_qupv3_wrap1_s1_clk_src = …;
static struct clk_init_data gcc_qupv3_wrap1_s2_clk_src_init = …;
static struct clk_rcg2 gcc_qupv3_wrap1_s2_clk_src = …;
static struct clk_init_data gcc_qupv3_wrap1_s3_clk_src_init = …;
static struct clk_rcg2 gcc_qupv3_wrap1_s3_clk_src = …;
static struct clk_init_data gcc_qupv3_wrap1_s4_clk_src_init = …;
static struct clk_rcg2 gcc_qupv3_wrap1_s4_clk_src = …;
static struct clk_init_data gcc_qupv3_wrap1_s5_clk_src_init = …;
static struct clk_rcg2 gcc_qupv3_wrap1_s5_clk_src = …;
static struct clk_init_data gcc_qupv3_wrap1_s6_clk_src_init = …;
static struct clk_rcg2 gcc_qupv3_wrap1_s6_clk_src = …;
static struct clk_init_data gcc_qupv3_wrap1_s7_clk_src_init = …;
static struct clk_rcg2 gcc_qupv3_wrap1_s7_clk_src = …;
static struct clk_init_data gcc_qupv3_wrap2_s0_clk_src_init = …;
static struct clk_rcg2 gcc_qupv3_wrap2_s0_clk_src = …;
static struct clk_init_data gcc_qupv3_wrap2_s1_clk_src_init = …;
static struct clk_rcg2 gcc_qupv3_wrap2_s1_clk_src = …;
static struct clk_init_data gcc_qupv3_wrap2_s2_clk_src_init = …;
static struct clk_rcg2 gcc_qupv3_wrap2_s2_clk_src = …;
static struct clk_init_data gcc_qupv3_wrap2_s3_clk_src_init = …;
static struct clk_rcg2 gcc_qupv3_wrap2_s3_clk_src = …;
static struct clk_init_data gcc_qupv3_wrap2_s4_clk_src_init = …;
static struct clk_rcg2 gcc_qupv3_wrap2_s4_clk_src = …;
static struct clk_init_data gcc_qupv3_wrap2_s5_clk_src_init = …;
static struct clk_rcg2 gcc_qupv3_wrap2_s5_clk_src = …;
static struct clk_init_data gcc_qupv3_wrap2_s6_clk_src_init = …;
static struct clk_rcg2 gcc_qupv3_wrap2_s6_clk_src = …;
static struct clk_init_data gcc_qupv3_wrap2_s7_clk_src_init = …;
static struct clk_rcg2 gcc_qupv3_wrap2_s7_clk_src = …;
static const struct freq_tbl ftbl_gcc_sdcc2_apps_clk_src[] = …;
static struct clk_rcg2 gcc_sdcc2_apps_clk_src = …;
static const struct freq_tbl ftbl_gcc_sdcc4_apps_clk_src[] = …;
static struct clk_rcg2 gcc_sdcc4_apps_clk_src = …;
static const struct freq_tbl ftbl_gcc_ufs_card_axi_clk_src[] = …;
static struct clk_rcg2 gcc_ufs_card_axi_clk_src = …;
static const struct freq_tbl ftbl_gcc_ufs_card_ice_core_clk_src[] = …;
static struct clk_rcg2 gcc_ufs_card_ice_core_clk_src = …;
static struct clk_rcg2 gcc_ufs_card_phy_aux_clk_src = …;
static struct clk_rcg2 gcc_ufs_card_unipro_core_clk_src = …;
static struct clk_rcg2 gcc_ufs_phy_axi_clk_src = …;
static struct clk_rcg2 gcc_ufs_phy_ice_core_clk_src = …;
static struct clk_rcg2 gcc_ufs_phy_phy_aux_clk_src = …;
static struct clk_rcg2 gcc_ufs_phy_unipro_core_clk_src = …;
static const struct freq_tbl ftbl_gcc_usb30_mp_master_clk_src[] = …;
static struct clk_rcg2 gcc_usb30_mp_master_clk_src = …;
static struct clk_rcg2 gcc_usb30_mp_mock_utmi_clk_src = …;
static struct clk_rcg2 gcc_usb30_prim_master_clk_src = …;
static struct clk_rcg2 gcc_usb30_prim_mock_utmi_clk_src = …;
static struct clk_rcg2 gcc_usb30_sec_master_clk_src = …;
static struct clk_rcg2 gcc_usb30_sec_mock_utmi_clk_src = …;
static struct clk_rcg2 gcc_usb3_mp_phy_aux_clk_src = …;
static struct clk_rcg2 gcc_usb3_prim_phy_aux_clk_src = …;
static struct clk_rcg2 gcc_usb3_sec_phy_aux_clk_src = …;
static const struct freq_tbl ftbl_gcc_usb4_1_master_clk_src[] = …;
static struct clk_rcg2 gcc_usb4_1_master_clk_src = …;
static const struct freq_tbl ftbl_gcc_usb4_1_phy_pcie_pipe_clk_src[] = …;
static struct clk_rcg2 gcc_usb4_1_phy_pcie_pipe_clk_src = …;
static struct clk_rcg2 gcc_usb4_1_sb_if_clk_src = …;
static const struct freq_tbl ftbl_gcc_usb4_1_tmu_clk_src[] = …;
static struct clk_rcg2 gcc_usb4_1_tmu_clk_src = …;
static struct clk_rcg2 gcc_usb4_master_clk_src = …;
static struct clk_rcg2 gcc_usb4_phy_pcie_pipe_clk_src = …;
static struct clk_rcg2 gcc_usb4_sb_if_clk_src = …;
static struct clk_rcg2 gcc_usb4_tmu_clk_src = …;
static struct clk_regmap_div gcc_pcie_2a_pipe_div_clk_src = …;
static struct clk_regmap_div gcc_pcie_2b_pipe_div_clk_src = …;
static struct clk_regmap_div gcc_pcie_3a_pipe_div_clk_src = …;
static struct clk_regmap_div gcc_pcie_3b_pipe_div_clk_src = …;
static struct clk_regmap_div gcc_pcie_4_pipe_div_clk_src = …;
static struct clk_regmap_div gcc_qupv3_wrap0_s4_div_clk_src = …;
static struct clk_regmap_div gcc_qupv3_wrap1_s4_div_clk_src = …;
static struct clk_regmap_div gcc_qupv3_wrap2_s4_div_clk_src = …;
static struct clk_regmap_div gcc_usb30_mp_mock_utmi_postdiv_clk_src = …;
static struct clk_regmap_div gcc_usb30_prim_mock_utmi_postdiv_clk_src = …;
static struct clk_regmap_div gcc_usb30_sec_mock_utmi_postdiv_clk_src = …;
static struct clk_branch gcc_aggre_noc_pcie0_tunnel_axi_clk = …;
static struct clk_branch gcc_aggre_noc_pcie1_tunnel_axi_clk = …;
static struct clk_branch gcc_aggre_noc_pcie_4_axi_clk = …;
static struct clk_branch gcc_aggre_noc_pcie_south_sf_axi_clk = …;
static struct clk_branch gcc_aggre_ufs_card_axi_clk = …;
static struct clk_branch gcc_aggre_ufs_card_axi_hw_ctl_clk = …;
static struct clk_branch gcc_aggre_ufs_phy_axi_clk = …;
static struct clk_branch gcc_aggre_ufs_phy_axi_hw_ctl_clk = …;
static struct clk_branch gcc_aggre_usb3_mp_axi_clk = …;
static struct clk_branch gcc_aggre_usb3_prim_axi_clk = …;
static struct clk_branch gcc_aggre_usb3_sec_axi_clk = …;
static struct clk_branch gcc_aggre_usb4_1_axi_clk = …;
static struct clk_branch gcc_aggre_usb4_axi_clk = …;
static struct clk_branch gcc_aggre_usb_noc_axi_clk = …;
static struct clk_branch gcc_aggre_usb_noc_north_axi_clk = …;
static struct clk_branch gcc_aggre_usb_noc_south_axi_clk = …;
static struct clk_branch gcc_ahb2phy0_clk = …;
static struct clk_branch gcc_ahb2phy2_clk = …;
static struct clk_branch gcc_boot_rom_ahb_clk = …;
static struct clk_branch gcc_camera_hf_axi_clk = …;
static struct clk_branch gcc_camera_sf_axi_clk = …;
static struct clk_branch gcc_camera_throttle_nrt_axi_clk = …;
static struct clk_branch gcc_camera_throttle_rt_axi_clk = …;
static struct clk_branch gcc_camera_throttle_xo_clk = …;
static struct clk_branch gcc_cfg_noc_usb3_mp_axi_clk = …;
static struct clk_branch gcc_cfg_noc_usb3_prim_axi_clk = …;
static struct clk_branch gcc_cfg_noc_usb3_sec_axi_clk = …;
static struct clk_branch gcc_cnoc_pcie0_tunnel_clk = …;
static struct clk_branch gcc_cnoc_pcie1_tunnel_clk = …;
static struct clk_branch gcc_cnoc_pcie4_qx_clk = …;
static struct clk_branch gcc_ddrss_gpu_axi_clk = …;
static struct clk_branch gcc_ddrss_pcie_sf_tbu_clk = …;
static struct clk_branch gcc_disp1_hf_axi_clk = …;
static struct clk_branch gcc_disp1_sf_axi_clk = …;
static struct clk_branch gcc_disp1_throttle_nrt_axi_clk = …;
static struct clk_branch gcc_disp1_throttle_rt_axi_clk = …;
static struct clk_branch gcc_disp_hf_axi_clk = …;
static struct clk_branch gcc_disp_sf_axi_clk = …;
static struct clk_branch gcc_disp_throttle_nrt_axi_clk = …;
static struct clk_branch gcc_disp_throttle_rt_axi_clk = …;
static struct clk_branch gcc_emac0_axi_clk = …;
static struct clk_branch gcc_emac0_ptp_clk = …;
static struct clk_branch gcc_emac0_rgmii_clk = …;
static struct clk_branch gcc_emac0_slv_ahb_clk = …;
static struct clk_branch gcc_emac1_axi_clk = …;
static struct clk_branch gcc_emac1_ptp_clk = …;
static struct clk_branch gcc_emac1_rgmii_clk = …;
static struct clk_branch gcc_emac1_slv_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_gp4_clk = …;
static struct clk_branch gcc_gp5_clk = …;
static struct clk_branch gcc_gpu_gpll0_clk_src = …;
static struct clk_branch gcc_gpu_gpll0_div_clk_src = …;
static struct clk_branch gcc_gpu_iref_en = …;
static struct clk_branch gcc_gpu_memnoc_gfx_clk = …;
static struct clk_branch gcc_gpu_snoc_dvm_gfx_clk = …;
static struct clk_branch gcc_gpu_tcu_throttle_ahb_clk = …;
static struct clk_branch gcc_gpu_tcu_throttle_clk = …;
static struct clk_branch gcc_pcie0_phy_rchng_clk = …;
static struct clk_branch gcc_pcie1_phy_rchng_clk = …;
static struct clk_branch gcc_pcie2a_phy_rchng_clk = …;
static struct clk_branch gcc_pcie2b_phy_rchng_clk = …;
static struct clk_branch gcc_pcie3a_phy_rchng_clk = …;
static struct clk_branch gcc_pcie3b_phy_rchng_clk = …;
static struct clk_branch gcc_pcie4_phy_rchng_clk = …;
static struct clk_branch gcc_pcie_0_aux_clk = …;
static struct clk_branch gcc_pcie_0_cfg_ahb_clk = …;
static struct clk_branch gcc_pcie_0_mstr_axi_clk = …;
static struct clk_branch gcc_pcie_0_pipe_clk = …;
static struct clk_branch gcc_pcie_0_slv_axi_clk = …;
static struct clk_branch gcc_pcie_0_slv_q2a_axi_clk = …;
static struct clk_branch gcc_pcie_1_aux_clk = …;
static struct clk_branch gcc_pcie_1_cfg_ahb_clk = …;
static struct clk_branch gcc_pcie_1_mstr_axi_clk = …;
static struct clk_branch gcc_pcie_1_pipe_clk = …;
static struct clk_branch gcc_pcie_1_slv_axi_clk = …;
static struct clk_branch gcc_pcie_1_slv_q2a_axi_clk = …;
static struct clk_branch gcc_pcie_2a2b_clkref_clk = …;
static struct clk_branch gcc_pcie_2a_aux_clk = …;
static struct clk_branch gcc_pcie_2a_cfg_ahb_clk = …;
static struct clk_branch gcc_pcie_2a_mstr_axi_clk = …;
static struct clk_branch gcc_pcie_2a_pipe_clk = …;
static struct clk_branch gcc_pcie_2a_pipediv2_clk = …;
static struct clk_branch gcc_pcie_2a_slv_axi_clk = …;
static struct clk_branch gcc_pcie_2a_slv_q2a_axi_clk = …;
static struct clk_branch gcc_pcie_2b_aux_clk = …;
static struct clk_branch gcc_pcie_2b_cfg_ahb_clk = …;
static struct clk_branch gcc_pcie_2b_mstr_axi_clk = …;
static struct clk_branch gcc_pcie_2b_pipe_clk = …;
static struct clk_branch gcc_pcie_2b_pipediv2_clk = …;
static struct clk_branch gcc_pcie_2b_slv_axi_clk = …;
static struct clk_branch gcc_pcie_2b_slv_q2a_axi_clk = …;
static struct clk_branch gcc_pcie_3a3b_clkref_clk = …;
static struct clk_branch gcc_pcie_3a_aux_clk = …;
static struct clk_branch gcc_pcie_3a_cfg_ahb_clk = …;
static struct clk_branch gcc_pcie_3a_mstr_axi_clk = …;
static struct clk_branch gcc_pcie_3a_pipe_clk = …;
static struct clk_branch gcc_pcie_3a_pipediv2_clk = …;
static struct clk_branch gcc_pcie_3a_slv_axi_clk = …;
static struct clk_branch gcc_pcie_3a_slv_q2a_axi_clk = …;
static struct clk_branch gcc_pcie_3b_aux_clk = …;
static struct clk_branch gcc_pcie_3b_cfg_ahb_clk = …;
static struct clk_branch gcc_pcie_3b_mstr_axi_clk = …;
static struct clk_branch gcc_pcie_3b_pipe_clk = …;
static struct clk_branch gcc_pcie_3b_pipediv2_clk = …;
static struct clk_branch gcc_pcie_3b_slv_axi_clk = …;
static struct clk_branch gcc_pcie_3b_slv_q2a_axi_clk = …;
static struct clk_branch gcc_pcie_4_aux_clk = …;
static struct clk_branch gcc_pcie_4_cfg_ahb_clk = …;
static struct clk_branch gcc_pcie_4_clkref_clk = …;
static struct clk_branch gcc_pcie_4_mstr_axi_clk = …;
static struct clk_branch gcc_pcie_4_pipe_clk = …;
static struct clk_branch gcc_pcie_4_pipediv2_clk = …;
static struct clk_branch gcc_pcie_4_slv_axi_clk = …;
static struct clk_branch gcc_pcie_4_slv_q2a_axi_clk = …;
static struct clk_branch gcc_pcie_rscc_ahb_clk = …;
static struct clk_branch gcc_pcie_rscc_xo_clk = …;
static struct clk_branch gcc_pcie_throttle_cfg_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_qmip_camera_nrt_ahb_clk = …;
static struct clk_branch gcc_qmip_camera_rt_ahb_clk = …;
static struct clk_branch gcc_qmip_disp1_ahb_clk = …;
static struct clk_branch gcc_qmip_disp1_rot_ahb_clk = …;
static struct clk_branch gcc_qmip_disp_ahb_clk = …;
static struct clk_branch gcc_qmip_disp_rot_ahb_clk = …;
static struct clk_branch gcc_qmip_video_cvp_ahb_clk = …;
static struct clk_branch gcc_qmip_video_vcodec_ahb_clk = …;
static struct clk_branch gcc_qupv3_wrap0_core_2x_clk = …;
static struct clk_branch gcc_qupv3_wrap0_core_clk = …;
static struct clk_branch gcc_qupv3_wrap0_qspi0_clk = …;
static struct clk_branch gcc_qupv3_wrap0_s0_clk = …;
static struct clk_branch gcc_qupv3_wrap0_s1_clk = …;
static struct clk_branch gcc_qupv3_wrap0_s2_clk = …;
static struct clk_branch gcc_qupv3_wrap0_s3_clk = …;
static struct clk_branch gcc_qupv3_wrap0_s4_clk = …;
static struct clk_branch gcc_qupv3_wrap0_s5_clk = …;
static struct clk_branch gcc_qupv3_wrap0_s6_clk = …;
static struct clk_branch gcc_qupv3_wrap0_s7_clk = …;
static struct clk_branch gcc_qupv3_wrap1_core_2x_clk = …;
static struct clk_branch gcc_qupv3_wrap1_core_clk = …;
static struct clk_branch gcc_qupv3_wrap1_qspi0_clk = …;
static struct clk_branch gcc_qupv3_wrap1_s0_clk = …;
static struct clk_branch gcc_qupv3_wrap1_s1_clk = …;
static struct clk_branch gcc_qupv3_wrap1_s2_clk = …;
static struct clk_branch gcc_qupv3_wrap1_s3_clk = …;
static struct clk_branch gcc_qupv3_wrap1_s4_clk = …;
static struct clk_branch gcc_qupv3_wrap1_s5_clk = …;
static struct clk_branch gcc_qupv3_wrap1_s6_clk = …;
static struct clk_branch gcc_qupv3_wrap1_s7_clk = …;
static struct clk_branch gcc_qupv3_wrap2_core_2x_clk = …;
static struct clk_branch gcc_qupv3_wrap2_core_clk = …;
static struct clk_branch gcc_qupv3_wrap2_qspi0_clk = …;
static struct clk_branch gcc_qupv3_wrap2_s0_clk = …;
static struct clk_branch gcc_qupv3_wrap2_s1_clk = …;
static struct clk_branch gcc_qupv3_wrap2_s2_clk = …;
static struct clk_branch gcc_qupv3_wrap2_s3_clk = …;
static struct clk_branch gcc_qupv3_wrap2_s4_clk = …;
static struct clk_branch gcc_qupv3_wrap2_s5_clk = …;
static struct clk_branch gcc_qupv3_wrap2_s6_clk = …;
static struct clk_branch gcc_qupv3_wrap2_s7_clk = …;
static struct clk_branch gcc_qupv3_wrap_0_m_ahb_clk = …;
static struct clk_branch gcc_qupv3_wrap_0_s_ahb_clk = …;
static struct clk_branch gcc_qupv3_wrap_1_m_ahb_clk = …;
static struct clk_branch gcc_qupv3_wrap_1_s_ahb_clk = …;
static struct clk_branch gcc_qupv3_wrap_2_m_ahb_clk = …;
static struct clk_branch gcc_qupv3_wrap_2_s_ahb_clk = …;
static struct clk_branch gcc_sdcc2_ahb_clk = …;
static struct clk_branch gcc_sdcc2_apps_clk = …;
static struct clk_branch gcc_sdcc4_ahb_clk = …;
static struct clk_branch gcc_sdcc4_apps_clk = …;
static struct clk_branch gcc_sys_noc_usb_axi_clk = …;
static struct clk_branch gcc_ufs_1_card_clkref_clk = …;
static struct clk_branch gcc_ufs_card_ahb_clk = …;
static struct clk_branch gcc_ufs_card_axi_clk = …;
static struct clk_branch gcc_ufs_card_axi_hw_ctl_clk = …;
static struct clk_branch gcc_ufs_card_clkref_clk = …;
static struct clk_branch gcc_ufs_card_ice_core_clk = …;
static struct clk_branch gcc_ufs_card_ice_core_hw_ctl_clk = …;
static struct clk_branch gcc_ufs_card_phy_aux_clk = …;
static struct clk_branch gcc_ufs_card_phy_aux_hw_ctl_clk = …;
static struct clk_branch gcc_ufs_card_rx_symbol_0_clk = …;
static struct clk_branch gcc_ufs_card_rx_symbol_1_clk = …;
static struct clk_branch gcc_ufs_card_tx_symbol_0_clk = …;
static struct clk_branch gcc_ufs_card_unipro_core_clk = …;
static struct clk_branch gcc_ufs_card_unipro_core_hw_ctl_clk = …;
static struct clk_branch gcc_ufs_phy_ahb_clk = …;
static struct clk_branch gcc_ufs_phy_axi_clk = …;
static struct clk_branch gcc_ufs_phy_axi_hw_ctl_clk = …;
static struct clk_branch gcc_ufs_phy_ice_core_clk = …;
static struct clk_branch gcc_ufs_phy_ice_core_hw_ctl_clk = …;
static struct clk_branch gcc_ufs_phy_phy_aux_clk = …;
static struct clk_branch gcc_ufs_phy_phy_aux_hw_ctl_clk = …;
static struct clk_branch gcc_ufs_phy_rx_symbol_0_clk = …;
static struct clk_branch gcc_ufs_phy_rx_symbol_1_clk = …;
static struct clk_branch gcc_ufs_phy_tx_symbol_0_clk = …;
static struct clk_branch gcc_ufs_phy_unipro_core_clk = …;
static struct clk_branch gcc_ufs_phy_unipro_core_hw_ctl_clk = …;
static struct clk_branch gcc_ufs_ref_clkref_clk = …;
static struct clk_branch gcc_usb2_hs0_clkref_clk = …;
static struct clk_branch gcc_usb2_hs1_clkref_clk = …;
static struct clk_branch gcc_usb2_hs2_clkref_clk = …;
static struct clk_branch gcc_usb2_hs3_clkref_clk = …;
static struct clk_branch gcc_usb30_mp_master_clk = …;
static struct clk_branch gcc_usb30_mp_mock_utmi_clk = …;
static struct clk_branch gcc_usb30_mp_sleep_clk = …;
static struct clk_branch gcc_usb30_prim_master_clk = …;
static struct clk_branch gcc_usb30_prim_mock_utmi_clk = …;
static struct clk_branch gcc_usb30_prim_sleep_clk = …;
static struct clk_branch gcc_usb30_sec_master_clk = …;
static struct clk_branch gcc_usb30_sec_mock_utmi_clk = …;
static struct clk_branch gcc_usb30_sec_sleep_clk = …;
static struct clk_branch gcc_usb3_mp0_clkref_clk = …;
static struct clk_branch gcc_usb3_mp1_clkref_clk = …;
static struct clk_branch gcc_usb3_mp_phy_aux_clk = …;
static struct clk_branch gcc_usb3_mp_phy_com_aux_clk = …;
static struct clk_branch gcc_usb3_mp_phy_pipe_0_clk = …;
static struct clk_branch gcc_usb3_mp_phy_pipe_1_clk = …;
static struct clk_branch gcc_usb3_prim_phy_aux_clk = …;
static struct clk_branch gcc_usb3_prim_phy_com_aux_clk = …;
static struct clk_branch gcc_usb3_prim_phy_pipe_clk = …;
static struct clk_branch gcc_usb3_sec_phy_aux_clk = …;
static struct clk_branch gcc_usb3_sec_phy_com_aux_clk = …;
static struct clk_branch gcc_usb3_sec_phy_pipe_clk = …;
static struct clk_branch gcc_usb4_1_cfg_ahb_clk = …;
static struct clk_branch gcc_usb4_1_dp_clk = …;
static struct clk_branch gcc_usb4_1_master_clk = …;
static struct clk_branch gcc_usb4_1_phy_p2rr2p_pipe_clk = …;
static struct clk_branch gcc_usb4_1_phy_pcie_pipe_clk = …;
static struct clk_branch gcc_usb4_1_phy_rx0_clk = …;
static struct clk_branch gcc_usb4_1_phy_rx1_clk = …;
static struct clk_branch gcc_usb4_1_phy_usb_pipe_clk = …;
static struct clk_branch gcc_usb4_1_sb_if_clk = …;
static struct clk_branch gcc_usb4_1_sys_clk = …;
static struct clk_branch gcc_usb4_1_tmu_clk = …;
static struct clk_branch gcc_usb4_cfg_ahb_clk = …;
static struct clk_branch gcc_usb4_clkref_clk = …;
static struct clk_branch gcc_usb4_dp_clk = …;
static struct clk_branch gcc_usb4_eud_clkref_clk = …;
static struct clk_branch gcc_usb4_master_clk = …;
static struct clk_branch gcc_usb4_phy_p2rr2p_pipe_clk = …;
static struct clk_branch gcc_usb4_phy_pcie_pipe_clk = …;
static struct clk_branch gcc_usb4_phy_rx0_clk = …;
static struct clk_branch gcc_usb4_phy_rx1_clk = …;
static struct clk_branch gcc_usb4_phy_usb_pipe_clk = …;
static struct clk_branch gcc_usb4_sb_if_clk = …;
static struct clk_branch gcc_usb4_sys_clk = …;
static struct clk_branch gcc_usb4_tmu_clk = …;
static struct clk_branch gcc_video_axi0_clk = …;
static struct clk_branch gcc_video_axi1_clk = …;
static struct clk_branch gcc_video_cvp_throttle_clk = …;
static struct clk_branch gcc_video_vcodec_throttle_clk = …;
static struct gdsc pcie_0_tunnel_gdsc = …;
static struct gdsc pcie_1_tunnel_gdsc = …;
static struct gdsc pcie_2a_gdsc = …;
static struct gdsc pcie_2b_gdsc = …;
static struct gdsc pcie_3a_gdsc = …;
static struct gdsc pcie_3b_gdsc = …;
static struct gdsc pcie_4_gdsc = …;
static struct gdsc ufs_card_gdsc = …;
static struct gdsc ufs_phy_gdsc = …;
static struct gdsc usb30_mp_gdsc = …;
static struct gdsc usb30_prim_gdsc = …;
static struct gdsc usb30_sec_gdsc = …;
static struct gdsc emac_0_gdsc = …;
static struct gdsc emac_1_gdsc = …;
static struct gdsc usb4_1_gdsc = …;
static struct gdsc usb4_gdsc = …;
static struct gdsc hlos1_vote_mmnoc_mmu_tbu_hf0_gdsc = …;
static struct gdsc hlos1_vote_mmnoc_mmu_tbu_hf1_gdsc = …;
static struct gdsc hlos1_vote_mmnoc_mmu_tbu_sf0_gdsc = …;
static struct gdsc hlos1_vote_mmnoc_mmu_tbu_sf1_gdsc = …;
static struct gdsc hlos1_vote_turing_mmu_tbu0_gdsc = …;
static struct gdsc hlos1_vote_turing_mmu_tbu1_gdsc = …;
static struct gdsc hlos1_vote_turing_mmu_tbu2_gdsc = …;
static struct gdsc hlos1_vote_turing_mmu_tbu3_gdsc = …;
static struct clk_regmap *gcc_sc8280xp_clocks[] = …;
static const struct qcom_reset_map gcc_sc8280xp_resets[] = …;
static struct gdsc *gcc_sc8280xp_gdscs[] = …;
static const struct clk_rcg_dfs_data gcc_dfs_clocks[] = …;
static const struct regmap_config gcc_sc8280xp_regmap_config = …;
static const struct qcom_cc_desc gcc_sc8280xp_desc = …;
static int gcc_sc8280xp_probe(struct platform_device *pdev)
{ … }
static const struct of_device_id gcc_sc8280xp_match_table[] = …;
MODULE_DEVICE_TABLE(of, gcc_sc8280xp_match_table);
static struct platform_driver gcc_sc8280xp_driver = …;
static int __init gcc_sc8280xp_init(void)
{ … }
subsys_initcall(gcc_sc8280xp_init);
static void __exit gcc_sc8280xp_exit(void)
{ … }
module_exit(gcc_sc8280xp_exit);
MODULE_DESCRIPTION(…) …;
MODULE_LICENSE(…) …;