Files
kernel_common_drivers/drivers/cpufreq/main.c
T
Xingxing Wang 6afb050abf cpufreq: dvfs bringup of s7 [1/1]
PD#SWPL-152425

Problem:
s7 dvfs bringup

Solution:
use dvfs v2 to bringup s7

Verify:
s7 skt

Change-Id: Ic1499df11129da0b553d565c165bddffcb53acf8
Signed-off-by: Xingxing Wang <xingxing.wang@amlogic.com>
2024-01-22 12:48:45 +08:00

34 lines
690 B
C

// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
/*
* Copyright (c) 2019 Amlogic, Inc. All rights reserved.
*/
//#define DEBUG
#include <linux/module.h>
#include <linux/amlogic/module_merge.h>
#include "main.h"
#if IS_ENABLED(CONFIG_AMLOGIC_DEBUG)
#include <linux/amlogic/gki_module.h>
#endif
static int __init aml_cpufreq_init(void)
{
pr_debug("### %s() start\n", __func__);
call_sub_init(aml_cpufreq_v1_init);
call_sub_init(aml_cpufreq_v2_init);
pr_debug("### %s() end\n", __func__);
return 0;
}
static void __exit aml_cpufreq_exit(void)
{
aml_cpufreq_v2_exit();
aml_cpufreq_v1_exit();
}
module_init(aml_cpufreq_init);
module_exit(aml_cpufreq_exit);
MODULE_LICENSE("GPL v2");