From f70575805708cabdedea7498aaa3f710fde4d920 Mon Sep 17 00:00:00 2001
From: hc <hc@nodka.com>
Date: Wed, 31 Jan 2024 03:29:01 +0000
Subject: [PATCH] add lvds1024*800
---
kernel/Documentation/devicetree/bindings/thermal/qcom-spmi-temp-alarm.txt | 18 ++++++------------
1 files changed, 6 insertions(+), 12 deletions(-)
diff --git a/kernel/Documentation/devicetree/bindings/thermal/qcom-spmi-temp-alarm.txt b/kernel/Documentation/devicetree/bindings/thermal/qcom-spmi-temp-alarm.txt
index 290ec06..2d5b2ad 100644
--- a/kernel/Documentation/devicetree/bindings/thermal/qcom-spmi-temp-alarm.txt
+++ b/kernel/Documentation/devicetree/bindings/thermal/qcom-spmi-temp-alarm.txt
@@ -6,10 +6,9 @@
Required properties:
- compatible: Should contain "qcom,spmi-temp-alarm".
-- reg: Specifies the SPMI address and length of the controller's
- registers.
+- reg: Specifies the SPMI address.
- interrupts: PMIC temperature alarm interrupt.
-- #thermal-sensor-cells: Should be 0. See thermal.txt for a description.
+- #thermal-sensor-cells: Should be 0. See Documentation/devicetree/bindings/thermal/thermal-sensor.yaml for a description.
Optional properties:
- io-channels: Should contain IIO channel specifier for the ADC channel,
@@ -20,7 +19,7 @@
pm8941_temp: thermal-alarm@2400 {
compatible = "qcom,spmi-temp-alarm";
- reg = <0x2400 0x100>;
+ reg = <0x2400>;
interrupts = <0 0x24 0 IRQ_TYPE_EDGE_RISING>;
#thermal-sensor-cells = <0>;
@@ -36,18 +35,13 @@
thermal-sensors = <&pm8941_temp>;
trips {
- passive {
- temperature = <1050000>;
+ stage1 {
+ temperature = <105000>;
hysteresis = <2000>;
type = "passive";
};
- alert {
+ stage2 {
temperature = <125000>;
- hysteresis = <2000>;
- type = "hot";
- };
- crit {
- temperature = <145000>;
hysteresis = <2000>;
type = "critical";
};
--
Gitblit v1.6.2