#include <linux/clk-provider.h>
#include <linux/device.h>
#include <linux/init.h>
#include <linux/mod_devicetable.h>
#include <linux/platform_device.h>
#include <dt-bindings/clock/starfive-jh7100.h>
#include "clk-starfive-jh71x0.h"
#define JH7100_CLK_OSC_SYS …
#define JH7100_CLK_OSC_AUD …
#define JH7100_CLK_GMAC_RMII_REF …
#define JH7100_CLK_GMAC_GR_MII_RX …
static const struct jh71x0_clk_data jh7100_clk_data[] __initconst = …;
static struct clk_hw *jh7100_clk_get(struct of_phandle_args *clkspec, void *data)
{ … }
static int __init clk_starfive_jh7100_probe(struct platform_device *pdev)
{ … }
static const struct of_device_id clk_starfive_jh7100_match[] = …;
static struct platform_driver clk_starfive_jh7100_driver = …;
builtin_platform_driver_probe(…);