[PATCH v7] dt-bindings: iio: humidity: hdc20x0: add optional interrupts property

From: Josua Mayer
Date: Mon Feb 19 2024 - 09:49:08 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>
Acked-by: Rob Herring <robh@xxxxxxxxxx>
---
Changes in v7:
- split out of original patchset because it should go via iio tree
- collected acked-by Rob Herring from v6
- Link to v6: https://lore.kernel.org/r/20240212-add-am64-som-v6-0-b59edb2bc8c3@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

---
base-commit: 6613476e225e090cc9aad49be7fa504e290dd33d
change-id: 20240219-iio-hdc20x0-interrupt-binding-42307b7b99b5

Best regards,
--
Josua Mayer <josua@xxxxxxxxxxxxx>