[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <173412976723.2600598.3789006007464686028.robh@kernel.org>
Date: Fri, 13 Dec 2024 16:42:47 -0600
From: "Rob Herring (Arm)" <robh@...nel.org>
To: Lothar Rubusch <l.rubusch@...il.com>
Cc: linux-kernel@...r.kernel.org, Michael.Hennerich@...log.com,
conor+dt@...nel.org, linux-iio@...r.kernel.org, jic23@...nel.org,
eraretuya@...il.com, krzk+dt@...nel.org, devicetree@...r.kernel.org,
lars@...afoo.de
Subject: Re: [PATCH v7 3/7] dt-bindings: iio: accel: adxl345: add
interrupt-names
On Fri, 13 Dec 2024 21:19:05 +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@...il.com>
> ---
> .../devicetree/bindings/iio/accel/adi,adxl345.yaml | 10 ++++++++++
> 1 file changed, 10 insertions(+)
>
My bot found errors running 'make dt_binding_check' on your patch:
yamllint warnings/errors:
./Documentation/devicetree/bindings/iio/accel/adi,adxl345.yaml:45:17: [error] string value is redundantly quoted with any quotes (quoted-strings)
./Documentation/devicetree/bindings/iio/accel/adi,adxl345.yaml:46:22: [error] string value is redundantly quoted with any quotes (quoted-strings)
dtschema/dtc warnings/errors:
doc reference errors (make refcheckdocs):
See https://patchwork.ozlabs.org/project/devicetree-bindings/patch/20241213211909.40896-4-l.rubusch@gmail.com
The base for the series is generally the latest rc1. A different dependency
should be noted in *this* patch.
If you already ran 'make dt_binding_check' and didn't see the above
error(s), then make sure 'yamllint' is installed and dt-schema is up to
date:
pip3 install dtschema --upgrade
Please check and re-submit after running the above command yourself. Note
that DT_SCHEMA_FILES can be set to your schema file to speed up checking
your schema. However, it must be unset to test all examples with your schema.
Powered by blists - more mailing lists