From: Conor Dooley <conor@kernel.org>
To: Martin Kurbanov <mmkurbanov@salutedevices.com>
Cc: Pavel Machek <pavel@ucw.cz>, Lee Jones <lee@kernel.org>,
Rob Herring <robh+dt@kernel.org>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>,
Conor Dooley <conor+dt@kernel.org>,
Jonathan Corbet <corbet@lwn.net>,
Andy Shevchenko <andy.shevchenko@gmail.com>,
linux-kernel@vger.kernel.org, linux-leds@vger.kernel.org,
devicetree@vger.kernel.org, linux-doc@vger.kernel.org,
kernel@salutedevices.com
Subject: Re: [PATCH v1 2/2] dt-bindings: leds: aw200xx: add 'interrupts' property
Date: Thu, 7 Dec 2023 17:18:28 +0000 [thread overview]
Message-ID: <20231207-purple-mulled-776447ea26f3@spud> (raw)
In-Reply-To: <20231207125938.175119-3-mmkurbanov@salutedevices.com>
[-- Attachment #1: Type: text/plain, Size: 1549 bytes --]
On Thu, Dec 07, 2023 at 03:59:38PM +0300, Martin Kurbanov wrote:
> Added support for interrupt to the LED controller driver, which
> indicates the finished of the auto-breath pattern.
>
> Signed-off-by: Martin Kurbanov <mmkurbanov@salutedevices.com>
Acked-by: Conor Dooley <conor.dooley@microchip.com>
Cheers,
Conor.
> ---
> Documentation/devicetree/bindings/leds/awinic,aw200xx.yaml | 6 ++++++
> 1 file changed, 6 insertions(+)
>
> diff --git a/Documentation/devicetree/bindings/leds/awinic,aw200xx.yaml b/Documentation/devicetree/bindings/leds/awinic,aw200xx.yaml
> index 54d6d1f08e24..7ab35b7a3fe6 100644
> --- a/Documentation/devicetree/bindings/leds/awinic,aw200xx.yaml
> +++ b/Documentation/devicetree/bindings/leds/awinic,aw200xx.yaml
> @@ -44,6 +44,9 @@ properties:
> enable-gpios:
> maxItems: 1
>
> + interrupts:
> + maxItems: 1
> +
> patternProperties:
> "^led@[0-9a-f]+$":
> type: object
> @@ -137,6 +140,7 @@ additionalProperties: false
> examples:
> - |
> #include <dt-bindings/gpio/gpio.h>
> + #include <dt-bindings/interrupt-controller/irq.h>
> #include <dt-bindings/leds/common.h>
>
> i2c {
> @@ -149,6 +153,8 @@ examples:
> #address-cells = <1>;
> #size-cells = <0>;
> enable-gpios = <&gpio 3 GPIO_ACTIVE_HIGH>;
> + interrupt-parent = <&gpio_intc>;
> + interrupts = <13 IRQ_TYPE_LEVEL_LOW>;
>
> led@0 {
> reg = <0x0>;
> --
> 2.40.0
>
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]
prev parent reply other threads:[~2023-12-07 17:18 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-12-07 12:59 [PATCH v1 0/2] leds: aw200xx: support for hw pattern controllers Martin Kurbanov
2023-12-07 12:59 ` [PATCH v1 1/2] " Martin Kurbanov
2023-12-21 16:10 ` Lee Jones
2024-01-12 11:43 ` Martin Kurbanov
2024-01-25 13:00 ` Lee Jones
2024-01-26 12:23 ` Dmitry Rokosov
2024-01-26 14:09 ` Greg Kroah-Hartman
2024-01-29 14:13 ` Dmitry Rokosov
2024-02-05 10:57 ` Dmitry Rokosov
2024-02-08 13:58 ` Lee Jones
2024-01-26 23:21 ` Pavel Machek
2024-01-29 14:19 ` Dmitry Rokosov
2024-02-08 13:59 ` Lee Jones
2023-12-07 12:59 ` [PATCH v1 2/2] dt-bindings: leds: aw200xx: add 'interrupts' property Martin Kurbanov
2023-12-07 17:18 ` Conor Dooley [this message]
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=20231207-purple-mulled-776447ea26f3@spud \
--to=conor@kernel.org \
--cc=andy.shevchenko@gmail.com \
--cc=conor+dt@kernel.org \
--cc=corbet@lwn.net \
--cc=devicetree@vger.kernel.org \
--cc=kernel@salutedevices.com \
--cc=krzysztof.kozlowski+dt@linaro.org \
--cc=lee@kernel.org \
--cc=linux-doc@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-leds@vger.kernel.org \
--cc=mmkurbanov@salutedevices.com \
--cc=pavel@ucw.cz \
--cc=robh+dt@kernel.org \
/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