* [PATCH] dt-bindings: thermal: Drop thermal zone node name length limit
@ 2026-10-26 9:49 Daniel Lezcano
0 siblings, 0 replies; only message in thread
From: Daniel Lezcano @ 2026-10-26 9:49 UTC (permalink / raw)
To: daniel.lezcano, robh, krzk+dt
Cc: Manaf Meethalavalappu Pallikunhi, Rafael J. Wysocki,
Daniel Lezcano, Zhang Rui, Lukasz Luba, Conor Dooley,
open list:THERMAL,
open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS,
open list
Device Tree bindings describe hardware and must remain OS-agnostic.
The thermal zone node name length limit is derived from Linux's
THERMAL_NAME_LENGTH macro, which is an implementation detail rather
than a hardware requirement.
Remove the length restriction and its accompanying comment while
preserving the thermal zone naming convention. Any OS-specific limits
should be handled by the implementation rather than encoded in the
Device Tree ABI.
Signed-off-by: Daniel Lezcano <daniel.lezcano@oss.qualcomm.com>
Cc: Manaf Meethalavalappu Pallikunhi <manaf.pallikunhi@oss.qualcomm.com>
---
Documentation/devicetree/bindings/thermal/thermal-zones.yaml | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/Documentation/devicetree/bindings/thermal/thermal-zones.yaml b/Documentation/devicetree/bindings/thermal/thermal-zones.yaml
index 999ad40a20d5..6091e886829d 100644
--- a/Documentation/devicetree/bindings/thermal/thermal-zones.yaml
+++ b/Documentation/devicetree/bindings/thermal/thermal-zones.yaml
@@ -49,10 +49,7 @@ properties:
to take when the temperature crosses those thresholds.
patternProperties:
- # Node name is limited in size due to Linux kernel requirements - 19
- # characters in total (see THERMAL_NAME_LENGTH, including terminating NUL
- # byte):
- "^[a-zA-Z][a-zA-Z0-9\\-]{1,10}-thermal$":
+ "^[a-zA-Z][a-zA-Z0-9\\-]*-thermal$":
type: object
description:
Each thermal zone node contains information about how frequently it
--
2.43.0
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2026-10-26 9:50 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-26 9:49 [PATCH] dt-bindings: thermal: Drop thermal zone node name length limit 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®