#include <linux/clk-provider.h>
#include <linux/of.h>
#include <linux/of_address.h>
#include <linux/of_platform.h>
#include <linux/platform_device.h>
#include "clk-mtk.h"
#include "clk-gate.h"
#include <dt-bindings/clock/mt2701-clk.h>
#define GATE_AUDIO0(_id, _name, _parent, _shift) …
#define GATE_AUDIO1(_id, _name, _parent, _shift) …
#define GATE_AUDIO2(_id, _name, _parent, _shift) …
#define GATE_AUDIO3(_id, _name, _parent, _shift) …
static const struct mtk_gate_regs audio0_cg_regs = …;
static const struct mtk_gate_regs audio1_cg_regs = …;
static const struct mtk_gate_regs audio2_cg_regs = …;
static const struct mtk_gate_regs audio3_cg_regs = …;
static const struct mtk_gate audio_clks[] = …;
static const struct mtk_clk_desc audio_desc = …;
static const struct of_device_id of_match_clk_mt2701_aud[] = …;
MODULE_DEVICE_TABLE(of, of_match_clk_mt2701_aud);
static int clk_mt2701_aud_probe(struct platform_device *pdev)
{ … }
static void clk_mt2701_aud_remove(struct platform_device *pdev)
{ … }
static struct platform_driver clk_mt2701_aud_drv = …;
module_platform_driver(…) …;
MODULE_DESCRIPTION(…) …;
MODULE_LICENSE(…) …;