[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20251106225929.1778398-5-ansuelsmth@gmail.com>
Date: Thu, 6 Nov 2025 23:59:13 +0100
From: Christian Marangi <ansuelsmth@...il.com>
To: Rob Herring <robh@...nel.org>,
Krzysztof Kozlowski <krzk+dt@...nel.org>,
Conor Dooley <conor+dt@...nel.org>,
"Rafael J. Wysocki" <rafael@...nel.org>,
Daniel Lezcano <daniel.lezcano@...aro.org>,
Zhang Rui <rui.zhang@...el.com>,
Lukasz Luba <lukasz.luba@....com>,
Christian Marangi <ansuelsmth@...il.com>,
Lorenzo Bianconi <lorenzo@...nel.org>,
devicetree@...r.kernel.org,
linux-kernel@...r.kernel.org,
linux-pm@...r.kernel.org
Subject: [PATCH v3 4/5] dt-bindings: arm: airoha: Add the chip-scu node for AN7583 SoC
Document support for Airoha AN7583 chip-scu node.
This is similar to Airoha EN7581 with the addition of the presence of
thermal sensor in addition to controlling HW PIN and other miscellaneous
pheriperals.
Signed-off-by: Christian Marangi <ansuelsmth@...il.com>
---
.../bindings/arm/airoha,en7581-chip-scu.yaml | 14 ++++++++++++++
1 file changed, 14 insertions(+)
diff --git a/Documentation/devicetree/bindings/arm/airoha,en7581-chip-scu.yaml b/Documentation/devicetree/bindings/arm/airoha,en7581-chip-scu.yaml
index 67c449d804c2..0d042fb90a78 100644
--- a/Documentation/devicetree/bindings/arm/airoha,en7581-chip-scu.yaml
+++ b/Documentation/devicetree/bindings/arm/airoha,en7581-chip-scu.yaml
@@ -18,16 +18,30 @@ properties:
compatible:
items:
- enum:
+ - airoha,an7583-chip-scu
- airoha,en7581-chip-scu
- const: syscon
reg:
maxItems: 1
+ '#thermal-sensor-cells':
+ const: 0
+
required:
- compatible
- reg
+if:
+ properties:
+ compatible:
+ contains:
+ const: airoha,en7581-chip-scu
+
+then:
+ properties:
+ '#thermal-sensor-cells': false
+
additionalProperties: false
examples:
--
2.51.0
Powered by blists - more mailing lists