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

// SPDX-License-Identifier: GPL-2.0
/*
 * StarFive JH7110 Video-Output Clock Driver
 *
 * Copyright (C) 2022-2023 StarFive Technology Co., Ltd.
 */

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

/* external clocks */
#define JH7110_VOUTCLK_VOUT_SRC
#define JH7110_VOUTCLK_VOUT_TOP_AHB
#define JH7110_VOUTCLK_VOUT_TOP_AXI
#define JH7110_VOUTCLK_VOUT_TOP_HDMITX0_MCLK
#define JH7110_VOUTCLK_I2STX0_BCLK
#define JH7110_VOUTCLK_HDMITX0_PIXELCLK
#define JH7110_VOUTCLK_EXT_END

static struct clk_bulk_data jh7110_vout_top_clks[] =;

static const struct jh71x0_clk_data jh7110_voutclk_data[] =;

static int jh7110_vout_top_rst_init(struct jh71x0_clk_priv *priv)
{}

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

#ifdef CONFIG_PM
static int jh7110_voutcrg_suspend(struct device *dev)
{}

static int jh7110_voutcrg_resume(struct device *dev)
{}

static const struct dev_pm_ops jh7110_voutcrg_pm_ops =;
#endif

static int jh7110_voutcrg_probe(struct platform_device *pdev)
{}

static void jh7110_voutcrg_remove(struct platform_device *pdev)
{}

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

static struct platform_driver jh7110_voutcrg_driver =;
module_platform_driver();

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