linux/drivers/clk/starfive/clk-starfive-jh7110-aon.c

// SPDX-License-Identifier: GPL-2.0
/*
 * StarFive JH7110 Always-On Clock Driver
 *
 * Copyright (C) 2022 Emil Renner Berthing <[email protected]>
 * Copyright (C) 2022 StarFive Technology Co., Ltd.
 */

#include <linux/clk-provider.h>
#include <linux/io.h>
#include <linux/platform_device.h>

#include <dt-bindings/clock/starfive,jh7110-crg.h>

#include "clk-starfive-jh7110.h"

/* external clocks */
#define JH7110_AONCLK_OSC
#define JH7110_AONCLK_GMAC0_RMII_REFIN
#define JH7110_AONCLK_GMAC0_RGMII_RXIN
#define JH7110_AONCLK_STG_AXIAHB
#define JH7110_AONCLK_APB_BUS
#define JH7110_AONCLK_GMAC0_GTXCLK
#define JH7110_AONCLK_RTC_OSC

static const struct jh71x0_clk_data jh7110_aonclk_data[] =;

static struct clk_hw *jh7110_aonclk_get(struct of_phandle_args *clkspec, void *data)
{}

static int jh7110_aoncrg_probe(struct platform_device *pdev)
{}

static const struct of_device_id jh7110_aoncrg_match[] =;
MODULE_DEVICE_TABLE(of, jh7110_aoncrg_match);

static struct platform_driver jh7110_aoncrg_driver =;
module_platform_driver();

MODULE_AUTHOR();
MODULE_DESCRIPTION();
MODULE_LICENSE();