dt-bindings: thermal: Fix node descriptions in uniphier-thermal example
authorKunihiko Hayashi <hayashi.kunihiko@socionext.com>
Tue, 13 Dec 2022 08:24:38 +0000 (17:24 +0900)
committerRob Herring <robh@kernel.org>
Mon, 26 Dec 2022 22:09:29 +0000 (16:09 -0600)
Prior to adding dt-bindings for SoC-dependent controllers, rename the
thermal node and its parent node to the generic names in the example.

And drop a parent node of the thermal-sensor  as it is not directly
necessary.

Signed-off-by: Kunihiko Hayashi <hayashi.kunihiko@socionext.com>
Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20221213082449.2721-7-hayashi.kunihiko@socionext.com
Signed-off-by: Rob Herring <robh@kernel.org>
Documentation/devicetree/bindings/thermal/socionext,uniphier-thermal.yaml

index c5b25ce449566bb5475c3af602a78598a4b5db96..6f975821fa5efc4a26a46c01c21e6284f205b049 100644 (file)
@@ -46,14 +46,9 @@ examples:
   - |
     // The UniPhier thermal should be a subnode of a "syscon" compatible node.
 
-    sysctrl@61840000 {
-        compatible = "socionext,uniphier-ld20-sysctrl",
-                     "simple-mfd", "syscon";
-        reg = <0x61840000 0x10000>;
-
-        pvtctl: thermal {
-            compatible = "socionext,uniphier-ld20-thermal";
-            interrupts = <0 3 1>;
-            #thermal-sensor-cells = <0>;
-        };
+    #include <dt-bindings/interrupt-controller/arm-gic.h>
+    pvtctl: thermal-sensor {
+        compatible = "socionext,uniphier-ld20-thermal";
+        interrupts = <GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH>;
+        #thermal-sensor-cells = <0>;
     };