[PATCH 1/3] dt-bindings: power: mt8196-gpufreq: Add #thermal-sensor-cells
From: Alexandre Mergnat
Date: Mon Nov 30 2026 - 09:20:05 EST
From: Moudy Ho <moudy.ho@xxxxxxxxxxxx>
The gpufreq binding does not allow #thermal-sensor-cells, which a
thermal zone requires in the node it names as its sensor. A device
tree therefore cannot use the GPU temperature that the GPUEB reports
in a thermal zone without failing the schema check.
Allow the property, with no cells since the node provides one sensor.
Signed-off-by: Moudy Ho <moudy.ho@xxxxxxxxxxxx>
Signed-off-by: Alexandre Mergnat <amergnat@xxxxxxxxxxxx>
---
Documentation/devicetree/bindings/power/mediatek,mt8196-gpufreq.yaml | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/Documentation/devicetree/bindings/power/mediatek,mt8196-gpufreq.yaml b/Documentation/devicetree/bindings/power/mediatek,mt8196-gpufreq.yaml
index ba7f506dee9e..173a5a72ecfd 100644
--- a/Documentation/devicetree/bindings/power/mediatek,mt8196-gpufreq.yaml
+++ b/Documentation/devicetree/bindings/power/mediatek,mt8196-gpufreq.yaml
@@ -89,6 +89,9 @@ properties:
"#power-domain-cells":
const: 0
+ "#thermal-sensor-cells":
+ const: 0
+
shader-present:
type: object
@@ -133,6 +136,7 @@ examples:
#clock-cells = <1>;
#nvmem-cell-cells = <0>;
#power-domain-cells = <0>;
+ #thermal-sensor-cells = <0>;
shader-present {
};
--
2.43.0