Merge "ARM: dts: msm: Add cpufreq_thermal device for Sun"

This commit is contained in:
qctecmdr
2024-02-23 19:06:20 -08:00
committed by Gerrit - the friendly Code Review server
2 changed files with 53 additions and 0 deletions

View File

@@ -0,0 +1,47 @@
# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
%YAML 1.2
---
$id: http://devicetree.org/schemas/cpufreq/cpufreq-qcom-thermal.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#
title: Qualcomm Technologies, Inc. CPUFREQ Thermal
maintainers:
- Mike Tipton <quic_mdtipton@quicinc.com>
description: |
This device listens for CPU thermal frequency limit mailbox notifications and
informs the scheduler of them via thermal pressure.
properties:
compatible:
const: qcom,cpufreq-thermal
mboxes:
description: Mailboxes used for each cpufreq policy
qcom,policy-cpus:
$ref: /schemas/types.yaml#/definitions/uint32-array
description: Base CPU indices for each cpufreq policy
required:
- compatible
- mboxes
- qcom,policy-cpus
additionalProperties: false
examples:
- |
// Two clusters. The first cluster starts with CPU0, and the second cluster
// starts with CPU6. The mailboxes for each cluster are indexes 5 and 6 of
// the cpucp device.
soc {
cpufreq_thermal: qcom,cpufreq-thermal {
compatible = "qcom,cpufreq-thermal";
mboxes = <&cpucp 5>, <&cpucp 6>;
qcom,policy-cpus = <0 6>;
};
};
...

View File

@@ -1622,6 +1622,12 @@
"cdsp", "apss";
};
cpufreq_thermal: qcom,cpufreq-thermal {
compatible = "qcom,cpufreq-thermal";
mboxes = <&cpucp 5>, <&cpucp 6>;
qcom,policy-cpus = <0 6>;
};
cambistmclkcc: clock-controller@1760000 {
compatible = "qcom,sun-cambistmclkcc", "syscon";
reg = <0x1760000 0x6000>;