Add bindings for thermal devices on Sun Soc, converted to YAML format. Change-Id: Ie5c39b55055c8f4e2a581128afdc45399cfb0c31 Signed-off-by: Rashid Zafar <quic_rzafar@quicinc.com>
42 lines
1.1 KiB
YAML
42 lines
1.1 KiB
YAML
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
|
|
%YAML 1.2
|
|
---
|
|
$id: http://devicetree.org/schemas/thermal/qti-cpufreq-cdev.yaml#
|
|
$schema: http://devicetree.org/meta-schemas/core.yaml#
|
|
|
|
title: Qualcomm Technologies, Inc. CPU Frequency Cooling Device
|
|
|
|
maintainers:
|
|
- Rashid Zafar <quic_rzafar@quicinc.com>
|
|
|
|
description: |
|
|
The CPU frequency cooling device will be used by userspace thermal daemon to
|
|
vote for frequency cap under thermal conditions. This driver will register a
|
|
cooling device for each CPU phandle specified in the devicetree.
|
|
|
|
properties:
|
|
compatible:
|
|
const: qcom,cpufreq-cdev
|
|
|
|
qcom,cpus:
|
|
$ref: "/schemas/types.yaml#/definitions/phandle-array"
|
|
description: |
|
|
Cooling device node where we list phandles to the CPUs.
|
|
Each CPU will be registered as a separate cooling device
|
|
with thermal framework.
|
|
|
|
required:
|
|
- compatible
|
|
- qcom,cpus
|
|
|
|
additionalProperties: false
|
|
|
|
examples:
|
|
- |
|
|
#include <dt-bindings/interrupt-controller/arm-gic.h>
|
|
|
|
qcom,cpufreq-cdev {
|
|
compatible = "qcom,cpufreq-cdev";
|
|
qcom,cpus = <&CPU0 &CPU4 &CPU7>;
|
|
};
|