Merge "ARM: dts: qcom: Add GPU scan dump skip cooling device support for sun"
This commit is contained in:
committed by
Gerrit - the friendly Code Review server
commit
dfd01687b8
@@ -1,6 +1,6 @@
|
|||||||
// SPDX-License-Identifier: BSD-3-Clause
|
// SPDX-License-Identifier: BSD-3-Clause
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 2022-2023 Qualcomm Innovation Center, Inc. All rights reserved.
|
* Copyright (c) 2022-2024 Qualcomm Innovation Center, Inc. All rights reserved.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <dt-bindings/input/input.h>
|
#include <dt-bindings/input/input.h>
|
||||||
@@ -46,6 +46,10 @@
|
|||||||
bits = <1 7>;
|
bits = <1 7>;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
wr_thermal_flag: wr_thermal-flag@58 {
|
||||||
|
reg = <0x58 0x1>;
|
||||||
|
};
|
||||||
|
|
||||||
alarm_log: alarm-log@76 {
|
alarm_log: alarm-log@76 {
|
||||||
reg = <0x76 0x6>;
|
reg = <0x76 0x6>;
|
||||||
};
|
};
|
||||||
|
@@ -5,6 +5,15 @@
|
|||||||
|
|
||||||
#include <dt-bindings/thermal/thermal_qti.h>
|
#include <dt-bindings/thermal/thermal_qti.h>
|
||||||
|
|
||||||
|
&soc {
|
||||||
|
gpu_dump_skip_cdev: qcom,gpu-dump-skip-cdev {
|
||||||
|
compatible = "qcom,gpu-dump-skip-cdev";
|
||||||
|
nvmem-cells = <&wr_thermal_flag>;
|
||||||
|
nvmem-cell-names = "wr_thermal_flag";
|
||||||
|
#cooling-cells = <2>;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
&thermal_zones {
|
&thermal_zones {
|
||||||
socd {
|
socd {
|
||||||
cooling-maps {
|
cooling-maps {
|
||||||
@@ -249,4 +258,21 @@
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
sys-therm-2 {
|
||||||
|
trips {
|
||||||
|
sys_therm2_config0: sys-therm2-config0 {
|
||||||
|
temperature = <60000>;
|
||||||
|
hysteresis = <10000>;
|
||||||
|
type = "passive";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
cooling-maps {
|
||||||
|
gpu_dump_skip {
|
||||||
|
trip = <&sys_therm2_config0>;
|
||||||
|
cooling-device = <&gpu_dump_skip_cdev 1 1>;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
@@ -1410,6 +1410,11 @@
|
|||||||
compatible = "qcom,msm-imem-mss-dsm";
|
compatible = "qcom,msm-imem-mss-dsm";
|
||||||
reg = <0xc98 0x10>;
|
reg = <0xc98 0x10>;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
sys_dbg@af8 {
|
||||||
|
compatible = "qcom,msm-imem-gpu-dump-skip";
|
||||||
|
reg = <0xb0c 0x4>;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
cluster-device0 {
|
cluster-device0 {
|
||||||
|
Reference in New Issue
Block a user