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

Luca Weiss
2026-02-20T09:19:15Z

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

Signed-off-by: Luca Weiss <luca.weiss@fairphone.com>
---
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