Re: [PATCH v8 3/7] dt-bindings: iio: accel: adxl345: add interrupt-names

Krzysztof Kozlowski
2024-12-27T07:58:03Z

On Wed, Dec 25, 2024 at 06:13:34PM +0000, Lothar Rubusch wrote:
> Add interrupt-names INT1 and INT2 for the two interrupt lines of the
> sensor.
>
> When one of the two interrupt lines is connected, the interrupt as its
> interrupt-name, need to be declared in the devicetree. The driver then
> configures the sensor to indicate its events on either INT1 or INT2.
>
> If no interrupt is configured, then no interrupt-name should be
> configured, and vice versa. In this case the sensor runs in FIFO BYPASS
> mode. This allows sensor measurements, but none of the sensor events.
>
> Signed-off-by: Lothar Rubusch <l.rubusch@gmail.com>

Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>

Best regards,
Krzysztof