dt-bindings: thermal: st,thermal-spear1340: convert to dtschema
Subsystems (3)
v3 cover dt-bindings: thermal: st,thermal-spear1340: convert to dtschema
This patch series converts SPEAr Thermal Sensor bindings to DT schema and removes the thermal_flags property from spear13xx.dtsi.
Changes since v2:
- Reword the commit message and subject to correct explanation in patch 2
- No changes in patch 1
Changes since v1:
- Changed unevaluatedProperties to additionalProperties in the binding
- Reword the commit message and subject in the second patch
Note:
* This patch is part of the GSoC2026 application process for device tree bindings conversions
* https://github.com/LinuxFoundationGSoC/ProjectIdeas/wiki/GSoC-2026-Device-Tree-Bindings
Gopi Krishna Menon (2):
dt-bindings: thermal: st,thermal-spear1340: convert to dtschema
ARM: dts: st: spear: remove undocumented thermal_flags property
.../bindings/thermal/spear-thermal.txt | 14 -------- .../thermal/st,thermal-spear1340.yaml | 36 +++++++++++++++++++ arch/arm/boot/dts/st/spear13xx.dtsi | 1 - 3 files changed, 36 insertions(+), 15 deletions(-) delete mode 100644 Documentation/devicetree/bindings/thermal/spear-thermal.txt create mode 100644 Documentation/devicetree/bindings/thermal/st,thermal-spear1340.yaml
Signature · 1 line
2.52.0
PATCH v3 1/2 dt-bindings: thermal: st,thermal-spear1340: convert to dtschema
Convert the SPEAr Thermal Sensor bindings to DT schema.
---
Changes since v2:
- No changes
Changes since v1:
- Changed unevaluatedProperties to additionalProperties in the binding
- Reword the commit message and subject in the second patch
Note:
* This patch is part of the GSoC2026 application process for device tree bindings conversions
* https://github.com/LinuxFoundationGSoC/ProjectIdeas/wiki/GSoC-2026-Device-Tree-Bindings
.../bindings/thermal/spear-thermal.txt | 14 -------- .../thermal/st,thermal-spear1340.yaml | 36 +++++++++++++++++++ 2 files changed, 36 insertions(+), 14 deletions(-) delete mode 100644 Documentation/devicetree/bindings/thermal/spear-thermal.txt create mode 100644 Documentation/devicetree/bindings/thermal/st,thermal-spear1340.yaml
Documentation/devicetree/bindings/thermal/spear-thermal.txt deleted +0 -14
@@ -1,14 +0,0 @@ -* SPEAr Thermal - -Required properties: -- compatible : "st,thermal-spear1340" -- reg : Address range of the thermal registers -- st,thermal-flags: flags used to enable thermal sensor - -Example: - - thermal@fc000000 { - compatible = "st,thermal-spear1340"; - reg = <0xfc000000 0x1000>; - st,thermal-flags = <0x7000>; - };
Documentation/devicetree/bindings/thermal/st,thermal-spear1340.yaml new file +36 -0
@@ -0,0 +1,36 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/thermal/st,thermal-spear1340.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: SPEAr Thermal Sensor + +maintainers: + - Viresh Kumar <[email protected]> + +properties: + compatible: + const: st,thermal-spear1340 + + reg: + maxItems: 1 + + st,thermal-flags: + description: flags used to enable thermal sensor + $ref: /schemas/types.yaml#/definitions/uint32 + +required: + - compatible + - reg + - st,thermal-flags + +additionalProperties: false + +examples: + - | + thermal@fc000000 { + compatible = "st,thermal-spear1340"; + reg = <0xfc000000 0x1000>; + st,thermal-flags = <0x7000>; + };
Signature · 1 line
2.52.0
Quoted 4 lines · Gopi Krishna Menon
Convert the SPEAr Thermal Sensor bindings to DT schema.
Reviewed-by Krzysztof Kozlowski <[email protected]>Signed-off-by Gopi Krishna Menon <[email protected]>
Applied patch 1/2,
Thanks
PATCH v3 2/2 ARM: dts: st: spear: remove undocumented thermal_flags property
In reply to Gopi Krishna Menonspear13xx.dtsi defines a thermal_flags property in spear thermal sensor node which is both unused in kernel and undocumented in spear thermal sensor's binding.
There were no dtbs_check warnings associated with this property as the underlying spear thermal binding was not converted to DTSchema.
Most likely st,thermal-flags is a misspelling of thermal_flags in spear13xx.dtsi. Since both st/spear1310.dtsi and st/spear1340.dtsi define st,thermal-flags property in spear thermal sensor node, we can safely remove this property from spear13xx.dtsi.
---
Changes since v2:
- Reword the commit message and subject to correct explanation in patch 2 Changes since v1:
- Changed unevaluatedProperties to additionalProperties in the binding
- Reword the commit message and subject in the second patch
Note:
* This patch is part of the GSoC2026 application process for device tree bindings conversions
* https://github.com/LinuxFoundationGSoC/ProjectIdeas/wiki/GSoC-2026-Device-Tree-Bindings
arch/arm/boot/dts/st/spear13xx.dtsi | 1 - 1 file changed, 1 deletion(-)
arch/arm/boot/dts/st/spear13xx.dtsi +0 -1
@@ -332,7 +332,6 @@ wdt@ec800620 { thermal@e07008c4 { compatible = "st,thermal-spear1340"; reg = <0xe07008c4 0x4>; - thermal_flags = <0x7000>; }; }; };
Signature · 1 line
2.52.0
Re: [PATCH v3 2/2] ARM: dts: st: spear: remove undocumented thermal_flags property
Quoted 7 lines · Gopi Krishna Menon
spear13xx.dtsidefines athermal_flagsproperty in spear thermal sensor node which is both unused in kernel and undocumented in spear thermal sensor's binding.There were no
dtbs_checkwarnings associated with this property as the underlying spear thermal binding was not converted to DTSchema.
Quoted 6 lines
Most likely st,thermal-flags is a misspelling of
thermal_flagsinspear13xx.dtsi. Since bothst/spear1310.dtsiandst/spear1340.dtsidefine st,thermal-flags property in spear thermal sensor node, we can safely remove this property fromspear13xx.dtsi.Signed-off-by Gopi Krishna Menon <[email protected]>
Best regards,
Krzysztof
Quoted 18 lines · Gopi Krishna Menon
This patch series converts SPEAr Thermal Sensor bindings to DT schema and removes the
thermal_flagsproperty fromspear13xx.dtsi.Changes since v2:
- Reword the commit message and subject to correct explanation in patch 2
- No changes in patch 1
Changes since v1:
- Changed unevaluatedProperties to additionalProperties in the binding
- Reword the commit message and subject in the second patchNote:
* This patch is part of the GSoC2026 application process for device tree bindings conversions
* https://github.com/LinuxFoundationGSoC/ProjectIdeas/wiki/GSoC-2026-Device-Tree-BindingsGopi Krishna Menon (2):
dt-bindings: thermal: st,thermal-spear1340: convert to dtschema
ARM: dts: st: spear: remove undocumentedthermal_flagsproperty
Quoted 6 lines
.../bindings/thermal/spear-thermal.txt | 14 -------- .../thermal/st,thermal-spear1340.yaml | 36 +++++++++++++++++++ arch/arm/boot/dts/st/spear13xx.dtsi | 1 - 3 files changed, 36 insertions(+), 15 deletions(-) delete mode 100644 Documentation/devicetree/bindings/thermal/spear-thermal.txt create mode 100644 Documentation/devicetree/bindings/thermal/st,thermal-spear1340.yaml
Signature · 1 line
viresh
This series was applied to soc/soc.git (for-next) by Arnd Bergmann <[email protected]>:
Hello:
This series was applied to soc/soc.git (for-next)
by Arnd Bergmann <[email protected]>:
Quoted 11 lines · On Sun, 29 Mar 2026 18:04:42 +0530 you wrote:
This patch series converts SPEAr Thermal Sensor bindings to DT schema and removes the
thermal_flagsproperty fromspear13xx.dtsi.Changes since v2:
- Reword the commit message and subject to correct explanation in patch 2
- No changes in patch 1
Changes since v1:
- Changed unevaluatedProperties to additionalProperties in the binding
- Reword the commit message and subject in the second patch[...]
Here is the summary with links:
- [v3,1/2] dt-bindings: thermal: st,thermal-spear1340: convert to dtschema (no matching commit)
- [v3,2/2] ARM: dts: st: spear: remove undocumented thermal_flags property
https://git.kernel.org/soc/soc/c/e00482b58f6d
You are awesome, thank you!
Signature · 2 lines
Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html