#include <dt-bindings/clock/mediatek,mt6795-clk.h>
#include <dt-bindings/reset/mediatek,mt6795-resets.h>
#include <linux/module.h>
#include <linux/platform_device.h>
#include "clk-gate.h"
#include "clk-mtk.h"
#include "reset.h"
#define GATE_PERI(_id, _name, _parent, _shift) …
static DEFINE_SPINLOCK(mt6795_peri_clk_lock);
static const struct mtk_gate_regs peri_cg_regs = …;
static const char * const uart_ck_sel_parents[] = …;
static const struct mtk_composite peri_clks[] = …;
static const struct mtk_gate peri_gates[] = …;
static u16 peri_rst_ofs[] = …;
static u16 peri_idx_map[] = …;
static const struct mtk_clk_rst_desc clk_rst_desc = …;
static const struct of_device_id of_match_clk_mt6795_pericfg[] = …;
MODULE_DEVICE_TABLE(of, of_match_clk_mt6795_pericfg);
static int clk_mt6795_pericfg_probe(struct platform_device *pdev)
{ … }
static void clk_mt6795_pericfg_remove(struct platform_device *pdev)
{ … }
static struct platform_driver clk_mt6795_pericfg_drv = …;
module_platform_driver(…) …;
MODULE_DESCRIPTION(…) …;
MODULE_LICENSE(…) …;