linux/drivers/clk/starfive/clk-starfive-jh7100.c

// SPDX-License-Identifier: GPL-2.0
/*
 * StarFive JH7100 Clock Generator Driver
 *
 * Copyright 2021 Ahmad Fatoum, Pengutronix
 * Copyright (C) 2021 Glider bv
 * Copyright (C) 2021 Emil Renner Berthing <[email protected]>
 */

#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"

/* external clocks */
#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();