linux/drivers/cpufreq/armada-8k-cpufreq.c

// SPDX-License-Identifier: GPL-2.0+
/*
 * CPUFreq support for Armada 8K
 *
 * Copyright (C) 2018 Marvell
 *
 * Omri Itach <[email protected]>
 * Gregory Clement <[email protected]>
 */

#define pr_fmt(fmt)

#include <linux/clk.h>
#include <linux/cpu.h>
#include <linux/err.h>
#include <linux/init.h>
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/of.h>
#include <linux/platform_device.h>
#include <linux/pm_opp.h>
#include <linux/slab.h>

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

/*
 * Setup the opps list with the divider for the max frequency, that
 * will be filled at runtime.
 */
static const int opps_div[] __initconst =;

static struct platform_device *armada_8k_pdev;

struct freq_table {};

/* If the CPUs share the same clock, then they are in the same cluster. */
static void __init armada_8k_get_sharing_cpus(struct clk *cur_clk,
					      struct cpumask *cpumask)
{}

static int __init armada_8k_add_opp(struct clk *clk, struct device *cpu_dev,
				    struct freq_table *freq_tables,
				    int opps_index)
{}

static void armada_8k_cpufreq_free_table(struct freq_table *freq_tables)
{}

static int __init armada_8k_cpufreq_init(void)
{}
module_init();

static void __exit armada_8k_cpufreq_exit(void)
{}
module_exit(armada_8k_cpufreq_exit);

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