#include <linux/clk-provider.h>
#include <linux/kernel.h>
#include <linux/platform_device.h>
#include <linux/module.h>
#include <linux/regmap.h>
#include <linux/reset-controller.h>
#include <dt-bindings/clock/qcom,mmcc-apq8084.h>
#include <dt-bindings/reset/qcom,mmcc-apq8084.h>
#include "common.h"
#include "clk-regmap.h"
#include "clk-pll.h"
#include "clk-rcg.h"
#include "clk-branch.h"
#include "reset.h"
#include "gdsc.h"
enum { … };
static struct clk_pll mmpll0 = …;
static struct clk_regmap mmpll0_vote = …;
static struct clk_pll mmpll1 = …;
static struct clk_regmap mmpll1_vote = …;
static struct clk_pll mmpll2 = …;
static struct clk_pll mmpll3 = …;
static struct clk_pll mmpll4 = …;
static const struct parent_map mmcc_xo_mmpll0_mmpll1_gpll0_map[] = …;
static const struct clk_parent_data mmcc_xo_mmpll0_mmpll1_gpll0[] = …;
static const struct parent_map mmcc_xo_mmpll0_dsi_hdmi_gpll0_map[] = …;
static const struct clk_parent_data mmcc_xo_mmpll0_dsi_hdmi_gpll0[] = …;
static const struct parent_map mmcc_xo_mmpll0_1_2_gpll0_map[] = …;
static const struct clk_parent_data mmcc_xo_mmpll0_1_2_gpll0[] = …;
static const struct parent_map mmcc_xo_mmpll0_1_3_gpll0_map[] = …;
static const struct clk_parent_data mmcc_xo_mmpll0_1_3_gpll0[] = …;
static const struct parent_map mmcc_xo_dsi_hdmi_edp_map[] = …;
static const struct clk_parent_data mmcc_xo_dsi_hdmi_edp[] = …;
static const struct parent_map mmcc_xo_dsi_hdmi_edp_gpll0_map[] = …;
static const struct clk_parent_data mmcc_xo_dsi_hdmi_edp_gpll0[] = …;
static const struct parent_map mmcc_xo_dsibyte_hdmi_edp_gpll0_map[] = …;
static const struct clk_parent_data mmcc_xo_dsibyte_hdmi_edp_gpll0[] = …;
static const struct parent_map mmcc_xo_mmpll0_1_4_gpll0_map[] = …;
static const struct clk_parent_data mmcc_xo_mmpll0_1_4_gpll0[] = …;
static const struct parent_map mmcc_xo_mmpll0_1_4_gpll1_0_map[] = …;
static const struct clk_parent_data mmcc_xo_mmpll0_1_4_gpll1_0[] = …;
static const struct parent_map mmcc_xo_mmpll0_1_4_gpll1_0_sleep_map[] = …;
static const struct clk_parent_data mmcc_xo_mmpll0_1_4_gpll1_0_sleep[] = …;
static struct clk_rcg2 mmss_ahb_clk_src = …;
static struct freq_tbl ftbl_mmss_axi_clk[] = …;
static struct clk_rcg2 mmss_axi_clk_src = …;
static struct freq_tbl ftbl_ocmemnoc_clk[] = …;
static struct clk_rcg2 ocmemnoc_clk_src = …;
static struct freq_tbl ftbl_camss_csi0_3_clk[] = …;
static struct clk_rcg2 csi0_clk_src = …;
static struct clk_rcg2 csi1_clk_src = …;
static struct clk_rcg2 csi2_clk_src = …;
static struct clk_rcg2 csi3_clk_src = …;
static struct freq_tbl ftbl_camss_vfe_vfe0_1_clk[] = …;
static struct clk_rcg2 vfe0_clk_src = …;
static struct clk_rcg2 vfe1_clk_src = …;
static struct freq_tbl ftbl_mdss_mdp_clk[] = …;
static struct clk_rcg2 mdp_clk_src = …;
static struct clk_rcg2 gfx3d_clk_src = …;
static struct freq_tbl ftbl_camss_jpeg_jpeg0_2_clk[] = …;
static struct clk_rcg2 jpeg0_clk_src = …;
static struct clk_rcg2 jpeg1_clk_src = …;
static struct clk_rcg2 jpeg2_clk_src = …;
static struct clk_rcg2 pclk0_clk_src = …;
static struct clk_rcg2 pclk1_clk_src = …;
static struct freq_tbl ftbl_venus0_vcodec0_clk[] = …;
static struct clk_rcg2 vcodec0_clk_src = …;
static struct freq_tbl ftbl_avsync_vp_clk[] = …;
static struct clk_rcg2 vp_clk_src = …;
static struct freq_tbl ftbl_camss_cci_cci_clk[] = …;
static struct clk_rcg2 cci_clk_src = …;
static struct freq_tbl ftbl_camss_gp0_1_clk[] = …;
static struct clk_rcg2 camss_gp0_clk_src = …;
static struct clk_rcg2 camss_gp1_clk_src = …;
static struct freq_tbl ftbl_camss_mclk0_3_clk[] = …;
static struct clk_rcg2 mclk0_clk_src = …;
static struct clk_rcg2 mclk1_clk_src = …;
static struct clk_rcg2 mclk2_clk_src = …;
static struct clk_rcg2 mclk3_clk_src = …;
static struct freq_tbl ftbl_camss_phy0_2_csi0_2phytimer_clk[] = …;
static struct clk_rcg2 csi0phytimer_clk_src = …;
static struct clk_rcg2 csi1phytimer_clk_src = …;
static struct clk_rcg2 csi2phytimer_clk_src = …;
static struct freq_tbl ftbl_camss_vfe_cpp_clk[] = …;
static struct clk_rcg2 cpp_clk_src = …;
static struct clk_rcg2 byte0_clk_src = …;
static struct clk_rcg2 byte1_clk_src = …;
static struct freq_tbl ftbl_mdss_edpaux_clk[] = …;
static struct clk_rcg2 edpaux_clk_src = …;
static struct freq_tbl ftbl_mdss_edplink_clk[] = …;
static struct clk_rcg2 edplink_clk_src = …;
static struct freq_tbl edp_pixel_freq_tbl[] = …;
static struct clk_rcg2 edppixel_clk_src = …;
static struct freq_tbl ftbl_mdss_esc0_1_clk[] = …;
static struct clk_rcg2 esc0_clk_src = …;
static struct clk_rcg2 esc1_clk_src = …;
static struct freq_tbl extpclk_freq_tbl[] = …;
static struct clk_rcg2 extpclk_clk_src = …;
static struct freq_tbl ftbl_mdss_hdmi_clk[] = …;
static struct clk_rcg2 hdmi_clk_src = …;
static struct freq_tbl ftbl_mdss_vsync_clk[] = …;
static struct clk_rcg2 vsync_clk_src = …;
static struct freq_tbl ftbl_mmss_rbcpr_clk[] = …;
static struct clk_rcg2 rbcpr_clk_src = …;
static struct freq_tbl ftbl_oxili_rbbmtimer_clk[] = …;
static struct clk_rcg2 rbbmtimer_clk_src = …;
static struct freq_tbl ftbl_vpu_maple_clk[] = …;
static struct clk_rcg2 maple_clk_src = …;
static struct freq_tbl ftbl_vpu_vdp_clk[] = …;
static struct clk_rcg2 vdp_clk_src = …;
static struct freq_tbl ftbl_vpu_bus_clk[] = …;
static struct clk_rcg2 vpu_bus_clk_src = …;
static struct clk_branch mmss_cxo_clk = …;
static struct clk_branch mmss_sleepclk_clk = …;
static struct clk_branch avsync_ahb_clk = …;
static struct clk_branch avsync_edppixel_clk = …;
static struct clk_branch avsync_extpclk_clk = …;
static struct clk_branch avsync_pclk0_clk = …;
static struct clk_branch avsync_pclk1_clk = …;
static struct clk_branch avsync_vp_clk = …;
static struct clk_branch camss_ahb_clk = …;
static struct clk_branch camss_cci_cci_ahb_clk = …;
static struct clk_branch camss_cci_cci_clk = …;
static struct clk_branch camss_csi0_ahb_clk = …;
static struct clk_branch camss_csi0_clk = …;
static struct clk_branch camss_csi0phy_clk = …;
static struct clk_branch camss_csi0pix_clk = …;
static struct clk_branch camss_csi0rdi_clk = …;
static struct clk_branch camss_csi1_ahb_clk = …;
static struct clk_branch camss_csi1_clk = …;
static struct clk_branch camss_csi1phy_clk = …;
static struct clk_branch camss_csi1pix_clk = …;
static struct clk_branch camss_csi1rdi_clk = …;
static struct clk_branch camss_csi2_ahb_clk = …;
static struct clk_branch camss_csi2_clk = …;
static struct clk_branch camss_csi2phy_clk = …;
static struct clk_branch camss_csi2pix_clk = …;
static struct clk_branch camss_csi2rdi_clk = …;
static struct clk_branch camss_csi3_ahb_clk = …;
static struct clk_branch camss_csi3_clk = …;
static struct clk_branch camss_csi3phy_clk = …;
static struct clk_branch camss_csi3pix_clk = …;
static struct clk_branch camss_csi3rdi_clk = …;
static struct clk_branch camss_csi_vfe0_clk = …;
static struct clk_branch camss_csi_vfe1_clk = …;
static struct clk_branch camss_gp0_clk = …;
static struct clk_branch camss_gp1_clk = …;
static struct clk_branch camss_ispif_ahb_clk = …;
static struct clk_branch camss_jpeg_jpeg0_clk = …;
static struct clk_branch camss_jpeg_jpeg1_clk = …;
static struct clk_branch camss_jpeg_jpeg2_clk = …;
static struct clk_branch camss_jpeg_jpeg_ahb_clk = …;
static struct clk_branch camss_jpeg_jpeg_axi_clk = …;
static struct clk_branch camss_mclk0_clk = …;
static struct clk_branch camss_mclk1_clk = …;
static struct clk_branch camss_mclk2_clk = …;
static struct clk_branch camss_mclk3_clk = …;
static struct clk_branch camss_micro_ahb_clk = …;
static struct clk_branch camss_phy0_csi0phytimer_clk = …;
static struct clk_branch camss_phy1_csi1phytimer_clk = …;
static struct clk_branch camss_phy2_csi2phytimer_clk = …;
static struct clk_branch camss_top_ahb_clk = …;
static struct clk_branch camss_vfe_cpp_ahb_clk = …;
static struct clk_branch camss_vfe_cpp_clk = …;
static struct clk_branch camss_vfe_vfe0_clk = …;
static struct clk_branch camss_vfe_vfe1_clk = …;
static struct clk_branch camss_vfe_vfe_ahb_clk = …;
static struct clk_branch camss_vfe_vfe_axi_clk = …;
static struct clk_branch mdss_ahb_clk = …;
static struct clk_branch mdss_axi_clk = …;
static struct clk_branch mdss_byte0_clk = …;
static struct clk_branch mdss_byte1_clk = …;
static struct clk_branch mdss_edpaux_clk = …;
static struct clk_branch mdss_edplink_clk = …;
static struct clk_branch mdss_edppixel_clk = …;
static struct clk_branch mdss_esc0_clk = …;
static struct clk_branch mdss_esc1_clk = …;
static struct clk_branch mdss_extpclk_clk = …;
static struct clk_branch mdss_hdmi_ahb_clk = …;
static struct clk_branch mdss_hdmi_clk = …;
static struct clk_branch mdss_mdp_clk = …;
static struct clk_branch mdss_mdp_lut_clk = …;
static struct clk_branch mdss_pclk0_clk = …;
static struct clk_branch mdss_pclk1_clk = …;
static struct clk_branch mdss_vsync_clk = …;
static struct clk_branch mmss_rbcpr_ahb_clk = …;
static struct clk_branch mmss_rbcpr_clk = …;
static struct clk_branch mmss_misc_ahb_clk = …;
static struct clk_branch mmss_mmssnoc_ahb_clk = …;
static struct clk_branch mmss_mmssnoc_bto_ahb_clk = …;
static struct clk_branch mmss_mmssnoc_axi_clk = …;
static struct clk_branch mmss_s0_axi_clk = …;
static struct clk_branch ocmemcx_ahb_clk = …;
static struct clk_branch ocmemcx_ocmemnoc_clk = …;
static struct clk_branch oxili_ocmemgx_clk = …;
static struct clk_branch oxili_gfx3d_clk = …;
static struct clk_branch oxili_rbbmtimer_clk = …;
static struct clk_branch oxilicx_ahb_clk = …;
static struct clk_branch venus0_ahb_clk = …;
static struct clk_branch venus0_axi_clk = …;
static struct clk_branch venus0_core0_vcodec_clk = …;
static struct clk_branch venus0_core1_vcodec_clk = …;
static struct clk_branch venus0_ocmemnoc_clk = …;
static struct clk_branch venus0_vcodec0_clk = …;
static struct clk_branch vpu_ahb_clk = …;
static struct clk_branch vpu_axi_clk = …;
static struct clk_branch vpu_bus_clk = …;
static struct clk_branch vpu_cxo_clk = …;
static struct clk_branch vpu_maple_clk = …;
static struct clk_branch vpu_sleep_clk = …;
static struct clk_branch vpu_vdp_clk = …;
static const struct pll_config mmpll1_config = …;
static const struct pll_config mmpll3_config = …;
static struct gdsc venus0_gdsc = …;
static struct gdsc venus0_core0_gdsc = …;
static struct gdsc venus0_core1_gdsc = …;
static struct gdsc mdss_gdsc = …;
static struct gdsc camss_jpeg_gdsc = …;
static struct gdsc camss_vfe_gdsc = …;
static struct gdsc oxili_gdsc = …;
static struct gdsc oxilicx_gdsc = …;
static struct clk_regmap *mmcc_apq8084_clocks[] = …;
static const struct qcom_reset_map mmcc_apq8084_resets[] = …;
static struct gdsc *mmcc_apq8084_gdscs[] = …;
static const struct regmap_config mmcc_apq8084_regmap_config = …;
static const struct qcom_cc_desc mmcc_apq8084_desc = …;
static const struct of_device_id mmcc_apq8084_match_table[] = …;
MODULE_DEVICE_TABLE(of, mmcc_apq8084_match_table);
static int mmcc_apq8084_probe(struct platform_device *pdev)
{ … }
static struct platform_driver mmcc_apq8084_driver = …;
module_platform_driver(…) …;
MODULE_DESCRIPTION(…) …;
MODULE_LICENSE(…) …;
MODULE_ALIAS(…) …;