[PATCH v2] arm64: dts: msm8916: Add cpu cooling maps

Viresh Kumar viresh.kumar at linaro.org
Tue Mar 6 21:14:36 PST 2018


On Wed, Mar 7, 2018 at 10:30 AM, Amit Kucheria <amit.kucheria at linaro.org> wrote:
> From: Rajendra Nayak <rnayak at codeaurora.org>
>
> Add cpu cooling maps for cpu passive trip points. The cpu cooling
> device states are mapped to cpufreq based scaling frequencies.
>
> Signed-off-by: Rajendra Nayak <rnayak at codeaurora.org>
> Signed-off-by: Amit Kucheria <amit.kucheria at linaro.org>
> ---
>  arch/arm64/boot/dts/qcom/msm8916.dtsi | 19 +++++++++++++++++++
>  1 file changed, 19 insertions(+)
>
> diff --git a/arch/arm64/boot/dts/qcom/msm8916.dtsi b/arch/arm64/boot/dts/qcom/msm8916.dtsi
> index e468277..66b318e 100644
> --- a/arch/arm64/boot/dts/qcom/msm8916.dtsi
> +++ b/arch/arm64/boot/dts/qcom/msm8916.dtsi
> @@ -15,6 +15,7 @@
>  #include <dt-bindings/clock/qcom,gcc-msm8916.h>
>  #include <dt-bindings/reset/qcom,gcc-msm8916.h>
>  #include <dt-bindings/clock/qcom,rpmcc.h>
> +#include <dt-bindings/thermal/thermal.h>
>
>  / {
>         model = "Qualcomm Technologies, Inc. MSM8916";
> @@ -115,6 +116,7 @@
>                         cpu-idle-states = <&CPU_SPC>;
>                         clocks = <&apcs 0>;
>                         operating-points-v2 = <&cpu_opp_table>;
> +                       #cooling-cells = <2>;

LGTM.



More information about the linux-arm-kernel mailing list