Merge "ARM: dts: qcom: enable limits stats driver for sun"
This commit is contained in:
committed by
Gerrit - the friendly Code Review server
commit
39f546c72c
64
bindings/thermal/qti-limits-stat.yaml
Normal file
64
bindings/thermal/qti-limits-stat.yaml
Normal file
@@ -0,0 +1,64 @@
|
||||
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
|
||||
%YAML 1.2
|
||||
---
|
||||
$id: http://devicetree.org/schemas/thermal/qti-limits-stat.yaml#
|
||||
$schema: http://devicetree.org/meta-schemas/core.yaml#
|
||||
|
||||
title: Qualcomm Technologies, Inc. Limits Stat driver
|
||||
|
||||
maintainers:
|
||||
- Manaf Meethalavalappu Pallikunhi <quic_manafm@quicinc.com>
|
||||
|
||||
description: |
|
||||
The QTI Limits stats driver is used to collect different limits stats.
|
||||
It collects CPU average and peak current, CPUs online mask, CPUs Load
|
||||
percentage, CPU temperature, BCL levels, PE current, PE thresholds etc..
|
||||
|
||||
properties:
|
||||
compatible:
|
||||
const: qcom,limits-stat
|
||||
|
||||
reg:
|
||||
maxItems: 1
|
||||
description: |
|
||||
<a b> where 'a' is the RDPM PE base register address and
|
||||
'b' is the size of the RDPM PE address space.
|
||||
|
||||
reg-names:
|
||||
maxItems: 1
|
||||
description: |
|
||||
user defined names for the register set. These register names
|
||||
will be used by the drivers to identify the RDPM PE HW block.
|
||||
|
||||
qcom,limits-stat-sensor-names:
|
||||
maxItems: 1
|
||||
description: |
|
||||
This contains list of thermal zone sensors those need to be monitored
|
||||
as part of limits stat collection.
|
||||
|
||||
required:
|
||||
- compatible
|
||||
- qcom,limits-stat-sensor-names
|
||||
|
||||
additionalProperties: false
|
||||
|
||||
examples:
|
||||
- |
|
||||
limits-stat@637000 {
|
||||
compatible = "qcom,limits-stat";
|
||||
reg = <0x637000 0x1000>;
|
||||
reg-names = "rdpm_pe_mx";
|
||||
qcom,limits-stat-sensor-names = "cpu-0-0",
|
||||
"cpu-0-1",
|
||||
"cpu-0-2",
|
||||
"cpu-0-3",
|
||||
"cpu-1-0",
|
||||
"cpu-1-1",
|
||||
"cpu-1-2",
|
||||
"cpu-1-3",
|
||||
"gpuss-0",
|
||||
"gpuss-1",
|
||||
"nspss-0";
|
||||
"nspss-1";
|
||||
"nspss-2";
|
||||
};
|
@@ -273,6 +273,25 @@
|
||||
#cooling-cells = <2>;
|
||||
};
|
||||
};
|
||||
|
||||
limits_stat: limits-stat {
|
||||
compatible = "qcom,limits-stat";
|
||||
qcom,limits-stat-sensor-names = "aoss-0", "cpu-0-0-0", "cpu-0-0-1",
|
||||
"cpu-0-1-0", "cpu-0-1-1", "cpu-0-2-0",
|
||||
"cpu-0-2-1", "cpu-0-3-0", "cpu-0-3-1",
|
||||
"cpu-0-4-0", "cpu-0-4-1", "cpu-0-5-0",
|
||||
"cpu-0-5-1", "cpuss-0-0", "cpuss-0-1",
|
||||
"aoss-1", "cpu-1-0-0", "cpu-1-0-1",
|
||||
"cpu-1-1-0", "cpu-1-1-1", "cpuss-1-0",
|
||||
"cpuss-1-1", "nsphvx-0", "nsphvx-1",
|
||||
"nsphvx-2", "nsphmx-0", "nsphmx-1",
|
||||
"nsphmx-2", "nsphmx-3", "ddr", "aoss-2",
|
||||
"gpuss-0", "gpuss-1", "gpuss-2",
|
||||
"gpuss-3", "gpuss-4", "gpuss-5", "gpuss-6",
|
||||
"gpuss-7", "mdmss-0", "mdmss-1", "mdmss-2",
|
||||
"mdmss-3", "camera-0", "camera-1", "video",
|
||||
"aoss-3", "pmih010x-ibat-lvl0", "vbat";
|
||||
};
|
||||
};
|
||||
|
||||
#include "sun-thermal-modem.dtsi"
|
||||
|
Reference in New Issue
Block a user