Commit a1e616a5 authored by Kunihiko Hayashi's avatar Kunihiko Hayashi Committed by Rob Herring
Browse files

dt-bindings: thermal: Fix node descriptions in uniphier-thermal example



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: default avatarKunihiko Hayashi <hayashi.kunihiko@socionext.com>
Acked-by: default avatarKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20221213082449.2721-7-hayashi.kunihiko@socionext.com


Signed-off-by: default avatarRob Herring <robh@kernel.org>
parent 8f31aa56
Loading
Loading
Loading
Loading
+5 −10
Original line number Diff line number Diff line
@@ -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 {
    #include <dt-bindings/interrupt-controller/arm-gic.h>
    pvtctl: thermal-sensor {
        compatible = "socionext,uniphier-ld20-thermal";
            interrupts = <0 3 1>;
        interrupts = <GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH>;
        #thermal-sensor-cells = <0>;
    };
    };