* [PATCH RESEND 00/22] dt-bindings: thermal: few cleanups
@ 2024-07-05 9:51 Krzysztof Kozlowski
2024-07-05 9:51 ` [PATCH RESEND 01/22] dt-bindings: thermal: samsung,exynos: specify cells Krzysztof Kozlowski
` (23 more replies)
0 siblings, 24 replies; 25+ messages in thread
From: Krzysztof Kozlowski @ 2024-07-05 9:51 UTC (permalink / raw)
To: Daniel Lezcano, Zhang Rui, Rob Herring, Conor Dooley,
Guillaume La Roque, Krzysztof Kozlowski, Chen-Yu Tsai,
Fabio Estevam
Cc: linux-pm, linux-samsung-soc, devicetree, linux-arm-kernel,
linux-kernel, linux-amlogic, linux-sunxi, imx, linux-tegra,
linux-arm-msm, linux-renesas-soc, linux-rockchip, linux-stm32,
Florian Fainelli, linux-rpi-kernel, linux-mediatek, Conor Dooley,
Krzysztof Kozlowski, Neil Armstrong, Vasily Khoruzhick,
Florian Fainelli, Dmitry Baryshkov, Amit Kucheria,
Niklas Söderlund, Heiko Stuebner, Biju Das, Baolin Wang,
AngeloGioacchino Del Regno
Hi,
Resending (with added tags) because patchset was still not applied.
Daniel, can you pick it up?
Few cleanups witout practical impact, except maybe the Amlogic schema
(bringing required cells).
Link to v1: https://lore.kernel.org/r/20240614-dt-bindings-thermal-allof-v1-0-30b25a6ae24e@linaro.org
Best regards,
Krzysztof
---
Krzysztof Kozlowski (22):
dt-bindings: thermal: samsung,exynos: specify cells
dt-bindings: thermal: amlogic: reference thermal-sensor schema
dt-bindings: thermal: allwinner,sun8i-a83t-ths: reference thermal-sensor schema
dt-bindings: thermal: brcm,avs-ro: reference thermal-sensor schema
dt-bindings: thermal: generic-adc: reference thermal-sensor schema
dt-bindings: thermal: imx8mm: reference thermal-sensor schema
dt-bindings: thermal: nvidia,tegra186-bpmp: reference thermal-sensor schema
dt-bindings: thermal: nvidia,tegra30-tsensor: reference thermal-sensor schema
dt-bindings: thermal: qcom-spmi-adc-tm-hc: reference thermal-sensor schema
dt-bindings: thermal: qcom-spmi-adc-tm5: reference thermal-sensor schema
dt-bindings: thermal: qcom-tsens: reference thermal-sensor schema
dt-bindings: thermal: qoriq: reference thermal-sensor schema
dt-bindings: thermal: rcar-gen3: reference thermal-sensor schema
dt-bindings: thermal: rockchip: reference thermal-sensor schema
dt-bindings: thermal: rzg2l: reference thermal-sensor schema
dt-bindings: thermal: socionext,uniphier: reference thermal-sensor schema
dt-bindings: thermal: sprd: reference thermal-sensor schema
dt-bindings: thermal: st,stm32: reference thermal-sensor schema
dt-bindings: thermal: ti,am654: reference thermal-sensor schema
dt-bindings: thermal: ti,j72xx: reference thermal-sensor schema
dt-bindings: thermal: simplify few bindings
dt-bindings: thermal: cleanup examples indentation
.../bindings/thermal/allwinner,sun8i-a83t-ths.yaml | 6 +-
.../bindings/thermal/amlogic,thermal.yaml | 22 ++---
.../bindings/thermal/brcm,avs-ro-thermal.yaml | 22 ++---
.../devicetree/bindings/thermal/brcm,avs-tmon.yaml | 17 ++--
.../bindings/thermal/brcm,bcm2835-thermal.yaml | 1 -
.../bindings/thermal/fsl,scu-thermal.yaml | 1 -
.../bindings/thermal/generic-adc-thermal.yaml | 5 +-
.../bindings/thermal/imx8mm-thermal.yaml | 5 +-
.../bindings/thermal/loongson,ls2k-thermal.yaml | 1 -
.../bindings/thermal/mediatek,lvts-thermal.yaml | 1 -
.../bindings/thermal/nvidia,tegra124-soctherm.yaml | 1 -
.../thermal/nvidia,tegra186-bpmp-thermal.yaml | 12 +--
.../bindings/thermal/nvidia,tegra30-tsensor.yaml | 9 +-
.../bindings/thermal/qcom,spmi-temp-alarm.yaml | 1 -
.../bindings/thermal/qcom-spmi-adc-tm-hc.yaml | 8 +-
.../bindings/thermal/qcom-spmi-adc-tm5.yaml | 8 +-
.../devicetree/bindings/thermal/qcom-tsens.yaml | 96 ++++++++++------------
.../devicetree/bindings/thermal/qoriq-thermal.yaml | 5 +-
.../bindings/thermal/rcar-gen3-thermal.yaml | 69 ++++++++--------
.../devicetree/bindings/thermal/rcar-thermal.yaml | 60 +++++++-------
.../bindings/thermal/rockchip-thermal.yaml | 5 +-
.../devicetree/bindings/thermal/rzg2l-thermal.yaml | 41 ++++-----
.../bindings/thermal/samsung,exynos-thermal.yaml | 3 +-
.../thermal/socionext,uniphier-thermal.yaml | 5 +-
.../devicetree/bindings/thermal/sprd-thermal.yaml | 47 +++++------
.../bindings/thermal/st,stm32-thermal.yaml | 5 +-
.../bindings/thermal/ti,am654-thermal.yaml | 15 ++--
.../bindings/thermal/ti,j72xx-thermal.yaml | 5 +-
28 files changed, 230 insertions(+), 246 deletions(-)
---
base-commit: 0b58e108042b0ed28a71cd7edf5175999955b233
change-id: 20240614-dt-bindings-thermal-allof-401c50e61ef2
Best regards,
--
Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
_______________________________________________
linux-amlogic mailing list
linux-amlogic@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-amlogic
^ permalink raw reply [flat|nested] 25+ messages in thread
* [PATCH RESEND 01/22] dt-bindings: thermal: samsung,exynos: specify cells
2024-07-05 9:51 [PATCH RESEND 00/22] dt-bindings: thermal: few cleanups Krzysztof Kozlowski
@ 2024-07-05 9:51 ` Krzysztof Kozlowski
2024-07-05 9:51 ` [PATCH RESEND 02/22] dt-bindings: thermal: amlogic: reference thermal-sensor schema Krzysztof Kozlowski
` (22 subsequent siblings)
23 siblings, 0 replies; 25+ messages in thread
From: Krzysztof Kozlowski @ 2024-07-05 9:51 UTC (permalink / raw)
To: Daniel Lezcano, Zhang Rui, Rob Herring, Conor Dooley,
Guillaume La Roque, Krzysztof Kozlowski, Chen-Yu Tsai,
Fabio Estevam
Cc: linux-pm, linux-samsung-soc, devicetree, linux-arm-kernel,
linux-kernel, linux-amlogic, linux-sunxi, imx, linux-tegra,
linux-arm-msm, linux-renesas-soc, linux-rockchip, linux-stm32,
Florian Fainelli, linux-rpi-kernel, linux-mediatek, Conor Dooley,
Krzysztof Kozlowski
All Samsung Exynos SoCs Thermal Management Units have only one sensor,
so make '#thermal-sensor-cells' fixed at 0.
Acked-by: Conor Dooley <conor.dooley@microchip.com>
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
---
Documentation/devicetree/bindings/thermal/samsung,exynos-thermal.yaml | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/Documentation/devicetree/bindings/thermal/samsung,exynos-thermal.yaml b/Documentation/devicetree/bindings/thermal/samsung,exynos-thermal.yaml
index 1344df708e2d..29a08b0729ee 100644
--- a/Documentation/devicetree/bindings/thermal/samsung,exynos-thermal.yaml
+++ b/Documentation/devicetree/bindings/thermal/samsung,exynos-thermal.yaml
@@ -61,7 +61,8 @@ properties:
TRIMINFO at 0x10068000 contains data for TMU channel 2
minItems: 1
- '#thermal-sensor-cells': true
+ '#thermal-sensor-cells':
+ const: 0
vtmu-supply:
description: The regulator node supplying voltage to TMU.
--
2.43.0
_______________________________________________
linux-amlogic mailing list
linux-amlogic@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-amlogic
^ permalink raw reply [flat|nested] 25+ messages in thread
* [PATCH RESEND 02/22] dt-bindings: thermal: amlogic: reference thermal-sensor schema
2024-07-05 9:51 [PATCH RESEND 00/22] dt-bindings: thermal: few cleanups Krzysztof Kozlowski
2024-07-05 9:51 ` [PATCH RESEND 01/22] dt-bindings: thermal: samsung,exynos: specify cells Krzysztof Kozlowski
@ 2024-07-05 9:51 ` Krzysztof Kozlowski
2024-07-05 9:51 ` [PATCH RESEND 03/22] dt-bindings: thermal: allwinner,sun8i-a83t-ths: " Krzysztof Kozlowski
` (21 subsequent siblings)
23 siblings, 0 replies; 25+ messages in thread
From: Krzysztof Kozlowski @ 2024-07-05 9:51 UTC (permalink / raw)
To: Daniel Lezcano, Zhang Rui, Rob Herring, Conor Dooley,
Guillaume La Roque, Krzysztof Kozlowski, Chen-Yu Tsai,
Fabio Estevam
Cc: linux-pm, linux-samsung-soc, devicetree, linux-arm-kernel,
linux-kernel, linux-amlogic, linux-sunxi, imx, linux-tegra,
linux-arm-msm, linux-renesas-soc, linux-rockchip, linux-stm32,
Florian Fainelli, linux-rpi-kernel, linux-mediatek,
Neil Armstrong, Conor Dooley, Krzysztof Kozlowski
Device is a thermal sensor and all in-tree DTS provide
'#thermal-sensor-cells', so reference the thermal-sensor.yaml to
simplify it, bring the common definition of '#thermal-sensor-cells'
property and require it.
Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
Reviewed-by: Guillaume LA ROQUE <glaroque@baylibre.com>
Acked-by: Conor Dooley <conor.dooley@microchip.com>
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
---
Documentation/devicetree/bindings/thermal/amlogic,thermal.yaml | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/Documentation/devicetree/bindings/thermal/amlogic,thermal.yaml b/Documentation/devicetree/bindings/thermal/amlogic,thermal.yaml
index 01fccdfc4178..e52fc40e215d 100644
--- a/Documentation/devicetree/bindings/thermal/amlogic,thermal.yaml
+++ b/Documentation/devicetree/bindings/thermal/amlogic,thermal.yaml
@@ -11,6 +11,8 @@ maintainers:
description: Binding for Amlogic Thermal
+$ref: thermal-sensor.yaml#
+
properties:
compatible:
oneOf:
@@ -44,7 +46,7 @@ required:
- clocks
- amlogic,ao-secure
-additionalProperties: false
+unevaluatedProperties: false
examples:
- |
--
2.43.0
_______________________________________________
linux-amlogic mailing list
linux-amlogic@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-amlogic
^ permalink raw reply [flat|nested] 25+ messages in thread
* [PATCH RESEND 03/22] dt-bindings: thermal: allwinner,sun8i-a83t-ths: reference thermal-sensor schema
2024-07-05 9:51 [PATCH RESEND 00/22] dt-bindings: thermal: few cleanups Krzysztof Kozlowski
2024-07-05 9:51 ` [PATCH RESEND 01/22] dt-bindings: thermal: samsung,exynos: specify cells Krzysztof Kozlowski
2024-07-05 9:51 ` [PATCH RESEND 02/22] dt-bindings: thermal: amlogic: reference thermal-sensor schema Krzysztof Kozlowski
@ 2024-07-05 9:51 ` Krzysztof Kozlowski
2024-07-05 9:51 ` [PATCH RESEND 04/22] dt-bindings: thermal: brcm,avs-ro: " Krzysztof Kozlowski
` (20 subsequent siblings)
23 siblings, 0 replies; 25+ messages in thread
From: Krzysztof Kozlowski @ 2024-07-05 9:51 UTC (permalink / raw)
To: Daniel Lezcano, Zhang Rui, Rob Herring, Conor Dooley,
Guillaume La Roque, Krzysztof Kozlowski, Chen-Yu Tsai,
Fabio Estevam
Cc: linux-pm, linux-samsung-soc, devicetree, linux-arm-kernel,
linux-kernel, linux-amlogic, linux-sunxi, imx, linux-tegra,
linux-arm-msm, linux-renesas-soc, linux-rockchip, linux-stm32,
Florian Fainelli, linux-rpi-kernel, linux-mediatek,
Vasily Khoruzhick, Conor Dooley, Krzysztof Kozlowski
Device is a thermal sensor and it requires '#thermal-sensor-cells', so
reference the thermal-sensor.yaml to simplify it and bring the
common definition of '#thermal-sensor-cells' property.
Reviewed-by: Vasily Khoruzhick <anarsoul@gmail.com>
Acked-by: Chen-Yu Tsai <wens@csie.org>
Acked-by: Conor Dooley <conor.dooley@microchip.com>
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
---
.../devicetree/bindings/thermal/allwinner,sun8i-a83t-ths.yaml | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/Documentation/devicetree/bindings/thermal/allwinner,sun8i-a83t-ths.yaml b/Documentation/devicetree/bindings/thermal/allwinner,sun8i-a83t-ths.yaml
index 6b3aea6d73b0..dad8de900495 100644
--- a/Documentation/devicetree/bindings/thermal/allwinner,sun8i-a83t-ths.yaml
+++ b/Documentation/devicetree/bindings/thermal/allwinner,sun8i-a83t-ths.yaml
@@ -10,6 +10,8 @@ maintainers:
- Vasily Khoruzhick <anarsoul@gmail.com>
- Yangtao Li <tiny.windzz@gmail.com>
+$ref: thermal-sensor.yaml#
+
properties:
compatible:
enum:
@@ -55,7 +57,6 @@ properties:
maxItems: 1
description: phandle to device controlling temperate offset SYS_CFG register
- # See Documentation/devicetree/bindings/thermal/thermal-sensor.yaml for details
"#thermal-sensor-cells":
enum:
- 0
@@ -135,9 +136,8 @@ required:
- compatible
- reg
- interrupts
- - '#thermal-sensor-cells'
-additionalProperties: false
+unevaluatedProperties: false
examples:
- |
--
2.43.0
_______________________________________________
linux-amlogic mailing list
linux-amlogic@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-amlogic
^ permalink raw reply [flat|nested] 25+ messages in thread
* [PATCH RESEND 04/22] dt-bindings: thermal: brcm,avs-ro: reference thermal-sensor schema
2024-07-05 9:51 [PATCH RESEND 00/22] dt-bindings: thermal: few cleanups Krzysztof Kozlowski
` (2 preceding siblings ...)
2024-07-05 9:51 ` [PATCH RESEND 03/22] dt-bindings: thermal: allwinner,sun8i-a83t-ths: " Krzysztof Kozlowski
@ 2024-07-05 9:51 ` Krzysztof Kozlowski
2024-07-05 9:51 ` [PATCH RESEND 05/22] dt-bindings: thermal: generic-adc: " Krzysztof Kozlowski
` (19 subsequent siblings)
23 siblings, 0 replies; 25+ messages in thread
From: Krzysztof Kozlowski @ 2024-07-05 9:51 UTC (permalink / raw)
To: Daniel Lezcano, Zhang Rui, Rob Herring, Conor Dooley,
Guillaume La Roque, Krzysztof Kozlowski, Chen-Yu Tsai,
Fabio Estevam
Cc: linux-pm, linux-samsung-soc, devicetree, linux-arm-kernel,
linux-kernel, linux-amlogic, linux-sunxi, imx, linux-tegra,
linux-arm-msm, linux-renesas-soc, linux-rockchip, linux-stm32,
Florian Fainelli, linux-rpi-kernel, linux-mediatek,
Florian Fainelli, Conor Dooley, Krzysztof Kozlowski
Device is a thermal sensor and it requires '#thermal-sensor-cells', so
reference the thermal-sensor.yaml to simplify it and bring the
common definition of '#thermal-sensor-cells' property.
Acked-by: Florian Fainelli <florian.fainelli@broadcom.com>
Acked-by: Conor Dooley <conor.dooley@microchip.com>
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
---
Documentation/devicetree/bindings/thermal/brcm,avs-ro-thermal.yaml | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/Documentation/devicetree/bindings/thermal/brcm,avs-ro-thermal.yaml b/Documentation/devicetree/bindings/thermal/brcm,avs-ro-thermal.yaml
index 89a2c32c0ab2..0271a0bc1843 100644
--- a/Documentation/devicetree/bindings/thermal/brcm,avs-ro-thermal.yaml
+++ b/Documentation/devicetree/bindings/thermal/brcm,avs-ro-thermal.yaml
@@ -19,19 +19,19 @@ description: |+
Refer to the bindings described in
Documentation/devicetree/bindings/mfd/syscon.yaml
+$ref: thermal-sensor.yaml#
+
properties:
compatible:
const: brcm,bcm2711-thermal
- # See Documentation/devicetree/bindings/thermal/thermal-sensor.yaml for details
"#thermal-sensor-cells":
const: 0
required:
- compatible
- - '#thermal-sensor-cells'
-additionalProperties: false
+unevaluatedProperties: false
examples:
- |
--
2.43.0
_______________________________________________
linux-amlogic mailing list
linux-amlogic@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-amlogic
^ permalink raw reply [flat|nested] 25+ messages in thread
* [PATCH RESEND 05/22] dt-bindings: thermal: generic-adc: reference thermal-sensor schema
2024-07-05 9:51 [PATCH RESEND 00/22] dt-bindings: thermal: few cleanups Krzysztof Kozlowski
` (3 preceding siblings ...)
2024-07-05 9:51 ` [PATCH RESEND 04/22] dt-bindings: thermal: brcm,avs-ro: " Krzysztof Kozlowski
@ 2024-07-05 9:51 ` Krzysztof Kozlowski
2024-07-05 9:51 ` [PATCH RESEND 06/22] dt-bindings: thermal: imx8mm: " Krzysztof Kozlowski
` (18 subsequent siblings)
23 siblings, 0 replies; 25+ messages in thread
From: Krzysztof Kozlowski @ 2024-07-05 9:51 UTC (permalink / raw)
To: Daniel Lezcano, Zhang Rui, Rob Herring, Conor Dooley,
Guillaume La Roque, Krzysztof Kozlowski, Chen-Yu Tsai,
Fabio Estevam
Cc: linux-pm, linux-samsung-soc, devicetree, linux-arm-kernel,
linux-kernel, linux-amlogic, linux-sunxi, imx, linux-tegra,
linux-arm-msm, linux-renesas-soc, linux-rockchip, linux-stm32,
Florian Fainelli, linux-rpi-kernel, linux-mediatek, Conor Dooley,
Krzysztof Kozlowski
Device is a thermal sensor and it requires '#thermal-sensor-cells', so
reference the thermal-sensor.yaml to simplify it and bring the
common definition of '#thermal-sensor-cells' property.
Acked-by: Conor Dooley <conor.dooley@microchip.com>
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
---
Documentation/devicetree/bindings/thermal/generic-adc-thermal.yaml | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/Documentation/devicetree/bindings/thermal/generic-adc-thermal.yaml b/Documentation/devicetree/bindings/thermal/generic-adc-thermal.yaml
index f1fc3b0d8608..12e6418dc24d 100644
--- a/Documentation/devicetree/bindings/thermal/generic-adc-thermal.yaml
+++ b/Documentation/devicetree/bindings/thermal/generic-adc-thermal.yaml
@@ -15,6 +15,8 @@ description:
sensor resistor. The voltage read across the sensor is mapped to
temperature using voltage-temperature lookup table.
+$ref: thermal-sensor.yaml#
+
properties:
compatible:
const: generic-adc-thermal
@@ -44,11 +46,10 @@ properties:
required:
- compatible
- - '#thermal-sensor-cells'
- io-channels
- io-channel-names
-additionalProperties: false
+unevaluatedProperties: false
examples:
- |
--
2.43.0
_______________________________________________
linux-amlogic mailing list
linux-amlogic@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-amlogic
^ permalink raw reply [flat|nested] 25+ messages in thread
* [PATCH RESEND 06/22] dt-bindings: thermal: imx8mm: reference thermal-sensor schema
2024-07-05 9:51 [PATCH RESEND 00/22] dt-bindings: thermal: few cleanups Krzysztof Kozlowski
` (4 preceding siblings ...)
2024-07-05 9:51 ` [PATCH RESEND 05/22] dt-bindings: thermal: generic-adc: " Krzysztof Kozlowski
@ 2024-07-05 9:51 ` Krzysztof Kozlowski
2024-07-05 9:51 ` [PATCH RESEND 07/22] dt-bindings: thermal: nvidia,tegra186-bpmp: " Krzysztof Kozlowski
` (17 subsequent siblings)
23 siblings, 0 replies; 25+ messages in thread
From: Krzysztof Kozlowski @ 2024-07-05 9:51 UTC (permalink / raw)
To: Daniel Lezcano, Zhang Rui, Rob Herring, Conor Dooley,
Guillaume La Roque, Krzysztof Kozlowski, Chen-Yu Tsai,
Fabio Estevam
Cc: linux-pm, linux-samsung-soc, devicetree, linux-arm-kernel,
linux-kernel, linux-amlogic, linux-sunxi, imx, linux-tegra,
linux-arm-msm, linux-renesas-soc, linux-rockchip, linux-stm32,
Florian Fainelli, linux-rpi-kernel, linux-mediatek, Conor Dooley,
Krzysztof Kozlowski
Device is a thermal sensor and it requires '#thermal-sensor-cells', so
reference the thermal-sensor.yaml to simplify it and bring the
common definition of '#thermal-sensor-cells' property.
Acked-by: Conor Dooley <conor.dooley@microchip.com>
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
---
Documentation/devicetree/bindings/thermal/imx8mm-thermal.yaml | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/Documentation/devicetree/bindings/thermal/imx8mm-thermal.yaml b/Documentation/devicetree/bindings/thermal/imx8mm-thermal.yaml
index 42e2317a00f5..bef0e95e7416 100644
--- a/Documentation/devicetree/bindings/thermal/imx8mm-thermal.yaml
+++ b/Documentation/devicetree/bindings/thermal/imx8mm-thermal.yaml
@@ -18,6 +18,8 @@ description: |
for i.MX8MM which has ONLY 1 sensor, v2 is for i.MX8MP which has
2 sensors.
+$ref: thermal-sensor.yaml#
+
properties:
compatible:
oneOf:
@@ -53,9 +55,8 @@ required:
- compatible
- reg
- clocks
- - '#thermal-sensor-cells'
-additionalProperties: false
+unevaluatedProperties: false
examples:
- |
--
2.43.0
_______________________________________________
linux-amlogic mailing list
linux-amlogic@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-amlogic
^ permalink raw reply [flat|nested] 25+ messages in thread
* [PATCH RESEND 07/22] dt-bindings: thermal: nvidia,tegra186-bpmp: reference thermal-sensor schema
2024-07-05 9:51 [PATCH RESEND 00/22] dt-bindings: thermal: few cleanups Krzysztof Kozlowski
` (5 preceding siblings ...)
2024-07-05 9:51 ` [PATCH RESEND 06/22] dt-bindings: thermal: imx8mm: " Krzysztof Kozlowski
@ 2024-07-05 9:51 ` Krzysztof Kozlowski
2024-07-05 9:51 ` [PATCH RESEND 08/22] dt-bindings: thermal: nvidia,tegra30-tsensor: " Krzysztof Kozlowski
` (16 subsequent siblings)
23 siblings, 0 replies; 25+ messages in thread
From: Krzysztof Kozlowski @ 2024-07-05 9:51 UTC (permalink / raw)
To: Daniel Lezcano, Zhang Rui, Rob Herring, Conor Dooley,
Guillaume La Roque, Krzysztof Kozlowski, Chen-Yu Tsai,
Fabio Estevam
Cc: linux-pm, linux-samsung-soc, devicetree, linux-arm-kernel,
linux-kernel, linux-amlogic, linux-sunxi, imx, linux-tegra,
linux-arm-msm, linux-renesas-soc, linux-rockchip, linux-stm32,
Florian Fainelli, linux-rpi-kernel, linux-mediatek, Conor Dooley,
Krzysztof Kozlowski
Device is a thermal sensor and it requires '#thermal-sensor-cells', so
reference the thermal-sensor.yaml to simplify it and bring the
common definition of '#thermal-sensor-cells' property.
Acked-by: Conor Dooley <conor.dooley@microchip.com>
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
---
.../bindings/thermal/nvidia,tegra186-bpmp-thermal.yaml | 12 ++----------
1 file changed, 2 insertions(+), 10 deletions(-)
diff --git a/Documentation/devicetree/bindings/thermal/nvidia,tegra186-bpmp-thermal.yaml b/Documentation/devicetree/bindings/thermal/nvidia,tegra186-bpmp-thermal.yaml
index c91fd07e4061..978b9e6ab8a3 100644
--- a/Documentation/devicetree/bindings/thermal/nvidia,tegra186-bpmp-thermal.yaml
+++ b/Documentation/devicetree/bindings/thermal/nvidia,tegra186-bpmp-thermal.yaml
@@ -20,11 +20,7 @@ description: |
node. See ../firmware/nvidia,tegra186-bpmp.yaml for details of the
BPMP binding.
- This node represents a thermal sensor. See
-
- Documentation/devicetree/bindings/thermal/thermal-sensor.yaml
-
- for details of the core thermal binding.
+$ref: thermal-sensor.yaml#
properties:
compatible:
@@ -33,10 +29,6 @@ properties:
- nvidia,tegra194-bpmp-thermal
'#thermal-sensor-cells':
- $ref: /schemas/types.yaml#/definitions/uint32
- description: Number of cells needed in the phandle specifier to
- identify a given sensor. Must be 1 and the single cell specifies
- the sensor index.
const: 1
-additionalProperties: false
+unevaluatedProperties: false
--
2.43.0
_______________________________________________
linux-amlogic mailing list
linux-amlogic@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-amlogic
^ permalink raw reply [flat|nested] 25+ messages in thread
* [PATCH RESEND 08/22] dt-bindings: thermal: nvidia,tegra30-tsensor: reference thermal-sensor schema
2024-07-05 9:51 [PATCH RESEND 00/22] dt-bindings: thermal: few cleanups Krzysztof Kozlowski
` (6 preceding siblings ...)
2024-07-05 9:51 ` [PATCH RESEND 07/22] dt-bindings: thermal: nvidia,tegra186-bpmp: " Krzysztof Kozlowski
@ 2024-07-05 9:51 ` Krzysztof Kozlowski
2024-07-05 9:51 ` [PATCH RESEND 09/22] dt-bindings: thermal: qcom-spmi-adc-tm-hc: " Krzysztof Kozlowski
` (15 subsequent siblings)
23 siblings, 0 replies; 25+ messages in thread
From: Krzysztof Kozlowski @ 2024-07-05 9:51 UTC (permalink / raw)
To: Daniel Lezcano, Zhang Rui, Rob Herring, Conor Dooley,
Guillaume La Roque, Krzysztof Kozlowski, Chen-Yu Tsai,
Fabio Estevam
Cc: linux-pm, linux-samsung-soc, devicetree, linux-arm-kernel,
linux-kernel, linux-amlogic, linux-sunxi, imx, linux-tegra,
linux-arm-msm, linux-renesas-soc, linux-rockchip, linux-stm32,
Florian Fainelli, linux-rpi-kernel, linux-mediatek, Conor Dooley,
Krzysztof Kozlowski
Device is a thermal sensor and it requires '#thermal-sensor-cells', so
reference the thermal-sensor.yaml to simplify it and bring the
common definition of '#thermal-sensor-cells' property.
Acked-by: Conor Dooley <conor.dooley@microchip.com>
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
---
.../devicetree/bindings/thermal/nvidia,tegra30-tsensor.yaml | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/Documentation/devicetree/bindings/thermal/nvidia,tegra30-tsensor.yaml b/Documentation/devicetree/bindings/thermal/nvidia,tegra30-tsensor.yaml
index a35da257b070..972d608ddf95 100644
--- a/Documentation/devicetree/bindings/thermal/nvidia,tegra30-tsensor.yaml
+++ b/Documentation/devicetree/bindings/thermal/nvidia,tegra30-tsensor.yaml
@@ -27,6 +27,8 @@ description: |
TSENSOR has two channels which monitor two different spots of the SoC.
+$ref: thermal-sensor.yaml#
+
properties:
compatible:
const: nvidia,tegra30-tsensor
@@ -56,9 +58,8 @@ required:
- clocks
- resets
- interrupts
- - "#thermal-sensor-cells"
-additionalProperties: false
+unevaluatedProperties: false
examples:
- |
--
2.43.0
_______________________________________________
linux-amlogic mailing list
linux-amlogic@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-amlogic
^ permalink raw reply [flat|nested] 25+ messages in thread
* [PATCH RESEND 09/22] dt-bindings: thermal: qcom-spmi-adc-tm-hc: reference thermal-sensor schema
2024-07-05 9:51 [PATCH RESEND 00/22] dt-bindings: thermal: few cleanups Krzysztof Kozlowski
` (7 preceding siblings ...)
2024-07-05 9:51 ` [PATCH RESEND 08/22] dt-bindings: thermal: nvidia,tegra30-tsensor: " Krzysztof Kozlowski
@ 2024-07-05 9:51 ` Krzysztof Kozlowski
2024-07-05 9:51 ` [PATCH RESEND 10/22] dt-bindings: thermal: qcom-spmi-adc-tm5: " Krzysztof Kozlowski
` (14 subsequent siblings)
23 siblings, 0 replies; 25+ messages in thread
From: Krzysztof Kozlowski @ 2024-07-05 9:51 UTC (permalink / raw)
To: Daniel Lezcano, Zhang Rui, Rob Herring, Conor Dooley,
Guillaume La Roque, Krzysztof Kozlowski, Chen-Yu Tsai,
Fabio Estevam
Cc: linux-pm, linux-samsung-soc, devicetree, linux-arm-kernel,
linux-kernel, linux-amlogic, linux-sunxi, imx, linux-tegra,
linux-arm-msm, linux-renesas-soc, linux-rockchip, linux-stm32,
Florian Fainelli, linux-rpi-kernel, linux-mediatek,
Dmitry Baryshkov, Conor Dooley, Krzysztof Kozlowski
Device is a thermal sensor and it requires '#thermal-sensor-cells', so
reference the thermal-sensor.yaml to simplify it and bring the
common definition of '#thermal-sensor-cells' property.
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Acked-by: Conor Dooley <conor.dooley@microchip.com>
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
---
.../devicetree/bindings/thermal/qcom-spmi-adc-tm-hc.yaml | 8 +++-----
1 file changed, 3 insertions(+), 5 deletions(-)
diff --git a/Documentation/devicetree/bindings/thermal/qcom-spmi-adc-tm-hc.yaml b/Documentation/devicetree/bindings/thermal/qcom-spmi-adc-tm-hc.yaml
index 7541e27704ca..bfad8130a042 100644
--- a/Documentation/devicetree/bindings/thermal/qcom-spmi-adc-tm-hc.yaml
+++ b/Documentation/devicetree/bindings/thermal/qcom-spmi-adc-tm-hc.yaml
@@ -8,6 +8,8 @@ title: Qualcomm's SPMI PMIC ADC HC Thermal Monitoring
maintainers:
- Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
+$ref: thermal-sensor.yaml#
+
properties:
compatible:
const: qcom,spmi-adc-tm-hc
@@ -20,9 +22,6 @@ properties:
"#thermal-sensor-cells":
const: 1
- description:
- Number of cells required to uniquely identify the thermal sensors. Since
- we have multiple sensors this is set to 1
"#address-cells":
const: 1
@@ -106,9 +105,8 @@ required:
- interrupts
- "#address-cells"
- "#size-cells"
- - "#thermal-sensor-cells"
-additionalProperties: false
+unevaluatedProperties: false
examples:
- |
--
2.43.0
_______________________________________________
linux-amlogic mailing list
linux-amlogic@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-amlogic
^ permalink raw reply [flat|nested] 25+ messages in thread
* [PATCH RESEND 10/22] dt-bindings: thermal: qcom-spmi-adc-tm5: reference thermal-sensor schema
2024-07-05 9:51 [PATCH RESEND 00/22] dt-bindings: thermal: few cleanups Krzysztof Kozlowski
` (8 preceding siblings ...)
2024-07-05 9:51 ` [PATCH RESEND 09/22] dt-bindings: thermal: qcom-spmi-adc-tm-hc: " Krzysztof Kozlowski
@ 2024-07-05 9:51 ` Krzysztof Kozlowski
2024-07-05 9:51 ` [PATCH RESEND 11/22] dt-bindings: thermal: qcom-tsens: " Krzysztof Kozlowski
` (13 subsequent siblings)
23 siblings, 0 replies; 25+ messages in thread
From: Krzysztof Kozlowski @ 2024-07-05 9:51 UTC (permalink / raw)
To: Daniel Lezcano, Zhang Rui, Rob Herring, Conor Dooley,
Guillaume La Roque, Krzysztof Kozlowski, Chen-Yu Tsai,
Fabio Estevam
Cc: linux-pm, linux-samsung-soc, devicetree, linux-arm-kernel,
linux-kernel, linux-amlogic, linux-sunxi, imx, linux-tegra,
linux-arm-msm, linux-renesas-soc, linux-rockchip, linux-stm32,
Florian Fainelli, linux-rpi-kernel, linux-mediatek,
Dmitry Baryshkov, Conor Dooley, Krzysztof Kozlowski
Device is a thermal sensor and it requires '#thermal-sensor-cells', so
reference the thermal-sensor.yaml to simplify it and bring the
common definition of '#thermal-sensor-cells' property.
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Acked-by: Conor Dooley <conor.dooley@microchip.com>
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
---
Documentation/devicetree/bindings/thermal/qcom-spmi-adc-tm5.yaml | 8 +++-----
1 file changed, 3 insertions(+), 5 deletions(-)
diff --git a/Documentation/devicetree/bindings/thermal/qcom-spmi-adc-tm5.yaml b/Documentation/devicetree/bindings/thermal/qcom-spmi-adc-tm5.yaml
index d9d2657287cb..4470a5942fb2 100644
--- a/Documentation/devicetree/bindings/thermal/qcom-spmi-adc-tm5.yaml
+++ b/Documentation/devicetree/bindings/thermal/qcom-spmi-adc-tm5.yaml
@@ -8,6 +8,8 @@ title: Qualcomm's SPMI PMIC ADC Thermal Monitoring
maintainers:
- Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
+$ref: thermal-sensor.yaml#
+
properties:
compatible:
enum:
@@ -23,9 +25,6 @@ properties:
"#thermal-sensor-cells":
const: 1
- description:
- Number of cells required to uniquely identify the thermal sensors. Since
- we have multiple sensors this is set to 1
"#address-cells":
const: 1
@@ -159,9 +158,8 @@ required:
- interrupts
- "#address-cells"
- "#size-cells"
- - "#thermal-sensor-cells"
-additionalProperties: false
+unevaluatedProperties: false
examples:
- |
--
2.43.0
_______________________________________________
linux-amlogic mailing list
linux-amlogic@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-amlogic
^ permalink raw reply [flat|nested] 25+ messages in thread
* [PATCH RESEND 11/22] dt-bindings: thermal: qcom-tsens: reference thermal-sensor schema
2024-07-05 9:51 [PATCH RESEND 00/22] dt-bindings: thermal: few cleanups Krzysztof Kozlowski
` (9 preceding siblings ...)
2024-07-05 9:51 ` [PATCH RESEND 10/22] dt-bindings: thermal: qcom-spmi-adc-tm5: " Krzysztof Kozlowski
@ 2024-07-05 9:51 ` Krzysztof Kozlowski
2024-07-05 9:51 ` [PATCH RESEND 12/22] dt-bindings: thermal: qoriq: " Krzysztof Kozlowski
` (12 subsequent siblings)
23 siblings, 0 replies; 25+ messages in thread
From: Krzysztof Kozlowski @ 2024-07-05 9:51 UTC (permalink / raw)
To: Daniel Lezcano, Zhang Rui, Rob Herring, Conor Dooley,
Guillaume La Roque, Krzysztof Kozlowski, Chen-Yu Tsai,
Fabio Estevam
Cc: linux-pm, linux-samsung-soc, devicetree, linux-arm-kernel,
linux-kernel, linux-amlogic, linux-sunxi, imx, linux-tegra,
linux-arm-msm, linux-renesas-soc, linux-rockchip, linux-stm32,
Florian Fainelli, linux-rpi-kernel, linux-mediatek,
Dmitry Baryshkov, Amit Kucheria, Conor Dooley,
Krzysztof Kozlowski
Device is a thermal sensor and it requires '#thermal-sensor-cells', so
reference the thermal-sensor.yaml to simplify it and bring the
common definition of '#thermal-sensor-cells' property.
Acked-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Reviewed-by: Amit Kucheria <amitk@kernel.org>
Acked-by: Conor Dooley <conor.dooley@microchip.com>
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
---
Documentation/devicetree/bindings/thermal/qcom-tsens.yaml | 8 +++-----
1 file changed, 3 insertions(+), 5 deletions(-)
diff --git a/Documentation/devicetree/bindings/thermal/qcom-tsens.yaml b/Documentation/devicetree/bindings/thermal/qcom-tsens.yaml
index 99d9c526c0b6..cce6624228c7 100644
--- a/Documentation/devicetree/bindings/thermal/qcom-tsens.yaml
+++ b/Documentation/devicetree/bindings/thermal/qcom-tsens.yaml
@@ -217,18 +217,16 @@ properties:
"#thermal-sensor-cells":
const: 1
- description:
- Number of cells required to uniquely identify the thermal sensors. Since
- we have multiple sensors this is set to 1
required:
- compatible
- interrupts
- interrupt-names
- - "#thermal-sensor-cells"
- "#qcom,sensors"
allOf:
+ - $ref: thermal-sensor.yaml#
+
- if:
properties:
compatible:
@@ -292,7 +290,7 @@ allOf:
required:
- reg
-additionalProperties: false
+unevaluatedProperties: false
examples:
- |
--
2.43.0
_______________________________________________
linux-amlogic mailing list
linux-amlogic@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-amlogic
^ permalink raw reply [flat|nested] 25+ messages in thread
* [PATCH RESEND 12/22] dt-bindings: thermal: qoriq: reference thermal-sensor schema
2024-07-05 9:51 [PATCH RESEND 00/22] dt-bindings: thermal: few cleanups Krzysztof Kozlowski
` (10 preceding siblings ...)
2024-07-05 9:51 ` [PATCH RESEND 11/22] dt-bindings: thermal: qcom-tsens: " Krzysztof Kozlowski
@ 2024-07-05 9:51 ` Krzysztof Kozlowski
2024-07-05 9:51 ` [PATCH RESEND 13/22] dt-bindings: thermal: rcar-gen3: " Krzysztof Kozlowski
` (11 subsequent siblings)
23 siblings, 0 replies; 25+ messages in thread
From: Krzysztof Kozlowski @ 2024-07-05 9:51 UTC (permalink / raw)
To: Daniel Lezcano, Zhang Rui, Rob Herring, Conor Dooley,
Guillaume La Roque, Krzysztof Kozlowski, Chen-Yu Tsai,
Fabio Estevam
Cc: linux-pm, linux-samsung-soc, devicetree, linux-arm-kernel,
linux-kernel, linux-amlogic, linux-sunxi, imx, linux-tegra,
linux-arm-msm, linux-renesas-soc, linux-rockchip, linux-stm32,
Florian Fainelli, linux-rpi-kernel, linux-mediatek, Conor Dooley,
Krzysztof Kozlowski
Device is a thermal sensor and it requires '#thermal-sensor-cells', so
reference the thermal-sensor.yaml to simplify it and bring the
common definition of '#thermal-sensor-cells' property.
Acked-by: Conor Dooley <conor.dooley@microchip.com>
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
---
Documentation/devicetree/bindings/thermal/qoriq-thermal.yaml | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/Documentation/devicetree/bindings/thermal/qoriq-thermal.yaml b/Documentation/devicetree/bindings/thermal/qoriq-thermal.yaml
index 66c4972d5072..aa756dae512a 100644
--- a/Documentation/devicetree/bindings/thermal/qoriq-thermal.yaml
+++ b/Documentation/devicetree/bindings/thermal/qoriq-thermal.yaml
@@ -11,6 +11,8 @@ maintainers:
- Sascha Hauer <s.hauer@pengutronix.de>
- Fabio Estevam <festevam@gmail.com>
+$ref: thermal-sensor.yaml#
+
properties:
compatible:
description: |
@@ -70,9 +72,8 @@ required:
- interrupts
- fsl,tmu-range
- fsl,tmu-calibration
- - '#thermal-sensor-cells'
-additionalProperties: false
+unevaluatedProperties: false
examples:
- |
--
2.43.0
_______________________________________________
linux-amlogic mailing list
linux-amlogic@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-amlogic
^ permalink raw reply [flat|nested] 25+ messages in thread
* [PATCH RESEND 13/22] dt-bindings: thermal: rcar-gen3: reference thermal-sensor schema
2024-07-05 9:51 [PATCH RESEND 00/22] dt-bindings: thermal: few cleanups Krzysztof Kozlowski
` (11 preceding siblings ...)
2024-07-05 9:51 ` [PATCH RESEND 12/22] dt-bindings: thermal: qoriq: " Krzysztof Kozlowski
@ 2024-07-05 9:51 ` Krzysztof Kozlowski
2024-07-05 9:51 ` [PATCH RESEND 14/22] dt-bindings: thermal: rockchip: " Krzysztof Kozlowski
` (10 subsequent siblings)
23 siblings, 0 replies; 25+ messages in thread
From: Krzysztof Kozlowski @ 2024-07-05 9:51 UTC (permalink / raw)
To: Daniel Lezcano, Zhang Rui, Rob Herring, Conor Dooley,
Guillaume La Roque, Krzysztof Kozlowski, Chen-Yu Tsai,
Fabio Estevam
Cc: linux-pm, linux-samsung-soc, devicetree, linux-arm-kernel,
linux-kernel, linux-amlogic, linux-sunxi, imx, linux-tegra,
linux-arm-msm, linux-renesas-soc, linux-rockchip, linux-stm32,
Florian Fainelli, linux-rpi-kernel, linux-mediatek,
Niklas Söderlund, Conor Dooley, Krzysztof Kozlowski
Device is a thermal sensor and it requires '#thermal-sensor-cells', so
reference the thermal-sensor.yaml to simplify it and bring the
common definition of '#thermal-sensor-cells' property.
Reviewed-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
Acked-by: Conor Dooley <conor.dooley@microchip.com>
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
---
Documentation/devicetree/bindings/thermal/rcar-gen3-thermal.yaml | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/Documentation/devicetree/bindings/thermal/rcar-gen3-thermal.yaml b/Documentation/devicetree/bindings/thermal/rcar-gen3-thermal.yaml
index 6a81cb6e11bc..d92e882c9e8d 100644
--- a/Documentation/devicetree/bindings/thermal/rcar-gen3-thermal.yaml
+++ b/Documentation/devicetree/bindings/thermal/rcar-gen3-thermal.yaml
@@ -15,6 +15,8 @@ description:
maintainers:
- Niklas Söderlund <niklas.soderlund@ragnatech.se>
+$ref: thermal-sensor.yaml#
+
properties:
compatible:
enum:
@@ -57,7 +59,6 @@ required:
- clocks
- power-domains
- resets
- - "#thermal-sensor-cells"
if:
properties:
@@ -96,7 +97,7 @@ else:
required:
- interrupts
-additionalProperties: false
+unevaluatedProperties: false
examples:
- |
--
2.43.0
_______________________________________________
linux-amlogic mailing list
linux-amlogic@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-amlogic
^ permalink raw reply [flat|nested] 25+ messages in thread
* [PATCH RESEND 14/22] dt-bindings: thermal: rockchip: reference thermal-sensor schema
2024-07-05 9:51 [PATCH RESEND 00/22] dt-bindings: thermal: few cleanups Krzysztof Kozlowski
` (12 preceding siblings ...)
2024-07-05 9:51 ` [PATCH RESEND 13/22] dt-bindings: thermal: rcar-gen3: " Krzysztof Kozlowski
@ 2024-07-05 9:51 ` Krzysztof Kozlowski
2024-07-05 9:51 ` [PATCH RESEND 15/22] dt-bindings: thermal: rzg2l: " Krzysztof Kozlowski
` (9 subsequent siblings)
23 siblings, 0 replies; 25+ messages in thread
From: Krzysztof Kozlowski @ 2024-07-05 9:51 UTC (permalink / raw)
To: Daniel Lezcano, Zhang Rui, Rob Herring, Conor Dooley,
Guillaume La Roque, Krzysztof Kozlowski, Chen-Yu Tsai,
Fabio Estevam
Cc: linux-pm, linux-samsung-soc, devicetree, linux-arm-kernel,
linux-kernel, linux-amlogic, linux-sunxi, imx, linux-tegra,
linux-arm-msm, linux-renesas-soc, linux-rockchip, linux-stm32,
Florian Fainelli, linux-rpi-kernel, linux-mediatek,
Heiko Stuebner, Conor Dooley, Krzysztof Kozlowski
Device is a thermal sensor and it requires '#thermal-sensor-cells', so
reference the thermal-sensor.yaml to simplify it and bring the
common definition of '#thermal-sensor-cells' property.
Reviewed-by: Heiko Stuebner <heiko@sntech.de>
Acked-by: Conor Dooley <conor.dooley@microchip.com>
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
---
Documentation/devicetree/bindings/thermal/rockchip-thermal.yaml | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/Documentation/devicetree/bindings/thermal/rockchip-thermal.yaml b/Documentation/devicetree/bindings/thermal/rockchip-thermal.yaml
index 55f8ec0bec01..b717ea8261ca 100644
--- a/Documentation/devicetree/bindings/thermal/rockchip-thermal.yaml
+++ b/Documentation/devicetree/bindings/thermal/rockchip-thermal.yaml
@@ -9,6 +9,8 @@ title: Temperature Sensor ADC (TSADC) on Rockchip SoCs
maintainers:
- Heiko Stuebner <heiko@sntech.de>
+$ref: thermal-sensor.yaml#
+
properties:
compatible:
enum:
@@ -76,9 +78,8 @@ required:
- clocks
- clock-names
- resets
- - "#thermal-sensor-cells"
-additionalProperties: false
+unevaluatedProperties: false
examples:
- |
--
2.43.0
_______________________________________________
linux-amlogic mailing list
linux-amlogic@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-amlogic
^ permalink raw reply [flat|nested] 25+ messages in thread
* [PATCH RESEND 15/22] dt-bindings: thermal: rzg2l: reference thermal-sensor schema
2024-07-05 9:51 [PATCH RESEND 00/22] dt-bindings: thermal: few cleanups Krzysztof Kozlowski
` (13 preceding siblings ...)
2024-07-05 9:51 ` [PATCH RESEND 14/22] dt-bindings: thermal: rockchip: " Krzysztof Kozlowski
@ 2024-07-05 9:51 ` Krzysztof Kozlowski
2024-07-05 9:51 ` [PATCH RESEND 16/22] dt-bindings: thermal: socionext,uniphier: " Krzysztof Kozlowski
` (8 subsequent siblings)
23 siblings, 0 replies; 25+ messages in thread
From: Krzysztof Kozlowski @ 2024-07-05 9:51 UTC (permalink / raw)
To: Daniel Lezcano, Zhang Rui, Rob Herring, Conor Dooley,
Guillaume La Roque, Krzysztof Kozlowski, Chen-Yu Tsai,
Fabio Estevam
Cc: linux-pm, linux-samsung-soc, devicetree, linux-arm-kernel,
linux-kernel, linux-amlogic, linux-sunxi, imx, linux-tegra,
linux-arm-msm, linux-renesas-soc, linux-rockchip, linux-stm32,
Florian Fainelli, linux-rpi-kernel, linux-mediatek, Biju Das,
Conor Dooley, Krzysztof Kozlowski
Device is a thermal sensor and it requires '#thermal-sensor-cells', so
reference the thermal-sensor.yaml to simplify it and bring the
common definition of '#thermal-sensor-cells' property.
Reviewed-by: Biju Das <biju.das.jz@bp.renesas.com>
Acked-by: Conor Dooley <conor.dooley@microchip.com>
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
---
Documentation/devicetree/bindings/thermal/rzg2l-thermal.yaml | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/Documentation/devicetree/bindings/thermal/rzg2l-thermal.yaml b/Documentation/devicetree/bindings/thermal/rzg2l-thermal.yaml
index 03f4b926e53c..2f96c0fe0f75 100644
--- a/Documentation/devicetree/bindings/thermal/rzg2l-thermal.yaml
+++ b/Documentation/devicetree/bindings/thermal/rzg2l-thermal.yaml
@@ -13,6 +13,8 @@ description:
maintainers:
- Biju Das <biju.das.jz@bp.renesas.com>
+$ref: thermal-sensor.yaml#
+
properties:
compatible:
items:
@@ -43,9 +45,8 @@ required:
- clocks
- power-domains
- resets
- - "#thermal-sensor-cells"
-additionalProperties: false
+unevaluatedProperties: false
examples:
- |
--
2.43.0
_______________________________________________
linux-amlogic mailing list
linux-amlogic@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-amlogic
^ permalink raw reply [flat|nested] 25+ messages in thread
* [PATCH RESEND 16/22] dt-bindings: thermal: socionext,uniphier: reference thermal-sensor schema
2024-07-05 9:51 [PATCH RESEND 00/22] dt-bindings: thermal: few cleanups Krzysztof Kozlowski
` (14 preceding siblings ...)
2024-07-05 9:51 ` [PATCH RESEND 15/22] dt-bindings: thermal: rzg2l: " Krzysztof Kozlowski
@ 2024-07-05 9:51 ` Krzysztof Kozlowski
2024-07-05 9:51 ` [PATCH RESEND 17/22] dt-bindings: thermal: sprd: " Krzysztof Kozlowski
` (7 subsequent siblings)
23 siblings, 0 replies; 25+ messages in thread
From: Krzysztof Kozlowski @ 2024-07-05 9:51 UTC (permalink / raw)
To: Daniel Lezcano, Zhang Rui, Rob Herring, Conor Dooley,
Guillaume La Roque, Krzysztof Kozlowski, Chen-Yu Tsai,
Fabio Estevam
Cc: linux-pm, linux-samsung-soc, devicetree, linux-arm-kernel,
linux-kernel, linux-amlogic, linux-sunxi, imx, linux-tegra,
linux-arm-msm, linux-renesas-soc, linux-rockchip, linux-stm32,
Florian Fainelli, linux-rpi-kernel, linux-mediatek, Conor Dooley,
Krzysztof Kozlowski
Device is a thermal sensor and it requires '#thermal-sensor-cells', so
reference the thermal-sensor.yaml to simplify it and bring the
common definition of '#thermal-sensor-cells' property.
Acked-by: Conor Dooley <conor.dooley@microchip.com>
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
---
.../devicetree/bindings/thermal/socionext,uniphier-thermal.yaml | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/Documentation/devicetree/bindings/thermal/socionext,uniphier-thermal.yaml b/Documentation/devicetree/bindings/thermal/socionext,uniphier-thermal.yaml
index 6f975821fa5e..8210b7079721 100644
--- a/Documentation/devicetree/bindings/thermal/socionext,uniphier-thermal.yaml
+++ b/Documentation/devicetree/bindings/thermal/socionext,uniphier-thermal.yaml
@@ -14,6 +14,8 @@ description: |
maintainers:
- Kunihiko Hayashi <hayashi.kunihiko@socionext.com>
+$ref: thermal-sensor.yaml#
+
properties:
compatible:
enum:
@@ -38,9 +40,8 @@ properties:
required:
- compatible
- interrupts
- - "#thermal-sensor-cells"
-additionalProperties: false
+unevaluatedProperties: false
examples:
- |
--
2.43.0
_______________________________________________
linux-amlogic mailing list
linux-amlogic@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-amlogic
^ permalink raw reply [flat|nested] 25+ messages in thread
* [PATCH RESEND 17/22] dt-bindings: thermal: sprd: reference thermal-sensor schema
2024-07-05 9:51 [PATCH RESEND 00/22] dt-bindings: thermal: few cleanups Krzysztof Kozlowski
` (15 preceding siblings ...)
2024-07-05 9:51 ` [PATCH RESEND 16/22] dt-bindings: thermal: socionext,uniphier: " Krzysztof Kozlowski
@ 2024-07-05 9:51 ` Krzysztof Kozlowski
2024-07-05 9:51 ` [PATCH RESEND 18/22] dt-bindings: thermal: st,stm32: " Krzysztof Kozlowski
` (6 subsequent siblings)
23 siblings, 0 replies; 25+ messages in thread
From: Krzysztof Kozlowski @ 2024-07-05 9:51 UTC (permalink / raw)
To: Daniel Lezcano, Zhang Rui, Rob Herring, Conor Dooley,
Guillaume La Roque, Krzysztof Kozlowski, Chen-Yu Tsai,
Fabio Estevam
Cc: linux-pm, linux-samsung-soc, devicetree, linux-arm-kernel,
linux-kernel, linux-amlogic, linux-sunxi, imx, linux-tegra,
linux-arm-msm, linux-renesas-soc, linux-rockchip, linux-stm32,
Florian Fainelli, linux-rpi-kernel, linux-mediatek, Baolin Wang,
Conor Dooley, Krzysztof Kozlowski
Device is a thermal sensor and it requires '#thermal-sensor-cells', so
reference the thermal-sensor.yaml to simplify it and bring the
common definition of '#thermal-sensor-cells' property.
Reviewed-by: Baolin Wang <baolin.wang@linux.alibaba.com>
Acked-by: Conor Dooley <conor.dooley@microchip.com>
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
---
Documentation/devicetree/bindings/thermal/sprd-thermal.yaml | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/Documentation/devicetree/bindings/thermal/sprd-thermal.yaml b/Documentation/devicetree/bindings/thermal/sprd-thermal.yaml
index 76aaa004c8ac..f65076fc68f9 100644
--- a/Documentation/devicetree/bindings/thermal/sprd-thermal.yaml
+++ b/Documentation/devicetree/bindings/thermal/sprd-thermal.yaml
@@ -11,6 +11,8 @@ maintainers:
- Baolin Wang <baolin.wang7@gmail.com>
- Chunyan Zhang <zhang.lyra@gmail.com>
+$ref: thermal-sensor.yaml#
+
properties:
compatible:
const: sprd,ums512-thermal
@@ -77,11 +79,10 @@ required:
- clock-names
- nvmem-cells
- nvmem-cell-names
- - "#thermal-sensor-cells"
- "#address-cells"
- "#size-cells"
-additionalProperties: false
+unevaluatedProperties: false
examples:
- |
--
2.43.0
_______________________________________________
linux-amlogic mailing list
linux-amlogic@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-amlogic
^ permalink raw reply [flat|nested] 25+ messages in thread
* [PATCH RESEND 18/22] dt-bindings: thermal: st,stm32: reference thermal-sensor schema
2024-07-05 9:51 [PATCH RESEND 00/22] dt-bindings: thermal: few cleanups Krzysztof Kozlowski
` (16 preceding siblings ...)
2024-07-05 9:51 ` [PATCH RESEND 17/22] dt-bindings: thermal: sprd: " Krzysztof Kozlowski
@ 2024-07-05 9:51 ` Krzysztof Kozlowski
2024-07-05 9:51 ` [PATCH RESEND 19/22] dt-bindings: thermal: ti,am654: " Krzysztof Kozlowski
` (5 subsequent siblings)
23 siblings, 0 replies; 25+ messages in thread
From: Krzysztof Kozlowski @ 2024-07-05 9:51 UTC (permalink / raw)
To: Daniel Lezcano, Zhang Rui, Rob Herring, Conor Dooley,
Guillaume La Roque, Krzysztof Kozlowski, Chen-Yu Tsai,
Fabio Estevam
Cc: linux-pm, linux-samsung-soc, devicetree, linux-arm-kernel,
linux-kernel, linux-amlogic, linux-sunxi, imx, linux-tegra,
linux-arm-msm, linux-renesas-soc, linux-rockchip, linux-stm32,
Florian Fainelli, linux-rpi-kernel, linux-mediatek, Conor Dooley,
Krzysztof Kozlowski
Device is a thermal sensor and it requires '#thermal-sensor-cells', so
reference the thermal-sensor.yaml to simplify it and bring the
common definition of '#thermal-sensor-cells' property.
Acked-by: Conor Dooley <conor.dooley@microchip.com>
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
---
Documentation/devicetree/bindings/thermal/st,stm32-thermal.yaml | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/Documentation/devicetree/bindings/thermal/st,stm32-thermal.yaml b/Documentation/devicetree/bindings/thermal/st,stm32-thermal.yaml
index ab043084f667..1c01a80a0cdd 100644
--- a/Documentation/devicetree/bindings/thermal/st,stm32-thermal.yaml
+++ b/Documentation/devicetree/bindings/thermal/st,stm32-thermal.yaml
@@ -9,6 +9,8 @@ title: STMicroelectronics STM32 digital thermal sensor (DTS)
maintainers:
- Pascal Paillet <p.paillet@foss.st.com>
+$ref: thermal-sensor.yaml#
+
properties:
compatible:
const: st,stm32-thermal
@@ -30,14 +32,13 @@ properties:
const: 0
required:
- - "#thermal-sensor-cells"
- compatible
- reg
- interrupts
- clocks
- clock-names
-additionalProperties: false
+unevaluatedProperties: false
examples:
- |
--
2.43.0
_______________________________________________
linux-amlogic mailing list
linux-amlogic@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-amlogic
^ permalink raw reply [flat|nested] 25+ messages in thread
* [PATCH RESEND 19/22] dt-bindings: thermal: ti,am654: reference thermal-sensor schema
2024-07-05 9:51 [PATCH RESEND 00/22] dt-bindings: thermal: few cleanups Krzysztof Kozlowski
` (17 preceding siblings ...)
2024-07-05 9:51 ` [PATCH RESEND 18/22] dt-bindings: thermal: st,stm32: " Krzysztof Kozlowski
@ 2024-07-05 9:51 ` Krzysztof Kozlowski
2024-07-05 9:51 ` [PATCH RESEND 20/22] dt-bindings: thermal: ti,j72xx: " Krzysztof Kozlowski
` (4 subsequent siblings)
23 siblings, 0 replies; 25+ messages in thread
From: Krzysztof Kozlowski @ 2024-07-05 9:51 UTC (permalink / raw)
To: Daniel Lezcano, Zhang Rui, Rob Herring, Conor Dooley,
Guillaume La Roque, Krzysztof Kozlowski, Chen-Yu Tsai,
Fabio Estevam
Cc: linux-pm, linux-samsung-soc, devicetree, linux-arm-kernel,
linux-kernel, linux-amlogic, linux-sunxi, imx, linux-tegra,
linux-arm-msm, linux-renesas-soc, linux-rockchip, linux-stm32,
Florian Fainelli, linux-rpi-kernel, linux-mediatek, Conor Dooley,
Krzysztof Kozlowski
Device is a thermal sensor and it requires '#thermal-sensor-cells', so
reference the thermal-sensor.yaml to simplify it and bring the
common definition of '#thermal-sensor-cells' property.
Acked-by: Conor Dooley <conor.dooley@microchip.com>
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
---
Documentation/devicetree/bindings/thermal/ti,am654-thermal.yaml | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/Documentation/devicetree/bindings/thermal/ti,am654-thermal.yaml b/Documentation/devicetree/bindings/thermal/ti,am654-thermal.yaml
index 7ed0abe9290f..16801aa78bc2 100644
--- a/Documentation/devicetree/bindings/thermal/ti,am654-thermal.yaml
+++ b/Documentation/devicetree/bindings/thermal/ti,am654-thermal.yaml
@@ -9,6 +9,8 @@ title: Texas Instruments AM654 VTM (DTS)
maintainers:
- Keerthy <j-keerthy@ti.com>
+$ref: thermal-sensor.yaml#
+
properties:
compatible:
const: ti,am654-vtm
@@ -26,9 +28,8 @@ required:
- compatible
- reg
- power-domains
- - "#thermal-sensor-cells"
-additionalProperties: false
+unevaluatedProperties: false
examples:
- |
--
2.43.0
_______________________________________________
linux-amlogic mailing list
linux-amlogic@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-amlogic
^ permalink raw reply [flat|nested] 25+ messages in thread
* [PATCH RESEND 20/22] dt-bindings: thermal: ti,j72xx: reference thermal-sensor schema
2024-07-05 9:51 [PATCH RESEND 00/22] dt-bindings: thermal: few cleanups Krzysztof Kozlowski
` (18 preceding siblings ...)
2024-07-05 9:51 ` [PATCH RESEND 19/22] dt-bindings: thermal: ti,am654: " Krzysztof Kozlowski
@ 2024-07-05 9:51 ` Krzysztof Kozlowski
2024-07-05 9:51 ` [PATCH RESEND 21/22] dt-bindings: thermal: simplify few bindings Krzysztof Kozlowski
` (3 subsequent siblings)
23 siblings, 0 replies; 25+ messages in thread
From: Krzysztof Kozlowski @ 2024-07-05 9:51 UTC (permalink / raw)
To: Daniel Lezcano, Zhang Rui, Rob Herring, Conor Dooley,
Guillaume La Roque, Krzysztof Kozlowski, Chen-Yu Tsai,
Fabio Estevam
Cc: linux-pm, linux-samsung-soc, devicetree, linux-arm-kernel,
linux-kernel, linux-amlogic, linux-sunxi, imx, linux-tegra,
linux-arm-msm, linux-renesas-soc, linux-rockchip, linux-stm32,
Florian Fainelli, linux-rpi-kernel, linux-mediatek, Conor Dooley,
Krzysztof Kozlowski
Device is a thermal sensor and it requires '#thermal-sensor-cells', so
reference the thermal-sensor.yaml to simplify it and bring the
common definition of '#thermal-sensor-cells' property.
Acked-by: Conor Dooley <conor.dooley@microchip.com>
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
---
Documentation/devicetree/bindings/thermal/ti,j72xx-thermal.yaml | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/Documentation/devicetree/bindings/thermal/ti,j72xx-thermal.yaml b/Documentation/devicetree/bindings/thermal/ti,j72xx-thermal.yaml
index 171b3622ed84..82b77b9795a3 100644
--- a/Documentation/devicetree/bindings/thermal/ti,j72xx-thermal.yaml
+++ b/Documentation/devicetree/bindings/thermal/ti,j72xx-thermal.yaml
@@ -22,6 +22,8 @@ description: |
Temp(C) = (-9.2627e-12) * x^4 + (6.0373e-08) * x^3 + \
(-1.7058e-04) * x^2 + (3.2512e-01) * x + (-4.9003e+01)
+$ref: thermal-sensor.yaml#
+
properties:
compatible:
enum:
@@ -64,9 +66,8 @@ required:
- compatible
- reg
- power-domains
- - "#thermal-sensor-cells"
-additionalProperties: false
+unevaluatedProperties: false
examples:
- |
--
2.43.0
_______________________________________________
linux-amlogic mailing list
linux-amlogic@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-amlogic
^ permalink raw reply [flat|nested] 25+ messages in thread
* [PATCH RESEND 21/22] dt-bindings: thermal: simplify few bindings
2024-07-05 9:51 [PATCH RESEND 00/22] dt-bindings: thermal: few cleanups Krzysztof Kozlowski
` (19 preceding siblings ...)
2024-07-05 9:51 ` [PATCH RESEND 20/22] dt-bindings: thermal: ti,j72xx: " Krzysztof Kozlowski
@ 2024-07-05 9:51 ` Krzysztof Kozlowski
2024-07-05 9:51 ` [PATCH RESEND 22/22] dt-bindings: thermal: cleanup examples indentation Krzysztof Kozlowski
` (2 subsequent siblings)
23 siblings, 0 replies; 25+ messages in thread
From: Krzysztof Kozlowski @ 2024-07-05 9:51 UTC (permalink / raw)
To: Daniel Lezcano, Zhang Rui, Rob Herring, Conor Dooley,
Guillaume La Roque, Krzysztof Kozlowski, Chen-Yu Tsai,
Fabio Estevam
Cc: linux-pm, linux-samsung-soc, devicetree, linux-arm-kernel,
linux-kernel, linux-amlogic, linux-sunxi, imx, linux-tegra,
linux-arm-msm, linux-renesas-soc, linux-rockchip, linux-stm32,
Florian Fainelli, linux-rpi-kernel, linux-mediatek,
AngeloGioacchino Del Regno, Conor Dooley, Krzysztof Kozlowski
Simplify few bindings which already reference thermal-sensor.yaml schema
by dropping unneeded requiring of '#thermal-sensor-cells' and dropping
assigned-clocks properties (core schema allows it if 'clocks' are
there).
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Acked-by: Conor Dooley <conor.dooley@microchip.com>
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
---
Documentation/devicetree/bindings/thermal/brcm,avs-tmon.yaml | 1 -
Documentation/devicetree/bindings/thermal/brcm,bcm2835-thermal.yaml | 1 -
Documentation/devicetree/bindings/thermal/fsl,scu-thermal.yaml | 1 -
Documentation/devicetree/bindings/thermal/loongson,ls2k-thermal.yaml | 1 -
Documentation/devicetree/bindings/thermal/mediatek,lvts-thermal.yaml | 1 -
.../devicetree/bindings/thermal/nvidia,tegra124-soctherm.yaml | 1 -
Documentation/devicetree/bindings/thermal/nvidia,tegra30-tsensor.yaml | 4 ----
Documentation/devicetree/bindings/thermal/qcom,spmi-temp-alarm.yaml | 1 -
8 files changed, 11 deletions(-)
diff --git a/Documentation/devicetree/bindings/thermal/brcm,avs-tmon.yaml b/Documentation/devicetree/bindings/thermal/brcm,avs-tmon.yaml
index 267a0f423504..32730211e15b 100644
--- a/Documentation/devicetree/bindings/thermal/brcm,avs-tmon.yaml
+++ b/Documentation/devicetree/bindings/thermal/brcm,avs-tmon.yaml
@@ -42,7 +42,6 @@ additionalProperties: false
required:
- compatible
- reg
- - "#thermal-sensor-cells"
examples:
- |
diff --git a/Documentation/devicetree/bindings/thermal/brcm,bcm2835-thermal.yaml b/Documentation/devicetree/bindings/thermal/brcm,bcm2835-thermal.yaml
index 2b6026d9fbcf..ddf0f20e5285 100644
--- a/Documentation/devicetree/bindings/thermal/brcm,bcm2835-thermal.yaml
+++ b/Documentation/devicetree/bindings/thermal/brcm,bcm2835-thermal.yaml
@@ -34,7 +34,6 @@ required:
- compatible
- reg
- clocks
- - '#thermal-sensor-cells'
examples:
- |
diff --git a/Documentation/devicetree/bindings/thermal/fsl,scu-thermal.yaml b/Documentation/devicetree/bindings/thermal/fsl,scu-thermal.yaml
index e02d04d4f71e..ceef318668bf 100644
--- a/Documentation/devicetree/bindings/thermal/fsl,scu-thermal.yaml
+++ b/Documentation/devicetree/bindings/thermal/fsl,scu-thermal.yaml
@@ -28,7 +28,6 @@ properties:
required:
- compatible
- - '#thermal-sensor-cells'
additionalProperties: false
diff --git a/Documentation/devicetree/bindings/thermal/loongson,ls2k-thermal.yaml b/Documentation/devicetree/bindings/thermal/loongson,ls2k-thermal.yaml
index ca81c8afba79..79e691b08341 100644
--- a/Documentation/devicetree/bindings/thermal/loongson,ls2k-thermal.yaml
+++ b/Documentation/devicetree/bindings/thermal/loongson,ls2k-thermal.yaml
@@ -38,7 +38,6 @@ required:
- compatible
- reg
- interrupts
- - '#thermal-sensor-cells'
if:
properties:
diff --git a/Documentation/devicetree/bindings/thermal/mediatek,lvts-thermal.yaml b/Documentation/devicetree/bindings/thermal/mediatek,lvts-thermal.yaml
index 331cf4e662e3..0259cd3ce9c5 100644
--- a/Documentation/devicetree/bindings/thermal/mediatek,lvts-thermal.yaml
+++ b/Documentation/devicetree/bindings/thermal/mediatek,lvts-thermal.yaml
@@ -99,7 +99,6 @@ required:
- resets
- nvmem-cells
- nvmem-cell-names
- - "#thermal-sensor-cells"
additionalProperties: false
diff --git a/Documentation/devicetree/bindings/thermal/nvidia,tegra124-soctherm.yaml b/Documentation/devicetree/bindings/thermal/nvidia,tegra124-soctherm.yaml
index b0237d236021..19bb1f324183 100644
--- a/Documentation/devicetree/bindings/thermal/nvidia,tegra124-soctherm.yaml
+++ b/Documentation/devicetree/bindings/thermal/nvidia,tegra124-soctherm.yaml
@@ -197,7 +197,6 @@ required:
- clock-names
- resets
- reset-names
- - "#thermal-sensor-cells"
allOf:
- $ref: thermal-sensor.yaml
diff --git a/Documentation/devicetree/bindings/thermal/nvidia,tegra30-tsensor.yaml b/Documentation/devicetree/bindings/thermal/nvidia,tegra30-tsensor.yaml
index 972d608ddf95..63a29a1f7fe6 100644
--- a/Documentation/devicetree/bindings/thermal/nvidia,tegra30-tsensor.yaml
+++ b/Documentation/devicetree/bindings/thermal/nvidia,tegra30-tsensor.yaml
@@ -48,10 +48,6 @@ properties:
"#thermal-sensor-cells":
const: 1
- assigned-clock-parents: true
- assigned-clock-rates: true
- assigned-clocks: true
-
required:
- compatible
- reg
diff --git a/Documentation/devicetree/bindings/thermal/qcom,spmi-temp-alarm.yaml b/Documentation/devicetree/bindings/thermal/qcom,spmi-temp-alarm.yaml
index 5f08b6e59b8a..30b22151aa82 100644
--- a/Documentation/devicetree/bindings/thermal/qcom,spmi-temp-alarm.yaml
+++ b/Documentation/devicetree/bindings/thermal/qcom,spmi-temp-alarm.yaml
@@ -42,7 +42,6 @@ required:
- compatible
- reg
- interrupts
- - '#thermal-sensor-cells'
additionalProperties: false
--
2.43.0
_______________________________________________
linux-amlogic mailing list
linux-amlogic@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-amlogic
^ permalink raw reply [flat|nested] 25+ messages in thread
* [PATCH RESEND 22/22] dt-bindings: thermal: cleanup examples indentation
2024-07-05 9:51 [PATCH RESEND 00/22] dt-bindings: thermal: few cleanups Krzysztof Kozlowski
` (20 preceding siblings ...)
2024-07-05 9:51 ` [PATCH RESEND 21/22] dt-bindings: thermal: simplify few bindings Krzysztof Kozlowski
@ 2024-07-05 9:51 ` Krzysztof Kozlowski
2024-07-05 11:18 ` [PATCH RESEND 00/22] dt-bindings: thermal: few cleanups Daniel Lezcano
2024-07-05 15:40 ` Daniel Lezcano
23 siblings, 0 replies; 25+ messages in thread
From: Krzysztof Kozlowski @ 2024-07-05 9:51 UTC (permalink / raw)
To: Daniel Lezcano, Zhang Rui, Rob Herring, Conor Dooley,
Guillaume La Roque, Krzysztof Kozlowski, Chen-Yu Tsai,
Fabio Estevam
Cc: linux-pm, linux-samsung-soc, devicetree, linux-arm-kernel,
linux-kernel, linux-amlogic, linux-sunxi, imx, linux-tegra,
linux-arm-msm, linux-renesas-soc, linux-rockchip, linux-stm32,
Florian Fainelli, linux-rpi-kernel, linux-mediatek, Conor Dooley,
Krzysztof Kozlowski
Preferred indentation for DTS examples in the bindings is 4-space. It
is also preferred not to have redundant/unused labels. No functional
change
Acked-by: Conor Dooley <conor.dooley@microchip.com>
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
---
.../bindings/thermal/amlogic,thermal.yaml | 18 ++---
.../bindings/thermal/brcm,avs-ro-thermal.yaml | 16 ++--
.../devicetree/bindings/thermal/brcm,avs-tmon.yaml | 16 ++--
.../devicetree/bindings/thermal/qcom-tsens.yaml | 88 ++++++++++------------
.../bindings/thermal/rcar-gen3-thermal.yaml | 64 ++++++++--------
.../devicetree/bindings/thermal/rcar-thermal.yaml | 60 +++++++--------
.../devicetree/bindings/thermal/rzg2l-thermal.yaml | 36 ++++-----
.../devicetree/bindings/thermal/sprd-thermal.yaml | 42 +++++------
.../bindings/thermal/ti,am654-thermal.yaml | 10 +--
9 files changed, 172 insertions(+), 178 deletions(-)
diff --git a/Documentation/devicetree/bindings/thermal/amlogic,thermal.yaml b/Documentation/devicetree/bindings/thermal/amlogic,thermal.yaml
index e52fc40e215d..725303e1a364 100644
--- a/Documentation/devicetree/bindings/thermal/amlogic,thermal.yaml
+++ b/Documentation/devicetree/bindings/thermal/amlogic,thermal.yaml
@@ -50,13 +50,13 @@ unevaluatedProperties: false
examples:
- |
- cpu_temp: temperature-sensor@ff634800 {
- compatible = "amlogic,g12a-cpu-thermal",
- "amlogic,g12a-thermal";
- reg = <0xff634800 0x50>;
- interrupts = <0x0 0x24 0x0>;
- clocks = <&clk 164>;
- #thermal-sensor-cells = <0>;
- amlogic,ao-secure = <&sec_AO>;
- };
+ temperature-sensor@ff634800 {
+ compatible = "amlogic,g12a-cpu-thermal",
+ "amlogic,g12a-thermal";
+ reg = <0xff634800 0x50>;
+ interrupts = <0x0 0x24 0x0>;
+ clocks = <&clk 164>;
+ #thermal-sensor-cells = <0>;
+ amlogic,ao-secure = <&sec_AO>;
+ };
...
diff --git a/Documentation/devicetree/bindings/thermal/brcm,avs-ro-thermal.yaml b/Documentation/devicetree/bindings/thermal/brcm,avs-ro-thermal.yaml
index 0271a0bc1843..29a9844e8b48 100644
--- a/Documentation/devicetree/bindings/thermal/brcm,avs-ro-thermal.yaml
+++ b/Documentation/devicetree/bindings/thermal/brcm,avs-ro-thermal.yaml
@@ -35,14 +35,14 @@ unevaluatedProperties: false
examples:
- |
- avs-monitor@7d5d2000 {
- compatible = "brcm,bcm2711-avs-monitor",
- "syscon", "simple-mfd";
- reg = <0x7d5d2000 0xf00>;
+ avs-monitor@7d5d2000 {
+ compatible = "brcm,bcm2711-avs-monitor",
+ "syscon", "simple-mfd";
+ reg = <0x7d5d2000 0xf00>;
- thermal: thermal {
- compatible = "brcm,bcm2711-thermal";
- #thermal-sensor-cells = <0>;
- };
+ thermal: thermal {
+ compatible = "brcm,bcm2711-thermal";
+ #thermal-sensor-cells = <0>;
};
+ };
...
diff --git a/Documentation/devicetree/bindings/thermal/brcm,avs-tmon.yaml b/Documentation/devicetree/bindings/thermal/brcm,avs-tmon.yaml
index 32730211e15b..081486b44382 100644
--- a/Documentation/devicetree/bindings/thermal/brcm,avs-tmon.yaml
+++ b/Documentation/devicetree/bindings/thermal/brcm,avs-tmon.yaml
@@ -45,11 +45,11 @@ required:
examples:
- |
- thermal@f04d1500 {
- compatible = "brcm,avs-tmon-bcm7445", "brcm,avs-tmon";
- reg = <0xf04d1500 0x28>;
- interrupts = <0x6>;
- interrupt-names = "tmon";
- interrupt-parent = <&avs_host_l2_intc>;
- #thermal-sensor-cells = <0>;
- };
+ thermal@f04d1500 {
+ compatible = "brcm,avs-tmon-bcm7445", "brcm,avs-tmon";
+ reg = <0xf04d1500 0x28>;
+ interrupts = <0x6>;
+ interrupt-names = "tmon";
+ interrupt-parent = <&avs_host_l2_intc>;
+ #thermal-sensor-cells = <0>;
+ };
diff --git a/Documentation/devicetree/bindings/thermal/qcom-tsens.yaml b/Documentation/devicetree/bindings/thermal/qcom-tsens.yaml
index cce6624228c7..01f9f45b94c2 100644
--- a/Documentation/devicetree/bindings/thermal/qcom-tsens.yaml
+++ b/Documentation/devicetree/bindings/thermal/qcom-tsens.yaml
@@ -295,22 +295,16 @@ unevaluatedProperties: false
examples:
- |
#include <dt-bindings/interrupt-controller/arm-gic.h>
- // Example msm9860 based SoC (ipq8064):
- gcc: clock-controller {
+ thermal-sensor {
+ compatible = "qcom,ipq8064-tsens";
- /* ... */
+ nvmem-cells = <&tsens_calib>, <&tsens_calib_backup>;
+ nvmem-cell-names = "calib", "calib_backup";
+ interrupts = <GIC_SPI 178 IRQ_TYPE_LEVEL_HIGH>;
+ interrupt-names = "uplow";
- tsens: thermal-sensor {
- compatible = "qcom,ipq8064-tsens";
-
- nvmem-cells = <&tsens_calib>, <&tsens_calib_backup>;
- nvmem-cell-names = "calib", "calib_backup";
- interrupts = <GIC_SPI 178 IRQ_TYPE_LEVEL_HIGH>;
- interrupt-names = "uplow";
-
- #qcom,sensors = <11>;
- #thermal-sensor-cells = <1>;
- };
+ #qcom,sensors = <11>;
+ #thermal-sensor-cells = <1>;
};
- |
@@ -347,66 +341,66 @@ examples:
#include <dt-bindings/interrupt-controller/arm-gic.h>
// Example 1 (legacy: for pre v1 IP):
tsens1: thermal-sensor@4a9000 {
- compatible = "qcom,msm8916-tsens", "qcom,tsens-v0_1";
- reg = <0x4a9000 0x1000>, /* TM */
- <0x4a8000 0x1000>; /* SROT */
+ compatible = "qcom,msm8916-tsens", "qcom,tsens-v0_1";
+ reg = <0x4a9000 0x1000>, /* TM */
+ <0x4a8000 0x1000>; /* SROT */
- nvmem-cells = <&tsens_caldata>, <&tsens_calsel>;
- nvmem-cell-names = "calib", "calib_sel";
+ nvmem-cells = <&tsens_caldata>, <&tsens_calsel>;
+ nvmem-cell-names = "calib", "calib_sel";
- interrupts = <GIC_SPI 184 IRQ_TYPE_LEVEL_HIGH>;
- interrupt-names = "uplow";
+ interrupts = <GIC_SPI 184 IRQ_TYPE_LEVEL_HIGH>;
+ interrupt-names = "uplow";
- #qcom,sensors = <5>;
- #thermal-sensor-cells = <1>;
+ #qcom,sensors = <5>;
+ #thermal-sensor-cells = <1>;
};
- |
#include <dt-bindings/interrupt-controller/arm-gic.h>
// Example 2 (for any platform containing v1 of the TSENS IP):
tsens2: thermal-sensor@4a9000 {
- compatible = "qcom,qcs404-tsens", "qcom,tsens-v1";
- reg = <0x004a9000 0x1000>, /* TM */
- <0x004a8000 0x1000>; /* SROT */
+ compatible = "qcom,qcs404-tsens", "qcom,tsens-v1";
+ reg = <0x004a9000 0x1000>, /* TM */
+ <0x004a8000 0x1000>; /* SROT */
- nvmem-cells = <&tsens_caldata>;
- nvmem-cell-names = "calib";
+ nvmem-cells = <&tsens_caldata>;
+ nvmem-cell-names = "calib";
- interrupts = <GIC_SPI 506 IRQ_TYPE_LEVEL_HIGH>;
- interrupt-names = "uplow";
+ interrupts = <GIC_SPI 506 IRQ_TYPE_LEVEL_HIGH>;
+ interrupt-names = "uplow";
- #qcom,sensors = <10>;
- #thermal-sensor-cells = <1>;
+ #qcom,sensors = <10>;
+ #thermal-sensor-cells = <1>;
};
- |
#include <dt-bindings/interrupt-controller/arm-gic.h>
// Example 3 (for any platform containing v2 of the TSENS IP):
tsens3: thermal-sensor@c263000 {
- compatible = "qcom,sdm845-tsens", "qcom,tsens-v2";
- reg = <0xc263000 0x1ff>,
- <0xc222000 0x1ff>;
+ compatible = "qcom,sdm845-tsens", "qcom,tsens-v2";
+ reg = <0xc263000 0x1ff>,
+ <0xc222000 0x1ff>;
- interrupts = <GIC_SPI 506 IRQ_TYPE_LEVEL_HIGH>,
- <GIC_SPI 508 IRQ_TYPE_LEVEL_HIGH>;
- interrupt-names = "uplow", "critical";
+ interrupts = <GIC_SPI 506 IRQ_TYPE_LEVEL_HIGH>,
+ <GIC_SPI 508 IRQ_TYPE_LEVEL_HIGH>;
+ interrupt-names = "uplow", "critical";
- #qcom,sensors = <13>;
- #thermal-sensor-cells = <1>;
+ #qcom,sensors = <13>;
+ #thermal-sensor-cells = <1>;
};
- |
#include <dt-bindings/interrupt-controller/arm-gic.h>
// Example 4 (for any IPQ8074 based SoC-s):
tsens4: thermal-sensor@4a9000 {
- compatible = "qcom,ipq8074-tsens";
- reg = <0x4a9000 0x1000>,
- <0x4a8000 0x1000>;
+ compatible = "qcom,ipq8074-tsens";
+ reg = <0x4a9000 0x1000>,
+ <0x4a8000 0x1000>;
- interrupts = <GIC_SPI 184 IRQ_TYPE_LEVEL_HIGH>;
- interrupt-names = "combined";
+ interrupts = <GIC_SPI 184 IRQ_TYPE_LEVEL_HIGH>;
+ interrupt-names = "combined";
- #qcom,sensors = <16>;
- #thermal-sensor-cells = <1>;
+ #qcom,sensors = <16>;
+ #thermal-sensor-cells = <1>;
};
...
diff --git a/Documentation/devicetree/bindings/thermal/rcar-gen3-thermal.yaml b/Documentation/devicetree/bindings/thermal/rcar-gen3-thermal.yaml
index d92e882c9e8d..b6657d64cf3d 100644
--- a/Documentation/devicetree/bindings/thermal/rcar-gen3-thermal.yaml
+++ b/Documentation/devicetree/bindings/thermal/rcar-gen3-thermal.yaml
@@ -106,33 +106,33 @@ examples:
#include <dt-bindings/power/r8a7795-sysc.h>
tsc: thermal@e6198000 {
- compatible = "renesas,r8a7795-thermal";
- reg = <0xe6198000 0x100>,
- <0xe61a0000 0x100>,
- <0xe61a8000 0x100>;
- interrupts = <GIC_SPI 67 IRQ_TYPE_LEVEL_HIGH>,
- <GIC_SPI 68 IRQ_TYPE_LEVEL_HIGH>,
- <GIC_SPI 69 IRQ_TYPE_LEVEL_HIGH>;
- clocks = <&cpg CPG_MOD 522>;
- power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
- resets = <&cpg 522>;
- #thermal-sensor-cells = <1>;
+ compatible = "renesas,r8a7795-thermal";
+ reg = <0xe6198000 0x100>,
+ <0xe61a0000 0x100>,
+ <0xe61a8000 0x100>;
+ interrupts = <GIC_SPI 67 IRQ_TYPE_LEVEL_HIGH>,
+ <GIC_SPI 68 IRQ_TYPE_LEVEL_HIGH>,
+ <GIC_SPI 69 IRQ_TYPE_LEVEL_HIGH>;
+ clocks = <&cpg CPG_MOD 522>;
+ power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
+ resets = <&cpg 522>;
+ #thermal-sensor-cells = <1>;
};
thermal-zones {
- sensor_thermal: sensor-thermal {
- polling-delay-passive = <250>;
- polling-delay = <1000>;
- thermal-sensors = <&tsc 0>;
+ sensor_thermal: sensor-thermal {
+ polling-delay-passive = <250>;
+ polling-delay = <1000>;
+ thermal-sensors = <&tsc 0>;
- trips {
- sensor1_crit: sensor1-crit {
- temperature = <90000>;
- hysteresis = <2000>;
- type = "critical";
- };
- };
+ trips {
+ sensor1_crit: sensor1-crit {
+ temperature = <90000>;
+ hysteresis = <2000>;
+ type = "critical";
+ };
};
+ };
};
- |
#include <dt-bindings/clock/r8a779a0-cpg-mssr.h>
@@ -140,14 +140,14 @@ examples:
#include <dt-bindings/power/r8a779a0-sysc.h>
tsc_r8a779a0: thermal@e6190000 {
- compatible = "renesas,r8a779a0-thermal";
- reg = <0xe6190000 0x200>,
- <0xe6198000 0x200>,
- <0xe61a0000 0x200>,
- <0xe61a8000 0x200>,
- <0xe61b0000 0x200>;
- clocks = <&cpg CPG_MOD 919>;
- power-domains = <&sysc R8A779A0_PD_ALWAYS_ON>;
- resets = <&cpg 919>;
- #thermal-sensor-cells = <1>;
+ compatible = "renesas,r8a779a0-thermal";
+ reg = <0xe6190000 0x200>,
+ <0xe6198000 0x200>,
+ <0xe61a0000 0x200>,
+ <0xe61a8000 0x200>,
+ <0xe61b0000 0x200>;
+ clocks = <&cpg CPG_MOD 919>;
+ power-domains = <&sysc R8A779A0_PD_ALWAYS_ON>;
+ resets = <&cpg 919>;
+ #thermal-sensor-cells = <1>;
};
diff --git a/Documentation/devicetree/bindings/thermal/rcar-thermal.yaml b/Documentation/devicetree/bindings/thermal/rcar-thermal.yaml
index 119998d10ff4..221a58d18cad 100644
--- a/Documentation/devicetree/bindings/thermal/rcar-thermal.yaml
+++ b/Documentation/devicetree/bindings/thermal/rcar-thermal.yaml
@@ -98,8 +98,8 @@ examples:
# Example (non interrupt support)
- |
thermal@ffc48000 {
- compatible = "renesas,thermal-r8a7779", "renesas,rcar-thermal";
- reg = <0xffc48000 0x38>;
+ compatible = "renesas,thermal-r8a7779", "renesas,rcar-thermal";
+ reg = <0xffc48000 0x38>;
};
# Example (interrupt support)
@@ -109,12 +109,12 @@ examples:
#include <dt-bindings/interrupt-controller/irq.h>
thermal@e61f0000 {
- compatible = "renesas,thermal-r8a73a4", "renesas,rcar-thermal";
- reg = <0xe61f0000 0x14>, <0xe61f0100 0x38>,
- <0xe61f0200 0x38>, <0xe61f0300 0x38>;
- interrupts = <GIC_SPI 69 IRQ_TYPE_LEVEL_HIGH>;
- clocks = <&mstp5_clks R8A73A4_CLK_THERMAL>;
- power-domains = <&pd_c5>;
+ compatible = "renesas,thermal-r8a73a4", "renesas,rcar-thermal";
+ reg = <0xe61f0000 0x14>, <0xe61f0100 0x38>,
+ <0xe61f0200 0x38>, <0xe61f0300 0x38>;
+ interrupts = <GIC_SPI 69 IRQ_TYPE_LEVEL_HIGH>;
+ clocks = <&mstp5_clks R8A73A4_CLK_THERMAL>;
+ power-domains = <&pd_c5>;
};
# Example (with thermal-zone)
@@ -124,32 +124,32 @@ examples:
#include <dt-bindings/power/r8a7790-sysc.h>
thermal: thermal@e61f0000 {
- compatible = "renesas,thermal-r8a7790",
- "renesas,rcar-gen2-thermal",
- "renesas,rcar-thermal";
- reg = <0xe61f0000 0x10>, <0xe61f0100 0x38>;
- interrupts = <GIC_SPI 69 IRQ_TYPE_LEVEL_HIGH>;
- clocks = <&cpg CPG_MOD 522>;
- power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
- resets = <&cpg 522>;
- #thermal-sensor-cells = <0>;
+ compatible = "renesas,thermal-r8a7790",
+ "renesas,rcar-gen2-thermal",
+ "renesas,rcar-thermal";
+ reg = <0xe61f0000 0x10>, <0xe61f0100 0x38>;
+ interrupts = <GIC_SPI 69 IRQ_TYPE_LEVEL_HIGH>;
+ clocks = <&cpg CPG_MOD 522>;
+ power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
+ resets = <&cpg 522>;
+ #thermal-sensor-cells = <0>;
};
thermal-zones {
- cpu_thermal: cpu-thermal {
- polling-delay-passive = <1000>;
- polling-delay = <5000>;
+ cpu_thermal: cpu-thermal {
+ polling-delay-passive = <1000>;
+ polling-delay = <5000>;
- thermal-sensors = <&thermal>;
+ thermal-sensors = <&thermal>;
- trips {
- cpu-crit {
- temperature = <115000>;
- hysteresis = <0>;
- type = "critical";
- };
- };
- cooling-maps {
- };
+ trips {
+ cpu-crit {
+ temperature = <115000>;
+ hysteresis = <0>;
+ type = "critical";
+ };
};
+ cooling-maps {
+ };
+ };
};
diff --git a/Documentation/devicetree/bindings/thermal/rzg2l-thermal.yaml b/Documentation/devicetree/bindings/thermal/rzg2l-thermal.yaml
index 2f96c0fe0f75..136589f5adee 100644
--- a/Documentation/devicetree/bindings/thermal/rzg2l-thermal.yaml
+++ b/Documentation/devicetree/bindings/thermal/rzg2l-thermal.yaml
@@ -53,27 +53,27 @@ examples:
#include <dt-bindings/clock/r9a07g044-cpg.h>
tsu: thermal@10059400 {
- compatible = "renesas,r9a07g044-tsu",
- "renesas,rzg2l-tsu";
- reg = <0x10059400 0x400>;
- clocks = <&cpg CPG_MOD R9A07G044_TSU_PCLK>;
- resets = <&cpg R9A07G044_TSU_PRESETN>;
- power-domains = <&cpg>;
- #thermal-sensor-cells = <1>;
+ compatible = "renesas,r9a07g044-tsu",
+ "renesas,rzg2l-tsu";
+ reg = <0x10059400 0x400>;
+ clocks = <&cpg CPG_MOD R9A07G044_TSU_PCLK>;
+ resets = <&cpg R9A07G044_TSU_PRESETN>;
+ power-domains = <&cpg>;
+ #thermal-sensor-cells = <1>;
};
thermal-zones {
- cpu-thermal {
- polling-delay-passive = <250>;
- polling-delay = <1000>;
- thermal-sensors = <&tsu 0>;
+ cpu-thermal {
+ polling-delay-passive = <250>;
+ polling-delay = <1000>;
+ thermal-sensors = <&tsu 0>;
- trips {
- sensor_crit: sensor-crit {
- temperature = <125000>;
- hysteresis = <1000>;
- type = "critical";
- };
- };
+ trips {
+ sensor_crit: sensor-crit {
+ temperature = <125000>;
+ hysteresis = <1000>;
+ type = "critical";
+ };
};
+ };
};
diff --git a/Documentation/devicetree/bindings/thermal/sprd-thermal.yaml b/Documentation/devicetree/bindings/thermal/sprd-thermal.yaml
index f65076fc68f9..afa551f6185f 100644
--- a/Documentation/devicetree/bindings/thermal/sprd-thermal.yaml
+++ b/Documentation/devicetree/bindings/thermal/sprd-thermal.yaml
@@ -86,27 +86,27 @@ unevaluatedProperties: false
examples:
- |
- ap_thm0: thermal@32200000 {
- compatible = "sprd,ums512-thermal";
- reg = <0x32200000 0x10000>;
- clock-names = "enable";
- clocks = <&aonapb_gate 32>;
- #thermal-sensor-cells = <1>;
- nvmem-cells = <&thm0_sign>, <&thm0_ratio>;
- nvmem-cell-names = "thm_sign_cal", "thm_ratio_cal";
- #address-cells = <1>;
- #size-cells = <0>;
+ thermal@32200000 {
+ compatible = "sprd,ums512-thermal";
+ reg = <0x32200000 0x10000>;
+ clock-names = "enable";
+ clocks = <&aonapb_gate 32>;
+ #thermal-sensor-cells = <1>;
+ nvmem-cells = <&thm0_sign>, <&thm0_ratio>;
+ nvmem-cell-names = "thm_sign_cal", "thm_ratio_cal";
+ #address-cells = <1>;
+ #size-cells = <0>;
- prometheus-sensor@0 {
- reg = <0>;
- nvmem-cells = <&thm0_sen0>;
- nvmem-cell-names = "sen_delta_cal";
- };
-
- ank-sensor@1 {
- reg = <1>;
- nvmem-cells = <&thm0_sen1>;
- nvmem-cell-names = "sen_delta_cal";
- };
+ prometheus-sensor@0 {
+ reg = <0>;
+ nvmem-cells = <&thm0_sen0>;
+ nvmem-cell-names = "sen_delta_cal";
};
+
+ ank-sensor@1 {
+ reg = <1>;
+ nvmem-cells = <&thm0_sen1>;
+ nvmem-cell-names = "sen_delta_cal";
+ };
+ };
...
diff --git a/Documentation/devicetree/bindings/thermal/ti,am654-thermal.yaml b/Documentation/devicetree/bindings/thermal/ti,am654-thermal.yaml
index 16801aa78bc2..c123d9070525 100644
--- a/Documentation/devicetree/bindings/thermal/ti,am654-thermal.yaml
+++ b/Documentation/devicetree/bindings/thermal/ti,am654-thermal.yaml
@@ -47,11 +47,11 @@ examples:
thermal-sensors = <&vtm0 0>;
trips {
- mpu0_crit: mpu0_crit {
- temperature = <125000>; /* milliCelsius */
- hysteresis = <2000>; /* milliCelsius */
- type = "critical";
- };
+ mpu0_crit: mpu0_crit {
+ temperature = <125000>; /* milliCelsius */
+ hysteresis = <2000>; /* milliCelsius */
+ type = "critical";
+ };
};
};
...
--
2.43.0
_______________________________________________
linux-amlogic mailing list
linux-amlogic@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-amlogic
^ permalink raw reply [flat|nested] 25+ messages in thread
* Re: [PATCH RESEND 00/22] dt-bindings: thermal: few cleanups
2024-07-05 9:51 [PATCH RESEND 00/22] dt-bindings: thermal: few cleanups Krzysztof Kozlowski
` (21 preceding siblings ...)
2024-07-05 9:51 ` [PATCH RESEND 22/22] dt-bindings: thermal: cleanup examples indentation Krzysztof Kozlowski
@ 2024-07-05 11:18 ` Daniel Lezcano
2024-07-05 15:40 ` Daniel Lezcano
23 siblings, 0 replies; 25+ messages in thread
From: Daniel Lezcano @ 2024-07-05 11:18 UTC (permalink / raw)
To: Krzysztof Kozlowski, Zhang Rui, Rob Herring, Conor Dooley,
Guillaume La Roque, Krzysztof Kozlowski, Chen-Yu Tsai,
Fabio Estevam
Cc: linux-pm, linux-samsung-soc, devicetree, linux-arm-kernel,
linux-kernel, linux-amlogic, linux-sunxi, imx, linux-tegra,
linux-arm-msm, linux-renesas-soc, linux-rockchip, linux-stm32,
Florian Fainelli, linux-rpi-kernel, linux-mediatek, Conor Dooley,
Neil Armstrong, Vasily Khoruzhick, Florian Fainelli,
Dmitry Baryshkov, Amit Kucheria, Niklas Söderlund,
Heiko Stuebner, Biju Das, Baolin Wang,
AngeloGioacchino Del Regno
On 05/07/2024 11:51, Krzysztof Kozlowski wrote:
> Hi,
>
> Resending (with added tags) because patchset was still not applied.
> Daniel, can you pick it up?
Yes
> Few cleanups witout practical impact, except maybe the Amlogic schema
> (bringing required cells).
>
> Link to v1: https://lore.kernel.org/r/20240614-dt-bindings-thermal-allof-v1-0-30b25a6ae24e@linaro.org
>
> Best regards,
> Krzysztof
>
> ---
> Krzysztof Kozlowski (22):
> dt-bindings: thermal: samsung,exynos: specify cells
> dt-bindings: thermal: amlogic: reference thermal-sensor schema
> dt-bindings: thermal: allwinner,sun8i-a83t-ths: reference thermal-sensor schema
> dt-bindings: thermal: brcm,avs-ro: reference thermal-sensor schema
> dt-bindings: thermal: generic-adc: reference thermal-sensor schema
> dt-bindings: thermal: imx8mm: reference thermal-sensor schema
> dt-bindings: thermal: nvidia,tegra186-bpmp: reference thermal-sensor schema
> dt-bindings: thermal: nvidia,tegra30-tsensor: reference thermal-sensor schema
> dt-bindings: thermal: qcom-spmi-adc-tm-hc: reference thermal-sensor schema
> dt-bindings: thermal: qcom-spmi-adc-tm5: reference thermal-sensor schema
> dt-bindings: thermal: qcom-tsens: reference thermal-sensor schema
> dt-bindings: thermal: qoriq: reference thermal-sensor schema
> dt-bindings: thermal: rcar-gen3: reference thermal-sensor schema
> dt-bindings: thermal: rockchip: reference thermal-sensor schema
> dt-bindings: thermal: rzg2l: reference thermal-sensor schema
> dt-bindings: thermal: socionext,uniphier: reference thermal-sensor schema
> dt-bindings: thermal: sprd: reference thermal-sensor schema
> dt-bindings: thermal: st,stm32: reference thermal-sensor schema
> dt-bindings: thermal: ti,am654: reference thermal-sensor schema
> dt-bindings: thermal: ti,j72xx: reference thermal-sensor schema
> dt-bindings: thermal: simplify few bindings
> dt-bindings: thermal: cleanup examples indentation
>
> .../bindings/thermal/allwinner,sun8i-a83t-ths.yaml | 6 +-
> .../bindings/thermal/amlogic,thermal.yaml | 22 ++---
> .../bindings/thermal/brcm,avs-ro-thermal.yaml | 22 ++---
> .../devicetree/bindings/thermal/brcm,avs-tmon.yaml | 17 ++--
> .../bindings/thermal/brcm,bcm2835-thermal.yaml | 1 -
> .../bindings/thermal/fsl,scu-thermal.yaml | 1 -
> .../bindings/thermal/generic-adc-thermal.yaml | 5 +-
> .../bindings/thermal/imx8mm-thermal.yaml | 5 +-
> .../bindings/thermal/loongson,ls2k-thermal.yaml | 1 -
> .../bindings/thermal/mediatek,lvts-thermal.yaml | 1 -
> .../bindings/thermal/nvidia,tegra124-soctherm.yaml | 1 -
> .../thermal/nvidia,tegra186-bpmp-thermal.yaml | 12 +--
> .../bindings/thermal/nvidia,tegra30-tsensor.yaml | 9 +-
> .../bindings/thermal/qcom,spmi-temp-alarm.yaml | 1 -
> .../bindings/thermal/qcom-spmi-adc-tm-hc.yaml | 8 +-
> .../bindings/thermal/qcom-spmi-adc-tm5.yaml | 8 +-
> .../devicetree/bindings/thermal/qcom-tsens.yaml | 96 ++++++++++------------
> .../devicetree/bindings/thermal/qoriq-thermal.yaml | 5 +-
> .../bindings/thermal/rcar-gen3-thermal.yaml | 69 ++++++++--------
> .../devicetree/bindings/thermal/rcar-thermal.yaml | 60 +++++++-------
> .../bindings/thermal/rockchip-thermal.yaml | 5 +-
> .../devicetree/bindings/thermal/rzg2l-thermal.yaml | 41 ++++-----
> .../bindings/thermal/samsung,exynos-thermal.yaml | 3 +-
> .../thermal/socionext,uniphier-thermal.yaml | 5 +-
> .../devicetree/bindings/thermal/sprd-thermal.yaml | 47 +++++------
> .../bindings/thermal/st,stm32-thermal.yaml | 5 +-
> .../bindings/thermal/ti,am654-thermal.yaml | 15 ++--
> .../bindings/thermal/ti,j72xx-thermal.yaml | 5 +-
> 28 files changed, 230 insertions(+), 246 deletions(-)
> ---
> base-commit: 0b58e108042b0ed28a71cd7edf5175999955b233
> change-id: 20240614-dt-bindings-thermal-allof-401c50e61ef2
>
> Best regards,
--
<http://www.linaro.org/> Linaro.org │ Open source software for ARM SoCs
Follow Linaro: <http://www.facebook.com/pages/Linaro> Facebook |
<http://twitter.com/#!/linaroorg> Twitter |
<http://www.linaro.org/linaro-blog/> Blog
_______________________________________________
linux-amlogic mailing list
linux-amlogic@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-amlogic
^ permalink raw reply [flat|nested] 25+ messages in thread
* Re: [PATCH RESEND 00/22] dt-bindings: thermal: few cleanups
2024-07-05 9:51 [PATCH RESEND 00/22] dt-bindings: thermal: few cleanups Krzysztof Kozlowski
` (22 preceding siblings ...)
2024-07-05 11:18 ` [PATCH RESEND 00/22] dt-bindings: thermal: few cleanups Daniel Lezcano
@ 2024-07-05 15:40 ` Daniel Lezcano
23 siblings, 0 replies; 25+ messages in thread
From: Daniel Lezcano @ 2024-07-05 15:40 UTC (permalink / raw)
To: Krzysztof Kozlowski, Zhang Rui, Rob Herring, Conor Dooley,
Guillaume La Roque, Krzysztof Kozlowski, Chen-Yu Tsai,
Fabio Estevam
Cc: linux-pm, linux-samsung-soc, devicetree, linux-arm-kernel,
linux-kernel, linux-amlogic, linux-sunxi, imx, linux-tegra,
linux-arm-msm, linux-renesas-soc, linux-rockchip, linux-stm32,
Florian Fainelli, linux-rpi-kernel, linux-mediatek, Conor Dooley,
Neil Armstrong, Vasily Khoruzhick, Florian Fainelli,
Dmitry Baryshkov, Amit Kucheria, Niklas Söderlund,
Heiko Stuebner, Biju Das, Baolin Wang,
AngeloGioacchino Del Regno
On 05/07/2024 11:51, Krzysztof Kozlowski wrote:
> Hi,
>
> Resending (with added tags) because patchset was still not applied.
> Daniel, can you pick it up?
Applied, thanks
--
<http://www.linaro.org/> Linaro.org │ Open source software for ARM SoCs
Follow Linaro: <http://www.facebook.com/pages/Linaro> Facebook |
<http://twitter.com/#!/linaroorg> Twitter |
<http://www.linaro.org/linaro-blog/> Blog
_______________________________________________
linux-amlogic mailing list
linux-amlogic@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-amlogic
^ permalink raw reply [flat|nested] 25+ messages in thread
end of thread, other threads:[~2024-07-05 15:40 UTC | newest]
Thread overview: 25+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-07-05 9:51 [PATCH RESEND 00/22] dt-bindings: thermal: few cleanups Krzysztof Kozlowski
2024-07-05 9:51 ` [PATCH RESEND 01/22] dt-bindings: thermal: samsung,exynos: specify cells Krzysztof Kozlowski
2024-07-05 9:51 ` [PATCH RESEND 02/22] dt-bindings: thermal: amlogic: reference thermal-sensor schema Krzysztof Kozlowski
2024-07-05 9:51 ` [PATCH RESEND 03/22] dt-bindings: thermal: allwinner,sun8i-a83t-ths: " Krzysztof Kozlowski
2024-07-05 9:51 ` [PATCH RESEND 04/22] dt-bindings: thermal: brcm,avs-ro: " Krzysztof Kozlowski
2024-07-05 9:51 ` [PATCH RESEND 05/22] dt-bindings: thermal: generic-adc: " Krzysztof Kozlowski
2024-07-05 9:51 ` [PATCH RESEND 06/22] dt-bindings: thermal: imx8mm: " Krzysztof Kozlowski
2024-07-05 9:51 ` [PATCH RESEND 07/22] dt-bindings: thermal: nvidia,tegra186-bpmp: " Krzysztof Kozlowski
2024-07-05 9:51 ` [PATCH RESEND 08/22] dt-bindings: thermal: nvidia,tegra30-tsensor: " Krzysztof Kozlowski
2024-07-05 9:51 ` [PATCH RESEND 09/22] dt-bindings: thermal: qcom-spmi-adc-tm-hc: " Krzysztof Kozlowski
2024-07-05 9:51 ` [PATCH RESEND 10/22] dt-bindings: thermal: qcom-spmi-adc-tm5: " Krzysztof Kozlowski
2024-07-05 9:51 ` [PATCH RESEND 11/22] dt-bindings: thermal: qcom-tsens: " Krzysztof Kozlowski
2024-07-05 9:51 ` [PATCH RESEND 12/22] dt-bindings: thermal: qoriq: " Krzysztof Kozlowski
2024-07-05 9:51 ` [PATCH RESEND 13/22] dt-bindings: thermal: rcar-gen3: " Krzysztof Kozlowski
2024-07-05 9:51 ` [PATCH RESEND 14/22] dt-bindings: thermal: rockchip: " Krzysztof Kozlowski
2024-07-05 9:51 ` [PATCH RESEND 15/22] dt-bindings: thermal: rzg2l: " Krzysztof Kozlowski
2024-07-05 9:51 ` [PATCH RESEND 16/22] dt-bindings: thermal: socionext,uniphier: " Krzysztof Kozlowski
2024-07-05 9:51 ` [PATCH RESEND 17/22] dt-bindings: thermal: sprd: " Krzysztof Kozlowski
2024-07-05 9:51 ` [PATCH RESEND 18/22] dt-bindings: thermal: st,stm32: " Krzysztof Kozlowski
2024-07-05 9:51 ` [PATCH RESEND 19/22] dt-bindings: thermal: ti,am654: " Krzysztof Kozlowski
2024-07-05 9:51 ` [PATCH RESEND 20/22] dt-bindings: thermal: ti,j72xx: " Krzysztof Kozlowski
2024-07-05 9:51 ` [PATCH RESEND 21/22] dt-bindings: thermal: simplify few bindings Krzysztof Kozlowski
2024-07-05 9:51 ` [PATCH RESEND 22/22] dt-bindings: thermal: cleanup examples indentation Krzysztof Kozlowski
2024-07-05 11:18 ` [PATCH RESEND 00/22] dt-bindings: thermal: few cleanups Daniel Lezcano
2024-07-05 15:40 ` Daniel Lezcano
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®