Re: [PATCH v4 1/2] leds: core: Introduce LED pattern trigger

From: Pavel Machek
Date: Sun Aug 05 2018 - 18:08:36 EST


> > +What: /sys/class/leds/<led>/repeat
> > +Date: August 2018
> > +KernelVersion: 4.19
> > +Description:
> > + Specify a pattern repeat number. 0 means repeat indefinitely.
> In current implementation this file on read returns the number
> of remaining repeat intervals. I'd add that to this description.

Lets not do this.

LEDs such as the one on N900 can do repeats automatically, in
hardware. But in such case we may not be able to determine how many
repetitions were done (and how many are left).

(cesky, pictures)

Attachment: signature.asc
Description: Digital signature