cpufreq_register_driver(&dt_cpufreq_driver),在drivers/cpufreq/cpufreq.c中 cpufreq_register_driver为cpufreqdriver注册的入口,驱动程序通过调用该函数进行初始化,并传入相关的struct cpufreq_driver,cpufreq_register_driver会调用subsys_interface_register,入参为: static struct subsys_interface cpufreq_interface...
drivers/cpufreq/cpufreq.c Driver相关代码:drivers/cpufreq/cpufreq-dt.c /* platform driver */ d...
cpufreq_register_driver(&dt_cpufreq_driver),在drivers/cpufreq/cpufreq.c中 cpufreq_register_driver为cpufreqdriver注册的入口,驱动程序通过调用该函数进行初始化,并传入相关的struct cpufreq_driver,cpufreq_register_driver会调用subsys_interface_register,入参为:...
scaling_available_governors:内核中支持的governor; scaling_driver:硬件驱动,比如cpufreq-dt; scaling_cur_freq:CPU工作频率; scaling_max_freq:当前policy的频率上限; scaling_min_freq:当前policy的频率下限; scaling_governor:CPU调频策略,可以修改; scaling_setspeed:设置CPU运行频率; 如下图: sysfs回调下来后,会...
然后arm big little cpufreq driver出场了,其init接口位于“drivers/cpufreq/arm_big_little_dt.c”中,如下: 代码语言:javascript 复制 1:staticintgeneric_bL_probe(struct platform_device*pdev)2:{3:struct device_node*np;4:5:np=get_cpu_node_with_valid_op(0);6:if(!np)7:return-ENODEV;8:9:of...
1 change: 1 addition & 0 deletions 1 drivers/cpufreq/cpufreq-dt-platdev.c Original file line numberDiff line numberDiff line change @@ -149,6 +149,7 @@ static const struct of_device_id blocklist[] __initconst = { { .compatible = "qcom,sdm845", }, { .compatible = "qcom,sm61...
amd_freq_sensitivity.c apple-soc-cpufreq.c armada-37xx-cpufreq.c armada-8k-cpufreq.c bmips-cpufreq.c brcmstb-avs-cpufreq.c cppc_cpufreq.c cpufreq-dt-platdev.c cpufreq-dt.c cpufreq-dt.h cpufreq-nforce2.c cpufreq.c cpufreq_conservative.c cpufreq_governor.c cpufreq_governor.h cp...
Keep in mind that I'm still using legacy platform drivers and clocking, no dt's or common clock frame work. My issue begins with the inclusion of stuct cpufreq_frequency_table into struct cpufreq_policy, as part of the move from percpu to per-policy in the api. In 3...
The porblem is in [ drivers/cpufreq/imx-cpufreq-dt.c ], imx_cpufreq_dt_probe function,where it silently bails out if it can not find the 'cpu-power' property.Disabling the code that checks for this property, makes probe imx_cpufreq_dt_probe succeed,which in return ...
debian@bbb-pwr01-ser09:~$ uname -r ; cpufreq-info 4.19.94-ti-r73 cpufrequtils 008: cpufreq-info (C) Dominik Brodowski 2004-2009 Report errors and bugs to cpufreq@vger.kernel.org, please. analyzing CPU 0: driver: cpufreq-dt CPUs which run at the same hardware frequency: 0 CPUs ...