#include <dt-bindings/clock/mt8173-clk.h>
#include <linux/module.h>
#include <linux/platform_device.h>
#include "clk-cpumux.h"
#include "clk-gate.h"
#include "clk-mtk.h"
#include "reset.h"
#define GATE_ICG(_id, _name, _parent, _shift) …
static struct clk_hw_onecell_data *infra_clk_data;
static const struct mtk_gate_regs infra_cg_regs = …;
static const char * const ca53_parents[] __initconst = …;
static const char * const ca72_parents[] __initconst = …;
static const struct mtk_composite cpu_muxes[] = …;
static const struct mtk_fixed_factor infra_early_divs[] = …;
static const struct mtk_gate infra_gates[] = …;
static u16 infrasys_rst_ofs[] = …;
static const struct mtk_clk_rst_desc clk_rst_desc = …;
static const struct of_device_id of_match_clk_mt8173_infracfg[] = …;
MODULE_DEVICE_TABLE(of, of_match_clk_mt8173_infracfg);
static void clk_mt8173_infra_init_early(struct device_node *node)
{ … }
CLK_OF_DECLARE_DRIVER(mtk_infrasys, "mediatek,mt8173-infracfg",
clk_mt8173_infra_init_early);
static int clk_mt8173_infracfg_probe(struct platform_device *pdev)
{ … }
static void clk_mt8173_infracfg_remove(struct platform_device *pdev)
{ … }
static struct platform_driver clk_mt8173_infracfg_drv = …;
module_platform_driver(…) …;
MODULE_DESCRIPTION(…) …;
MODULE_LICENSE(…) …;