[PATCH v2 2/5] dt-bindings: thermal: generic-adc: Document #io-channel-cells

From: Luca Weiss

Date: Fri Feb 20 2026 - 04:20:39 EST


Document the property to allow using this sensor with io-channels.

Signed-off-by: Luca Weiss <luca.weiss@xxxxxxxxxxxxx>
---
Documentation/devicetree/bindings/thermal/generic-adc-thermal.yaml | 4 ++++
1 file changed, 4 insertions(+)

diff --git a/Documentation/devicetree/bindings/thermal/generic-adc-thermal.yaml b/Documentation/devicetree/bindings/thermal/generic-adc-thermal.yaml
index 12e6418dc24d..317fc39ed46a 100644
--- a/Documentation/devicetree/bindings/thermal/generic-adc-thermal.yaml
+++ b/Documentation/devicetree/bindings/thermal/generic-adc-thermal.yaml
@@ -24,6 +24,9 @@ properties:
'#thermal-sensor-cells':
const: 0

+ "#io-channel-cells":
+ const: 0
+
io-channels:
maxItems: 1

@@ -58,6 +61,7 @@ examples:
thermal-sensor {
compatible = "generic-adc-thermal";
#thermal-sensor-cells = <0>;
+ #io-channel-cells = <0>;
io-channels = <&ads1015 1>;
io-channel-names = "sensor-channel";
temperature-lookup-table = <

--
2.53.0