[PATCH v5 1/3] dt-bindings: embedded-controller: Add Lenovo ThinkPad T14s thermal sensor provider support
From: Daniel Lezcano
Date: Mon Jul 06 2026 - 14:48:06 EST
Document the Lenovo ThinkPad T14s Embedded Controller as a thermal
sensor provider by adding the '#thermal-sensor-cells' property.
This allows the EC temperature sensors to be referenced from thermal
zones in the device tree.
Signed-off-by: Daniel Lezcano <daniel.lezcano@xxxxxxxxxxxxxxxx>
---
.../embedded-controller/lenovo,thinkpad-t14s-ec.yaml | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/Documentation/devicetree/bindings/embedded-controller/lenovo,thinkpad-t14s-ec.yaml b/Documentation/devicetree/bindings/embedded-controller/lenovo,thinkpad-t14s-ec.yaml
index c87ccb5b3086..0d049979e35b 100644
--- a/Documentation/devicetree/bindings/embedded-controller/lenovo,thinkpad-t14s-ec.yaml
+++ b/Documentation/devicetree/bindings/embedded-controller/lenovo,thinkpad-t14s-ec.yaml
@@ -26,10 +26,14 @@ properties:
wakeup-source: true
+ "#thermal-sensor-cells":
+ const: 1
+
required:
- compatible
- reg
- interrupts
+ - "#thermal-sensor-cells"
additionalProperties: false
@@ -45,6 +49,7 @@ examples:
reg = <0x28>;
interrupts-extended = <&tlmm 66 IRQ_TYPE_LEVEL_LOW>;
wakeup-source;
+ #thermal-sensor-cells = <1>;
};
};
...
--
2.53.0