#include <linux/clk-provider.h>
#include <linux/mod_devicetable.h>
#include <linux/module.h>
#include <linux/of.h>
#include <linux/platform_device.h>
#include <linux/regmap.h>
#include <dt-bindings/clock/qcom,sm7150-dispcc.h>
#include "clk-alpha-pll.h"
#include "clk-branch.h"
#include "clk-rcg.h"
#include "clk-regmap.h"
#include "clk-regmap-divider.h"
#include "common.h"
#include "gdsc.h"
enum { … };
enum { … };
static const struct pll_vco fabia_vco[] = …;
static const struct alpha_pll_config dispcc_pll0_config = …;
static struct clk_alpha_pll dispcc_pll0 = …;
static const struct parent_map dispcc_parent_map_0[] = …;
static const struct clk_parent_data dispcc_parent_data_0[] = …;
static const struct parent_map dispcc_parent_map_1[] = …;
static const struct clk_parent_data dispcc_parent_data_1[] = …;
static const struct parent_map dispcc_parent_map_2[] = …;
static const struct clk_parent_data dispcc_parent_data_2[] = …;
static const struct clk_parent_data dispcc_parent_data_2_ao[] = …;
static const struct parent_map dispcc_parent_map_3[] = …;
static const struct clk_parent_data dispcc_parent_data_3[] = …;
static const struct parent_map dispcc_parent_map_4[] = …;
static const struct clk_parent_data dispcc_parent_data_4[] = …;
static const struct parent_map dispcc_parent_map_5[] = …;
static const struct clk_parent_data dispcc_parent_data_5[] = …;
static const struct parent_map dispcc_parent_map_6[] = …;
static const struct clk_parent_data dispcc_parent_data_6[] = …;
static const struct freq_tbl ftbl_dispcc_mdss_ahb_clk_src[] = …;
static struct clk_rcg2 dispcc_mdss_ahb_clk_src = …;
static const struct freq_tbl ftbl_dispcc_mdss_byte0_clk_src[] = …;
static struct clk_rcg2 dispcc_mdss_byte0_clk_src = …;
static struct clk_rcg2 dispcc_mdss_byte1_clk_src = …;
static struct clk_rcg2 dispcc_mdss_dp_aux_clk_src = …;
static const struct freq_tbl ftbl_dispcc_mdss_dp_crypto_clk_src[] = …;
static struct clk_rcg2 dispcc_mdss_dp_crypto_clk_src = …;
static struct clk_rcg2 dispcc_mdss_dp_link_clk_src = …;
static struct clk_rcg2 dispcc_mdss_dp_pixel1_clk_src = …;
static struct clk_rcg2 dispcc_mdss_dp_pixel_clk_src = …;
static struct clk_rcg2 dispcc_mdss_esc0_clk_src = …;
static struct clk_rcg2 dispcc_mdss_esc1_clk_src = …;
static const struct freq_tbl ftbl_dispcc_mdss_mdp_clk_src[] = …;
static struct clk_rcg2 dispcc_mdss_mdp_clk_src = …;
static struct clk_rcg2 dispcc_mdss_pclk0_clk_src = …;
static struct clk_rcg2 dispcc_mdss_pclk1_clk_src = …;
static const struct freq_tbl ftbl_dispcc_mdss_rot_clk_src[] = …;
static struct clk_rcg2 dispcc_mdss_rot_clk_src = …;
static struct clk_rcg2 dispcc_mdss_vsync_clk_src = …;
static const struct freq_tbl ftbl_dispcc_sleep_clk_src[] = …;
static struct clk_rcg2 dispcc_sleep_clk_src = …;
static struct clk_rcg2 dispcc_xo_clk_src = …;
static struct clk_branch dispcc_mdss_ahb_clk = …;
static struct clk_branch dispcc_mdss_byte0_clk = …;
static struct clk_regmap_div dispcc_mdss_byte0_div_clk_src = …;
static struct clk_branch dispcc_mdss_byte0_intf_clk = …;
static struct clk_branch dispcc_mdss_byte1_clk = …;
static struct clk_regmap_div dispcc_mdss_byte1_div_clk_src = …;
static struct clk_branch dispcc_mdss_byte1_intf_clk = …;
static struct clk_branch dispcc_mdss_dp_aux_clk = …;
static struct clk_branch dispcc_mdss_dp_crypto_clk = …;
static struct clk_branch dispcc_mdss_dp_link_clk = …;
static struct clk_branch dispcc_mdss_dp_link_intf_clk = …;
static struct clk_branch dispcc_mdss_dp_pixel1_clk = …;
static struct clk_branch dispcc_mdss_dp_pixel_clk = …;
static struct clk_branch dispcc_mdss_esc0_clk = …;
static struct clk_branch dispcc_mdss_esc1_clk = …;
static struct clk_branch dispcc_mdss_mdp_clk = …;
static struct clk_branch dispcc_mdss_mdp_lut_clk = …;
static struct clk_branch dispcc_mdss_non_gdsc_ahb_clk = …;
static struct clk_branch dispcc_mdss_pclk0_clk = …;
static struct clk_branch dispcc_mdss_pclk1_clk = …;
static struct clk_branch dispcc_mdss_rot_clk = …;
static struct clk_branch dispcc_mdss_rscc_ahb_clk = …;
static struct clk_branch dispcc_mdss_rscc_vsync_clk = …;
static struct clk_branch dispcc_mdss_vsync_clk = …;
static struct clk_branch dispcc_sleep_clk = …;
static struct gdsc mdss_gdsc = …;
static struct clk_regmap *dispcc_sm7150_clocks[] = …;
static struct gdsc *dispcc_sm7150_gdscs[] = …;
static const struct regmap_config dispcc_sm7150_regmap_config = …;
static const struct qcom_cc_desc dispcc_sm7150_desc = …;
static const struct of_device_id dispcc_sm7150_match_table[] = …;
MODULE_DEVICE_TABLE(of, dispcc_sm7150_match_table);
static int dispcc_sm7150_probe(struct platform_device *pdev)
{ … }
static struct platform_driver dispcc_sm7150_driver = …;
module_platform_driver(…) …;
MODULE_DESCRIPTION(…) …;
MODULE_LICENSE(…) …;