#include <linux/clk.h>
#include <linux/clk-provider.h>
#include <linux/io.h>
#include <linux/platform_device.h>
#include <linux/pm_runtime.h>
#include <linux/reset.h>
#include <dt-bindings/clock/starfive,jh7110-crg.h>
#include "clk-starfive-jh7110.h"
#define JH7110_ISPCLK_ISP_TOP_CORE …
#define JH7110_ISPCLK_ISP_TOP_AXI …
#define JH7110_ISPCLK_NOC_BUS_ISP_AXI …
#define JH7110_ISPCLK_DVP_CLK …
#define JH7110_ISPCLK_EXT_END …
static struct clk_bulk_data jh7110_isp_top_clks[] = …;
static const struct jh71x0_clk_data jh7110_ispclk_data[] = …;
static inline int jh7110_isp_top_rst_init(struct jh71x0_clk_priv *priv)
{ … }
static struct clk_hw *jh7110_ispclk_get(struct of_phandle_args *clkspec, void *data)
{ … }
#ifdef CONFIG_PM
static int jh7110_ispcrg_suspend(struct device *dev)
{ … }
static int jh7110_ispcrg_resume(struct device *dev)
{ … }
static const struct dev_pm_ops jh7110_ispcrg_pm_ops = …;
#endif
static int jh7110_ispcrg_probe(struct platform_device *pdev)
{ … }
static void jh7110_ispcrg_remove(struct platform_device *pdev)
{ … }
static const struct of_device_id jh7110_ispcrg_match[] = …;
MODULE_DEVICE_TABLE(of, jh7110_ispcrg_match);
static struct platform_driver jh7110_ispcrg_driver = …;
module_platform_driver(…) …;
MODULE_AUTHOR(…) …;
MODULE_DESCRIPTION(…) …;
MODULE_LICENSE(…) …;