[PATCH v6 3/7] dt-bindings: iio: humidity: hdc20x0: add optional interrupts property

From: Josua Mayer
Date: Mon Feb 12 2024 - 12:39:15 EST


HDC2010 and HDC2080 humidity sensors both have an interrupt / data-ready
signal which can be used for signaling to the host.

Add binding for "interrupts" property so that boards wiring this signal
may describe the connection.

Signed-off-by: Josua Mayer <josua@xxxxxxxxxxxxx>
---
Documentation/devicetree/bindings/iio/humidity/ti,hdc2010.yaml | 3 +++
1 file changed, 3 insertions(+)

diff --git a/Documentation/devicetree/bindings/iio/humidity/ti,hdc2010.yaml b/Documentation/devicetree/bindings/iio/humidity/ti,hdc2010.yaml
index 79e75a8675cb..e3eca8917517 100644
--- a/Documentation/devicetree/bindings/iio/humidity/ti,hdc2010.yaml
+++ b/Documentation/devicetree/bindings/iio/humidity/ti,hdc2010.yaml
@@ -27,6 +27,9 @@ properties:
reg:
maxItems: 1

+ interrupts:
+ maxItems: 1
+
required:
- compatible
- reg

--
2.35.3