Loading Documentation/devicetree/bindings/arm/msm/msm-cpufreq.txt +5 −0 Original line number Diff line number Diff line Loading @@ -14,6 +14,11 @@ Optional properties: "cpuX_clk" for every CPU that's present. "l2_clk" when an async cache/CCI is present. Optional properties: - qcom,governor-per-policy: This property denotes that governor tunables should be associated with each cpufreq policy group instead of being global. Example: qcom,msm-cpufreq@0 { regs = <0 4> Loading drivers/cpufreq/qcom-cpufreq.c +4 −0 Original line number Diff line number Diff line Loading @@ -446,6 +446,10 @@ static int __init msm_cpufreq_probe(struct platform_device *pdev) cpufreq_frequency_table_get_attr(freq_table, cpu); } /* Use per-policy governor tunable for some targets */ if (of_property_read_bool(dev->of_node, "qcom,governor-per-policy")) msm_cpufreq_driver.flags |= CPUFREQ_HAVE_GOVERNOR_PER_POLICY; return 0; } Loading Loading
Documentation/devicetree/bindings/arm/msm/msm-cpufreq.txt +5 −0 Original line number Diff line number Diff line Loading @@ -14,6 +14,11 @@ Optional properties: "cpuX_clk" for every CPU that's present. "l2_clk" when an async cache/CCI is present. Optional properties: - qcom,governor-per-policy: This property denotes that governor tunables should be associated with each cpufreq policy group instead of being global. Example: qcom,msm-cpufreq@0 { regs = <0 4> Loading
drivers/cpufreq/qcom-cpufreq.c +4 −0 Original line number Diff line number Diff line Loading @@ -446,6 +446,10 @@ static int __init msm_cpufreq_probe(struct platform_device *pdev) cpufreq_frequency_table_get_attr(freq_table, cpu); } /* Use per-policy governor tunable for some targets */ if (of_property_read_bool(dev->of_node, "qcom,governor-per-policy")) msm_cpufreq_driver.flags |= CPUFREQ_HAVE_GOVERNOR_PER_POLICY; return 0; } Loading