Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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: 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>

authored by

Kunihiko Hayashi and committed by
Rob Herring
a1e616a5 8f31aa56

+5 -10
+5 -10
Documentation/devicetree/bindings/thermal/socionext,uniphier-thermal.yaml
··· 46 46 - | 47 47 // The UniPhier thermal should be a subnode of a "syscon" compatible node. 48 48 49 - sysctrl@61840000 { 50 - compatible = "socionext,uniphier-ld20-sysctrl", 51 - "simple-mfd", "syscon"; 52 - reg = <0x61840000 0x10000>; 53 - 54 - pvtctl: thermal { 55 - compatible = "socionext,uniphier-ld20-thermal"; 56 - interrupts = <0 3 1>; 57 - #thermal-sensor-cells = <0>; 58 - }; 49 + #include <dt-bindings/interrupt-controller/arm-gic.h> 50 + pvtctl: thermal-sensor { 51 + compatible = "socionext,uniphier-ld20-thermal"; 52 + interrupts = <GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH>; 53 + #thermal-sensor-cells = <0>; 59 54 };