Linux LED subsystem development
 help / color / mirror / Atom feed
From: Pavel Machek <pavel@ucw.cz>
To: Abdel Alkuor <alkuor@gmail.com>
Cc: "Lee Jones" <lee@kernel.org>, "Rob Herring" <robh+dt@kernel.org>,
	"Krzysztof Kozlowski" <krzysztof.kozlowski+dt@linaro.org>,
	"Conor Dooley" <conor+dt@kernel.org>,
	"Lukas Bulwahn" <lukas.bulwahn@gmail.com>,
	"Jean-Jacques Hiblot" <jjhiblot@traphandler.com>,
	"ChiYuan Huang" <cy_huang@richtek.com>,
	"André Apitzsch" <git@apitzsch.eu>,
	"Alice Chen" <alice_chen@richtek.com>,
	"Jacek Anaszewski" <jacek.anaszewski@gmail.com>,
	"ChiaEn Wu" <chiaen_wu@richtek.com>,
	linux-kernel@vger.kernel.org, linux-leds@vger.kernel.org,
	devicetree@vger.kernel.org
Subject: Re: [PATCH 2/2] leds: Add NCP5623 multi-led driver
Date: Tue, 13 Feb 2024 10:18:39 +0100	[thread overview]
Message-ID: <Zcsz7x1rXgYP3e7b@duo.ucw.cz> (raw)
In-Reply-To: <20240203175910.301099-2-alkuor@gmail.com>

[-- Attachment #1: Type: text/plain, Size: 1153 bytes --]

Hi!

>  .../sysfs-class-led-multicolor-driver-ncp5623 |  46 +++
>  drivers/leds/rgb/Kconfig                      |  11 +
>  drivers/leds/rgb/Makefile                     |   1 +
>  drivers/leds/rgb/leds-ncp5623.c               | 320 ++++++++++++++++++
>  4 files changed, 378 insertions(+)
>  create mode 100644 Documentation/ABI/testing/sysfs-class-led-multicolor-driver-ncp5623
>  create mode 100644 drivers/leds/rgb/leds-ncp5623.c
> 
> diff --git a/Documentation/ABI/testing/sysfs-class-led-multicolor-driver-ncp5623 b/Documentation/ABI/testing/sysfs-class-led-multicolor-driver-ncp5623
> new file mode 100644
> index 000000000000..6b9f4849852b
> --- /dev/null
> +++ b/Documentation/ABI/testing/sysfs-class-led-multicolor-driver-ncp5623
> @@ -0,0 +1,46 @@
> +What:		/sys/class/leds/<led>/direction
> +Date:		Feb 2024
> +What:		/sys/class/leds/<led>/dim_step

You are reinventing hardware_pattern trigger. NAK.

I suggest you add basic support first, then look at hardware pattern
trigger and add that support in separate patch.

Thanks,
								Pavel
-- 
People of Russia, stop Putin before his war on Ukraine escalates.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 195 bytes --]

  parent reply	other threads:[~2024-02-13  9:18 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-02-03 17:58 [PATCH 1/2] dt: bindings: leds: Add NCP5623 multi-LED Controller Abdel Alkuor
2024-02-03 17:58 ` [PATCH 2/2] leds: Add NCP5623 multi-led driver Abdel Alkuor
2024-02-08 13:01   ` Lee Jones
2024-02-11 12:29     ` Abdel Alkuor
2024-02-23 16:20       ` Lee Jones
2024-02-13  9:18   ` Pavel Machek [this message]
2024-02-17 21:49     ` Abdel Alkuor
2024-02-05  8:39 ` [PATCH 1/2] dt: bindings: leds: Add NCP5623 multi-LED Controller Krzysztof Kozlowski

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=Zcsz7x1rXgYP3e7b@duo.ucw.cz \
    --to=pavel@ucw.cz \
    --cc=alice_chen@richtek.com \
    --cc=alkuor@gmail.com \
    --cc=chiaen_wu@richtek.com \
    --cc=conor+dt@kernel.org \
    --cc=cy_huang@richtek.com \
    --cc=devicetree@vger.kernel.org \
    --cc=git@apitzsch.eu \
    --cc=jacek.anaszewski@gmail.com \
    --cc=jjhiblot@traphandler.com \
    --cc=krzysztof.kozlowski+dt@linaro.org \
    --cc=lee@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-leds@vger.kernel.org \
    --cc=lukas.bulwahn@gmail.com \
    --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