Re: [PATCH 1/2] dt-bindings: iio: ti,tmp117: describe interrupts for TMP117

From: Conor Dooley

Date: Wed Oct 07 2026 - 09:17:24 EST


On Mon, Oct 05, 2026 at 04:44:19PM +0200, Thomas Bonnefille wrote:
> The TMP117 can send alerts when the temperature crosses a low or high
> limit. This triggers an interrupt on the ALERT pin.
>
> Add the optional interrupts property.
>
> Signed-off-by: Thomas Bonnefille <thomas.bonnefille@xxxxxxxxxxx>
> ---
> Documentation/devicetree/bindings/iio/temperature/ti,tmp117.yaml | 9 +++++++++
> 1 file changed, 9 insertions(+)
>
> diff --git a/Documentation/devicetree/bindings/iio/temperature/ti,tmp117.yaml b/Documentation/devicetree/bindings/iio/temperature/ti,tmp117.yaml
> index 7fb3e68207919..68ee936722ded 100644
> --- a/Documentation/devicetree/bindings/iio/temperature/ti,tmp117.yaml
> +++ b/Documentation/devicetree/bindings/iio/temperature/ti,tmp117.yaml
> @@ -30,6 +30,11 @@ properties:
> reg:
> maxItems: 1
>
> + interrupts:
> + description: |

Valid comment here, but I wouldn't respin for it.

Acked-by: Conor Dooley <conor.dooley@xxxxxxxxxxxxx>
pw-bot: not-applicable

Cheers,
COnor,

> + Interrupt line connected to the ALERT output of the sensor.
> + maxItems: 1
> +
> vcc-supply:
> description: provide VCC power to the sensor.
>
> @@ -45,6 +50,8 @@ additionalProperties: false
>
> examples:
> - |
> + #include <dt-bindings/interrupt-controller/irq.h>
> +
> i2c {
> #address-cells = <1>;
> #size-cells = <0>;
> @@ -52,6 +59,8 @@ examples:
> tmp117@48 {
> compatible = "ti,tmp117";
> reg = <0x48>;
> + interrupt-parent = <&gpio0>;
> + interrupts = <5 IRQ_TYPE_LEVEL_LOW>;
> vcc-supply = <&pmic_reg_3v3>;
> };
> };
>
> --
> 2.55.0
>

Attachment: signature.asc
Description: PGP signature