Linux IIO development
 help / color / mirror / Atom feed
* [PATCH v7] dt-bindings: iio: humidity: hdc20x0: add optional interrupts property
@ 2024-02-19 14:48 Josua Mayer
  2024-02-24 16:08 ` Jonathan Cameron
  0 siblings, 1 reply; 2+ messages in thread
From: Josua Mayer @ 2024-02-19 14:48 UTC (permalink / raw)
  To: Jonathan Cameron, Lars-Peter Clausen, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley, Eugene Zaikonnikov
  Cc: Yazan Shhady, linux-iio, devicetree, linux-kernel, Josua Mayer,
	Rob Herring

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@solid-run.com>
Acked-by: Rob Herring <robh@kernel.org>
---
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@solid-run.com
---
 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@solid-run.com>


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH v7] dt-bindings: iio: humidity: hdc20x0: add optional interrupts property
  2024-02-19 14:48 [PATCH v7] dt-bindings: iio: humidity: hdc20x0: add optional interrupts property Josua Mayer
@ 2024-02-24 16:08 ` Jonathan Cameron
  0 siblings, 0 replies; 2+ messages in thread
From: Jonathan Cameron @ 2024-02-24 16:08 UTC (permalink / raw)
  To: Josua Mayer
  Cc: Lars-Peter Clausen, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley, Eugene Zaikonnikov, Yazan Shhady, linux-iio,
	devicetree, linux-kernel, Rob Herring

On Mon, 19 Feb 2024 15:48:21 +0100
Josua Mayer <josua@solid-run.com> 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 <josua@solid-run.com>
> Acked-by: Rob Herring <robh@kernel.org>
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/20240212-add-am64-som-v6-0-b59edb2bc8c3@solid-run.com
> ---
>  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,


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-02-24 16:08 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-02-19 14:48 [PATCH v7] dt-bindings: iio: humidity: hdc20x0: add optional interrupts property Josua Mayer
2024-02-24 16:08 ` Jonathan Cameron

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox