Re: [PATCH v1 08/10] dt-bindings: iio: pressure: bmp085: Add interrupts for BMP3xx and BMP5xx devices

Rob Herring
2024-07-12T12:48:06Z

On Thu, Jul 11, 2024 at 11:15:56PM +0200, Vasileios Amoiridis wrote:
> Add interrupt options for BMP3xx and BMP5xx devices as well.
>
> Signed-off-by: Vasileios Amoiridis <vassilisamir@gmail.com>
> ---
> .../devicetree/bindings/iio/pressure/bmp085.yaml | 13 ++++++++++++-
> 1 file changed, 12 insertions(+), 1 deletion(-)
>
> diff --git a/Documentation/devicetree/bindings/iio/pressure/bmp085.yaml b/Documentation/devicetree/bindings/iio/pressure/bmp085.yaml
> index 6fda887ee9d4..f06f119963bc 100644
> --- a/Documentation/devicetree/bindings/iio/pressure/bmp085.yaml
> +++ b/Documentation/devicetree/bindings/iio/pressure/bmp085.yaml
> @@ -48,9 +48,20 @@ properties:
>
> interrupts:
> description:
> - interrupt mapping for IRQ (BMP085 only)
> + interrupt mapping for IRQ. Supported in BMP085, BMP3xx, BMP5xx
> maxItems: 1
>
> + interrupt-names:
> + maxItems: 1
> + items:
> + enum:
> + - DRDY
> +
> + int-open-drain:

Use the existing 'drive-open-drain' property.

> + desription:
> + set if the interrupt pin should be configured as open drain.
> + If not set, defaults to push-pull configuration.
> +
> required:
> - compatible
> - vddd-supply
> --
> 2.25.1
>