#include <linux/clk-provider.h>
#include <linux/mod_devicetable.h>
#include <linux/module.h>
#include <linux/platform_device.h>
#include <linux/regmap.h>
#include <dt-bindings/clock/qcom,sm8650-tcsr.h>
#include "clk-branch.h"
#include "clk-regmap.h"
#include "common.h"
#include "reset.h"
enum { … };
static struct clk_branch tcsr_pcie_0_clkref_en = …;
static struct clk_branch tcsr_pcie_1_clkref_en = …;
static struct clk_branch tcsr_ufs_clkref_en = …;
static struct clk_branch tcsr_ufs_pad_clkref_en = …;
static struct clk_branch tcsr_usb2_clkref_en = …;
static struct clk_branch tcsr_usb3_clkref_en = …;
static struct clk_regmap *tcsr_cc_sm8650_clocks[] = …;
static const struct regmap_config tcsr_cc_sm8650_regmap_config = …;
static const struct qcom_cc_desc tcsr_cc_sm8650_desc = …;
static const struct of_device_id tcsr_cc_sm8650_match_table[] = …;
MODULE_DEVICE_TABLE(of, tcsr_cc_sm8650_match_table);
static int tcsr_cc_sm8650_probe(struct platform_device *pdev)
{ … }
static struct platform_driver tcsr_cc_sm8650_driver = …;
static int __init tcsr_cc_sm8650_init(void)
{ … }
subsys_initcall(tcsr_cc_sm8650_init);
static void __exit tcsr_cc_sm8650_exit(void)
{ … }
module_exit(tcsr_cc_sm8650_exit);
MODULE_DESCRIPTION(…) …;
MODULE_LICENSE(…) …;