linux-leds.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jacek Anaszewski <jacek.anaszewski@gmail.com>
To: Lee Jones <lee@kernel.org>, Hans de Goede <hdegoede@redhat.com>
Cc: Pavel Machek <pavel@ucw.cz>, Yauhen Kharuzhy <jekhor@gmail.com>,
	linux-leds@vger.kernel.org
Subject: Re: [PATCH v2 3/5] leds: cht-wcove: Add support for breathing mode use hw_pattern sysfs API
Date: Mon, 24 Apr 2023 23:17:50 +0200	[thread overview]
Message-ID: <a02bbd69-0dbd-4b26-f703-444ab29a4933@gmail.com> (raw)
In-Reply-To: <20230424141626.GM50521@google.com>

On 4/24/23 16:16, Lee Jones wrote:
> Jacek,
> 
> On Thu, 20 Apr 2023, Hans de Goede wrote:
> 
>> The hw-blinking of the LED controller in the Whiskey Cove PMIC can also
>> be used for a hw-breathing effect.
>>
>> As discussed during review of v2 of the submission of the new
>> leds-cht-wcove driver, the LED subsystem already supports breathing mode
>> on several other LED controllers using the hw_pattern interface.
>>
>> Implement a pattern_set callback to implement breathing mode modelled
>> after the breathing mode supported by the SC27xx breathing light and
>> Crane EL15203000 LED drivers. The Whiskey Cove PMIC's breathing mode
>> is closer to the EL15203000 one then to the SC27xx one since it does
>> not support staying high / low for a specific time, it only supports
>> rise and fall times.
>>
>> As such the supported hw_pattern and the documentation for this is almost
>> a 1:1 copy of the pattern/docs for the EL15203000 breathing mode.
>>
>> Suggested-by: Jacek Anaszewski <jacek.anaszewski@gmail.com>
> 
> Is this what you were after?

I remember I recommended to Hans using pattern trigger for hw patterns
somewhere in 2019, so yes.

>> Link: https://lore.kernel.org/all/6beed61c-1fc6-6525-e873-a8978f5fbffb@gmail.com/
>> Signed-off-by: Hans de Goede <hdegoede@redhat.com>
>> ---
>> Changes in v2
>> - Improve/extend Documentation/leds/leds-cht-wcove.rst a bit

-- 
Best regards,
Jacek Anaszewski

  reply	other threads:[~2023-04-24 21:17 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-04-20 12:37 [PATCH v2 0/5] leds: Add Intel Cherry Trail Whiskey Cove PMIC LED driver Hans de Goede
2023-04-20 12:37 ` [PATCH v2 1/5] " Hans de Goede
2023-04-24 14:15   ` Lee Jones
2023-04-24 14:34     ` Hans de Goede
2023-04-27 16:57       ` Lee Jones
2023-04-30 19:09         ` Hans de Goede
2023-04-20 12:37 ` [PATCH v2 2/5] leds: cht-wcove: Add suspend/resume handling Hans de Goede
2023-04-20 12:37 ` [PATCH v2 3/5] leds: cht-wcove: Add support for breathing mode use hw_pattern sysfs API Hans de Goede
2023-04-24 14:16   ` Lee Jones
2023-04-24 21:17     ` Jacek Anaszewski [this message]
2023-04-20 12:37 ` [PATCH v2 4/5] leds: cht-wcove: Set default trigger for charging LED Hans de Goede
2023-04-20 12:37 ` [PATCH v2 5/5] leds: cht-wcove: Use breathing when LED_INIT_DEFAULT_TRIGGER is set Hans de Goede

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=a02bbd69-0dbd-4b26-f703-444ab29a4933@gmail.com \
    --to=jacek.anaszewski@gmail.com \
    --cc=hdegoede@redhat.com \
    --cc=jekhor@gmail.com \
    --cc=lee@kernel.org \
    --cc=linux-leds@vger.kernel.org \
    --cc=pavel@ucw.cz \
    /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;
as well as URLs for NNTP newsgroup(s).