From: David Heidelberg <david@ixit.cz>
To: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>,
Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>
Cc: "Lars-Peter Clausen" <lars@metafoo.de>,
"Andy Shevchenko" <andy@kernel.org>,
"Ceclan Dumitru" <dumitru.ceclan@analog.com>,
"Michael Hennerich" <Michael.Hennerich@analog.com>,
"Conor Dooley" <conor+dt@kernel.org>,
devicetree@vger.kernel.org,
"Alexandru Lazar" <alazar@startmail.com>,
linux-arm-kernel@lists.infradead.org,
"Bjorn Andersson" <andersson@kernel.org>,
"Stephan Gerhold" <stephan@gerhold.net>,
"Jean-Baptiste Maneyrol" <jean-baptiste.maneyrol@tdk.com>,
"Angelo Compagnucci" <angelo.compagnucci@gmail.com>,
"Marcelo Schmitt" <marcelo.schmitt@analog.com>,
"Ondřej Jirman" <megi@xff.cz>,
"David Lechner" <dlechner@baylibre.com>,
linux-iio@vger.kernel.org,
"Matti Vaittinen" <mazziesaccount@gmail.com>,
"Mike Looijmans" <mike.looijmans@topic.nl>,
"Puranjay Mohan" <puranjay@kernel.org>,
"Manivannan Sadhasivam" <mani@kernel.org>,
"Peter Meerwald-Stadler" <pmeerw@pmeerw.net>,
linux-samsung-soc@vger.kernel.org,
"Alim Akhtar" <alim.akhtar@samsung.com>,
"Dan Robertson" <dan@dlrobertson.com>,
"Linus Walleij" <linus.walleij@linaro.org>,
"Stefan Popa" <stefan.popa@analog.com>,
"Dragos Bogdan" <dragos.bogdan@analog.com>,
"Alexandru Tachici" <alexandru.tachici@analog.com>,
"Nuno Sá" <nuno.sa@analog.com>,
"Jonathan Cameron" <jic23@kernel.org>,
"Lucas Stankus" <lucas.p.stankus@gmail.com>,
linux-kernel@vger.kernel.org,
"Andreas Klinger" <ak@it-klinger.de>,
"Andy Gross" <agross@kernel.org>
Subject: Re: [PATCH 4/4] dt-bindings: iio: light: Simplify interrupts property in the example
Date: Thu, 24 Jul 2025 13:22:36 +0200 [thread overview]
Message-ID: <623783cf-d1ca-424c-9e71-e14acb9c3204@ixit.cz> (raw)
In-Reply-To: <20250724111345.47889-8-krzysztof.kozlowski@linaro.org>
Thank you,
Reviewed-by: David Heidelberg <david@ixit.cz>
On 24/07/2025 13:13, Krzysztof Kozlowski wrote:
> dynaimage,al3010 and dynaimage,al3320a are I2C devices, so their
> interrupts are not routed to GIC and rarely first interrupt cell is <0>.
> This looks like copy-paste from some SoC block, so drop it and also for
> readability use known defines instead of hard-coding interrupt flag.
>
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
> ---
> .../devicetree/bindings/iio/light/dynaimage,al3010.yaml | 2 +-
> .../devicetree/bindings/iio/light/dynaimage,al3320a.yaml | 2 +-
> 2 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/Documentation/devicetree/bindings/iio/light/dynaimage,al3010.yaml b/Documentation/devicetree/bindings/iio/light/dynaimage,al3010.yaml
> index f1048c30e73e..1472c997c16f 100644
> --- a/Documentation/devicetree/bindings/iio/light/dynaimage,al3010.yaml
> +++ b/Documentation/devicetree/bindings/iio/light/dynaimage,al3010.yaml
> @@ -42,6 +42,6 @@ examples:
> compatible = "dynaimage,al3010";
> reg = <0x1c>;
> vdd-supply = <&vdd_reg>;
> - interrupts = <0 99 4>;
> + interrupts = <99 IRQ_TYPE_LEVEL_HIGH>;
> };
> };
> diff --git a/Documentation/devicetree/bindings/iio/light/dynaimage,al3320a.yaml b/Documentation/devicetree/bindings/iio/light/dynaimage,al3320a.yaml
> index 8249be99cff9..d06db737cd9e 100644
> --- a/Documentation/devicetree/bindings/iio/light/dynaimage,al3320a.yaml
> +++ b/Documentation/devicetree/bindings/iio/light/dynaimage,al3320a.yaml
> @@ -40,6 +40,6 @@ examples:
> compatible = "dynaimage,al3320a";
> reg = <0x1c>;
> vdd-supply = <&vdd_reg>;
> - interrupts = <0 99 4>;
> + interrupts = <99 IRQ_TYPE_LEVEL_HIGH>;
> };
> };
--
David Heidelberg
next prev parent reply other threads:[~2025-07-24 11:22 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-07-24 11:13 [PATCH 1/4] dt-bindings: iio: Drop unused header includes in examples Krzysztof Kozlowski
2025-07-24 11:13 ` [PATCH 2/4] dt-bindings: iio: adc: Replace hard-coded GPIO/IRQ flag with a define Krzysztof Kozlowski
2025-07-25 23:14 ` Rob Herring (Arm)
2025-07-28 6:30 ` Matti Vaittinen
2025-07-24 11:13 ` [PATCH 3/4] dt-bindings: iio: adc: samsung,exynos-adc: Use correct IRQ level in example Krzysztof Kozlowski
2025-07-25 3:34 ` Alim Akhtar
2025-07-25 4:34 ` Sam Protsenko
2025-07-25 23:15 ` Rob Herring (Arm)
2025-07-24 11:13 ` [PATCH 4/4] dt-bindings: iio: light: Simplify interrupts property in the example Krzysztof Kozlowski
2025-07-24 11:22 ` David Heidelberg [this message]
2025-07-25 23:16 ` Rob Herring (Arm)
2025-07-24 11:19 ` [PATCH 1/4] dt-bindings: iio: Drop unused header includes in examples David Heidelberg
2025-07-24 11:30 ` Jonathan Cameron
2025-07-25 23:14 ` Rob Herring (Arm)
2025-07-28 6:33 ` Matti Vaittinen
2025-07-28 13:47 ` Jonathan Cameron
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=623783cf-d1ca-424c-9e71-e14acb9c3204@ixit.cz \
--to=david@ixit.cz \
--cc=Michael.Hennerich@analog.com \
--cc=agross@kernel.org \
--cc=ak@it-klinger.de \
--cc=alazar@startmail.com \
--cc=alexandru.tachici@analog.com \
--cc=alim.akhtar@samsung.com \
--cc=andersson@kernel.org \
--cc=andy@kernel.org \
--cc=angelo.compagnucci@gmail.com \
--cc=conor+dt@kernel.org \
--cc=dan@dlrobertson.com \
--cc=devicetree@vger.kernel.org \
--cc=dlechner@baylibre.com \
--cc=dragos.bogdan@analog.com \
--cc=dumitru.ceclan@analog.com \
--cc=jean-baptiste.maneyrol@tdk.com \
--cc=jic23@kernel.org \
--cc=krzk+dt@kernel.org \
--cc=krzysztof.kozlowski@linaro.org \
--cc=lars@metafoo.de \
--cc=linus.walleij@linaro.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-iio@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-samsung-soc@vger.kernel.org \
--cc=lucas.p.stankus@gmail.com \
--cc=mani@kernel.org \
--cc=marcelo.schmitt@analog.com \
--cc=mazziesaccount@gmail.com \
--cc=megi@xff.cz \
--cc=mike.looijmans@topic.nl \
--cc=nuno.sa@analog.com \
--cc=pmeerw@pmeerw.net \
--cc=puranjay@kernel.org \
--cc=robh@kernel.org \
--cc=stefan.popa@analog.com \
--cc=stephan@gerhold.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®