Commit 9f9bfae4 authored by Dimitri Fedrau's avatar Dimitri Fedrau Committed by Jonathan Cameron

dt-bindings: iio: humidity: hdc3020: add interrupt bindings in example

Add interrupt bindings in example.
Signed-off-by: default avatarDimitri Fedrau <dima.fedrau@gmail.com>
Acked-by: default avatarRob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20240214085350.19382-3-dima.fedrau@gmail.comSigned-off-by: default avatarJonathan Cameron <Jonathan.Cameron@huawei.com>
parent 52882c6f
...@@ -43,6 +43,7 @@ additionalProperties: false ...@@ -43,6 +43,7 @@ additionalProperties: false
examples: examples:
- | - |
#include <dt-bindings/interrupt-controller/irq.h>
i2c { i2c {
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;
...@@ -51,5 +52,7 @@ examples: ...@@ -51,5 +52,7 @@ examples:
compatible = "ti,hdc3021", "ti,hdc3020"; compatible = "ti,hdc3021", "ti,hdc3020";
reg = <0x47>; reg = <0x47>;
vdd-supply = <&vcc_3v3>; vdd-supply = <&vcc_3v3>;
interrupt-parent = <&gpio3>;
interrupts = <23 IRQ_TYPE_EDGE_RISING>;
}; };
}; };
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment