#include <linux/clk-provider.h>
#include <linux/of.h>
#include <linux/of_address.h>
#include <linux/of_device.h>
#include <linux/platform_device.h>
#include "clk-mtk.h"
#include "clk-gate.h"
#include "clk-mux.h"
#include <dt-bindings/clock/mediatek,mt7988-clk.h>
#include <dt-bindings/reset/mediatek,mt7988-resets.h>
#define MT7988_INFRA_RST0_SET_OFFSET …
#define MT7988_INFRA_RST1_SET_OFFSET …
static DEFINE_SPINLOCK(mt7988_clk_lock);
static const char *const infra_mux_uart0_parents[] __initconst = …;
static const char *const infra_mux_uart1_parents[] __initconst = …;
static const char *const infra_mux_uart2_parents[] __initconst = …;
static const char *const infra_mux_spi0_parents[] __initconst = …;
static const char *const infra_mux_spi1_parents[] __initconst = …;
static const char *const infra_pwm_bck_parents[] __initconst = …;
static const char *const infra_pcie_gfmux_tl_ck_o_p0_parents[] __initconst = …;
static const char *const infra_pcie_gfmux_tl_ck_o_p1_parents[] __initconst = …;
static const char *const infra_pcie_gfmux_tl_ck_o_p2_parents[] __initconst = …;
static const char *const infra_pcie_gfmux_tl_ck_o_p3_parents[] __initconst = …;
static const struct mtk_mux infra_muxes[] = …;
static const struct mtk_gate_regs infra0_cg_regs = …;
static const struct mtk_gate_regs infra1_cg_regs = …;
static const struct mtk_gate_regs infra2_cg_regs = …;
static const struct mtk_gate_regs infra3_cg_regs = …;
#define GATE_INFRA0_FLAGS(_id, _name, _parent, _shift, _flags) …
#define GATE_INFRA1_FLAGS(_id, _name, _parent, _shift, _flags) …
#define GATE_INFRA2_FLAGS(_id, _name, _parent, _shift, _flags) …
#define GATE_INFRA3_FLAGS(_id, _name, _parent, _shift, _flags) …
#define GATE_INFRA0(_id, _name, _parent, _shift) …
#define GATE_INFRA1(_id, _name, _parent, _shift) …
#define GATE_INFRA2(_id, _name, _parent, _shift) …
#define GATE_INFRA3(_id, _name, _parent, _shift) …
static const struct mtk_gate infra_clks[] = …;
static u16 infra_rst_ofs[] = …;
static u16 infra_idx_map[] = …;
static struct mtk_clk_rst_desc infra_rst_desc = …;
static const struct mtk_clk_desc infra_desc = …;
static const struct of_device_id of_match_clk_mt7988_infracfg[] = …;
MODULE_DEVICE_TABLE(of, of_match_clk_mt7988_infracfg);
static struct platform_driver clk_mt7988_infracfg_drv = …;
module_platform_driver(…) …;
MODULE_DESCRIPTION(…) …;
MODULE_LICENSE(…) …;