1# Copyright (c) 2021 STMicroelectronics
2# SPDX-License-Identifier: Apache-2.0
3
4properties:
5    irq-gpios:
6      type: phandle-array
7      required: false
8      description: DRDY pin
9
10        This pin defaults to active high when produced by the sensor.
11        The property value should ensure the flags properly describe
12        the signal that is presented to the driver.
13
14    int-pin:
15      type: int
16      required: false
17      default: 1
18      enum:
19        - 1 # drdy is generated from INT1
20        - 2 # drdy is generated from INT2
21      description: Select DRDY pin number (1 or 2).
22
23        This number represents which of the two interrupt pins
24        (INT1 or INT2) the drdy line is attached to. This property is not
25        mandatory and if not present it defaults to 1 which is the
26        configuration at power-up.
27