[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20251026122143.71100-2-linux@fw-web.de>
Date: Sun, 26 Oct 2025 13:21:30 +0100
From: Frank Wunderlich <linux@...web.de>
To: "Rafael J. Wysocki" <rafael@...nel.org>,
Daniel Lezcano <daniel.lezcano@...aro.org>,
Zhang Rui <rui.zhang@...el.com>,
Lukasz Luba <lukasz.luba@....com>,
Rob Herring <robh@...nel.org>,
Krzysztof Kozlowski <krzk+dt@...nel.org>,
Conor Dooley <conor+dt@...nel.org>,
Matthias Brugger <matthias.bgg@...il.com>,
AngeloGioacchino Del Regno <angelogioacchino.delregno@...labora.com>
Cc: Frank Wunderlich <frank-w@...lic-files.de>,
Nícolas F. R. A. Prado <nfraprado@...labora.com>,
Mason Chang <mason-cw.chang@...iatek.com>,
Uwe Kleine-König <u.kleine-koenig@...libre.com>,
Balsam CHIHI <bchihi@...libre.com>,
linux-pm@...r.kernel.org,
devicetree@...r.kernel.org,
linux-kernel@...r.kernel.org,
linux-arm-kernel@...ts.infradead.org,
linux-mediatek@...ts.infradead.org
Subject: [PATCH v1 1/5] dt-bindings: thermal: mediatek: make interrupt only required for current SoCs
From: Frank Wunderlich <frank-w@...lic-files.de>
Upcoming MT7987 does not have a IRQ we have to make interrupt-property only
required for current supported SoCs.
Signed-off-by: Frank Wunderlich <frank-w@...lic-files.de>
---
.../bindings/thermal/mediatek,lvts-thermal.yaml | 17 ++++++++++++++++-
1 file changed, 16 insertions(+), 1 deletion(-)
diff --git a/Documentation/devicetree/bindings/thermal/mediatek,lvts-thermal.yaml b/Documentation/devicetree/bindings/thermal/mediatek,lvts-thermal.yaml
index 0259cd3ce9c5..7ec9c46eef22 100644
--- a/Documentation/devicetree/bindings/thermal/mediatek,lvts-thermal.yaml
+++ b/Documentation/devicetree/bindings/thermal/mediatek,lvts-thermal.yaml
@@ -58,6 +58,16 @@ properties:
allOf:
- $ref: thermal-sensor.yaml#
+ - if:
+ properties:
+ compatible:
+ contains:
+ enum:
+ - mediatek,mt7988-lvts-ap
+ then:
+ required:
+ - interrupts
+
- if:
properties:
compatible:
@@ -75,6 +85,9 @@ allOf:
nvmem-cell-names:
maxItems: 1
+ required:
+ - interrupts
+
- if:
properties:
compatible:
@@ -91,10 +104,12 @@ allOf:
nvmem-cell-names:
minItems: 2
+ required:
+ - interrupts
+
required:
- compatible
- reg
- - interrupts
- clocks
- resets
- nvmem-cells
--
2.43.0
Powered by blists - more mailing lists