#include <linux/clk-provider.h>
#include <linux/module.h>
#include <linux/platform_device.h>
#include <linux/regmap.h>
#include <dt-bindings/clock/qcom,gpucc-sm6350.h>
#include "common.h"
#include "clk-alpha-pll.h"
#include "clk-branch.h"
#include "clk-rcg.h"
#include "clk-regmap.h"
#include "reset.h"
#include "gdsc.h"
#define CX_GMU_CBCR_SLEEP_MASK …
#define CX_GMU_CBCR_SLEEP_SHIFT …
#define CX_GMU_CBCR_WAKE_MASK …
#define CX_GMU_CBCR_WAKE_SHIFT …
enum { … };
enum { … };
static const struct pll_vco fabia_vco[] = …;
static const struct alpha_pll_config gpu_cc_pll0_config = …;
static struct clk_alpha_pll gpu_cc_pll0 = …;
static struct clk_fixed_factor crc_div = …;
static const struct alpha_pll_config gpu_cc_pll1_config = …;
static struct clk_alpha_pll gpu_cc_pll1 = …;
static const struct parent_map gpu_cc_parent_map_0[] = …;
static const struct clk_parent_data gpu_cc_parent_data_0[] = …;
static const struct parent_map gpu_cc_parent_map_1[] = …;
static const struct clk_parent_data gpu_cc_parent_data_1[] = …;
static const struct freq_tbl ftbl_gpu_cc_gmu_clk_src[] = …;
static struct clk_rcg2 gpu_cc_gmu_clk_src = …;
static const struct freq_tbl ftbl_gpu_cc_gx_gfx3d_clk_src[] = …;
static struct clk_rcg2 gpu_cc_gx_gfx3d_clk_src = …;
static struct clk_branch gpu_cc_acd_ahb_clk = …;
static struct clk_branch gpu_cc_acd_cxo_clk = …;
static struct clk_branch gpu_cc_ahb_clk = …;
static struct clk_branch gpu_cc_crc_ahb_clk = …;
static struct clk_branch gpu_cc_cx_gfx3d_clk = …;
static struct clk_branch gpu_cc_cx_gfx3d_slv_clk = …;
static struct clk_branch gpu_cc_cx_gmu_clk = …;
static struct clk_branch gpu_cc_cx_snoc_dvm_clk = …;
static struct clk_branch gpu_cc_cxo_aon_clk = …;
static struct clk_branch gpu_cc_cxo_clk = …;
static struct clk_branch gpu_cc_gx_cxo_clk = …;
static struct clk_branch gpu_cc_gx_gfx3d_clk = …;
static struct clk_branch gpu_cc_gx_gmu_clk = …;
static struct clk_branch gpu_cc_gx_vsense_clk = …;
static struct gdsc gpu_cx_gdsc = …;
static struct gdsc gpu_gx_gdsc = …;
static struct clk_hw *gpu_cc_sm6350_hws[] = …;
static struct clk_regmap *gpu_cc_sm6350_clocks[] = …;
static struct gdsc *gpu_cc_sm6350_gdscs[] = …;
static const struct regmap_config gpu_cc_sm6350_regmap_config = …;
static const struct qcom_cc_desc gpu_cc_sm6350_desc = …;
static const struct of_device_id gpu_cc_sm6350_match_table[] = …;
MODULE_DEVICE_TABLE(of, gpu_cc_sm6350_match_table);
static int gpu_cc_sm6350_probe(struct platform_device *pdev)
{ … }
static struct platform_driver gpu_cc_sm6350_driver = …;
static int __init gpu_cc_sm6350_init(void)
{ … }
core_initcall(gpu_cc_sm6350_init);
static void __exit gpu_cc_sm6350_exit(void)
{ … }
module_exit(gpu_cc_sm6350_exit);
MODULE_DESCRIPTION(…) …;
MODULE_LICENSE(…) …;