can set imx6q cpufreq for android5.1

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

can set imx6q cpufreq for android5.1

655件の閲覧回数
增谋邢
Contributor II

in the drivers/cpufreq/imx6q-cpufreq.c for android5.1,  in the imx6q_cpufreq_probe function

arm_reg = devm_regulator_get_optional(cpu_dev, "arm");
pu_reg = devm_regulator_get_optional(cpu_dev, "pu");
soc_reg = devm_regulator_get_optional(cpu_dev, "soc");
if (IS_ERR(arm_reg) || IS_ERR(soc_reg)) {
    dev_err(cpu_dev, "failed to get regulators\n");
    ret = -ENOENT;
    goto put_node;
}

dc_reg = devm_regulator_get_optional(cpu_dev, "dc");
if (!IS_ERR(dc_reg))
regulator_set_voltage_tol(dc_reg, DC_VOLTAGE_MIN, 0);

kernel print failed to get regulators,  and return, why ?   I want to change the cpufreq, how to do for me?  tks.

ラベル(4)
0 件の賞賛
返信
1 返信

473件の閲覧回数
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hi

One can refer to chapter Low-level Power Management (PM) Driver of the Linux Manual for implemented linux low power states, seems suspend-to-memory and this dts property is not used in i.mx6 nxp bsps.

In general one can debug it using described sources in Chapter PF100 Regulator Driver.

CPU Frequency Scaling (CPUFREQ) Driver in Linux Manual, which changes CPU frequency and dts file

linux/arch/arm/boot/dts/imx6q.dtsi,

In older linux releases one can try kernel boot parameter "arm_freq"

described in Table 6. Kernel Boot Parameters Linux Release Notes.

0 件の賞賛
返信