[PATCH 1/3] dt-bindings: power: mt8196-gpufreq: Add #thermal-sensor-cells

Alexandre Mergnat amergnat at baylibre.com
Mon Nov 30 06:19:31 PST 2026


From: Moudy Ho <moudy.ho at mediatek.com>

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 at mediatek.com>
Signed-off-by: Alexandre Mergnat <amergnat at baylibre.com>
---
 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




More information about the linux-arm-kernel mailing list