2024-02-19 14:49:08

by Josua Mayer

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

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 <[email protected]>
Acked-by: Rob Herring <[email protected]>
---
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/[email protected]
---
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 <[email protected]>



2024-02-24 16:08:36

by Jonathan Cameron

[permalink] [raw]
Subject: Re: [PATCH v7] dt-bindings: iio: humidity: hdc20x0: add optional interrupts property

On Mon, 19 Feb 2024 15:48:21 +0100
Josua Mayer <[email protected]> wrote:

> 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 <[email protected]>
> Acked-by: Rob Herring <[email protected]>
Applied to the togreg branch of iio.git but pushed out initially
as testing so the autobuilders can have their fun.

Jonathan
> ---
> 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/[email protected]
> ---
> 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,