linux-leds.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* LEDs with hardware-accelerated patterns, suspend indication
@ 2021-05-26 15:30 Pavel Machek
  2021-06-04 20:28 ` Hans de Goede
  0 siblings, 1 reply; 5+ messages in thread
From: Pavel Machek @ 2021-05-26 15:30 UTC (permalink / raw)
  To: kernel list, hdegoede, andy.shevchenko, mchehab+huawei,
	mauro.chehab, linux-leds

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

Hi!

We have hardware trigger for arbitrary patterns... but then we have
common hardware that can do few simple patterns but not arbitrary
ones.

Proposal:

Have a new hardware trigger "lpattern" that will allow selection of
patterns hardware can commonly provide. I guess that is "off", "on",
"blinking", "breathing". Maybe with variations like "slow" and "fast".

It should provide software fallbacks, so we have reference how the
patterns should look like and behave.

It is quite common to provide LED with charging activity.

Proposal:

Have a trigger called "charging" which would provide three
subdirectories "charged", "charging" and "discharging" with interface
similar to the new "lpattern" trigger.

It is very common to have combined LED for power and suspend.

Proposal:

Have a trigger called "sysstate" with three subdirectories "off", "on"
and "suspended", with interfaces similar to the "lpattern" trigger.

Best regards,
								Pavel
-- 
http://www.livejournal.com/~pavelmachek

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 181 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2021-06-25  9:18 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-05-26 15:30 LEDs with hardware-accelerated patterns, suspend indication Pavel Machek
2021-06-04 20:28 ` Hans de Goede
     [not found]   ` <CAMW3L+19tP_9=+8j8LLjqCGDaaVZ86UMm9NwLbbpA77zOYnr1Q@mail.gmail.com>
     [not found]     ` <79988fe2-7b3d-7485-131c-4f654ec6d8b8@redhat.com>
     [not found]       ` <CAMW3L+13O4jXyp1LVtuxhpXP_fkfWXi9JoNS8FYUAMHaJBGKZg@mail.gmail.com>
2021-06-15 12:17         ` Hans de Goede
2021-06-23 20:39           ` Pavel Machek
2021-06-25  9:18             ` Hans de Goede

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).