Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1612412 > unrolled thread
| Started by | Pavel Machek <pavel@ucw.cz> |
|---|---|
| First post | 2017-03-30 00:20 +0200 |
| Last post | 2017-03-30 00:20 +0200 |
| Articles | 1 — 1 participant |
Back to article view | Back to linux.kernel
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
Re: [PATCH 2/2] DT: leds: Add Qualcomm Light Pulse Generator binding Pavel Machek <pavel@ucw.cz> - 2017-03-30 00:20 +0200
| From | Pavel Machek <pavel@ucw.cz> |
|---|---|
| Date | 2017-03-30 00:20 +0200 |
| Subject | Re: [PATCH 2/2] DT: leds: Add Qualcomm Light Pulse Generator binding |
| Message-ID | <tqu6B-4Z0-7@gated-at.bofh.it> |
[Multipart message — attachments visible in raw view] — view raw
Hi! > +- qcom,pattern: > + Usage: optional > + Value type: <u16-list> > + Definition: list of 16 bit duty cycle values to make up the pattern to > + be programmed into the LUT. Values should be in the range > + [0,512). > + > +- qcom,pattern-length-ms: > + Usage: optional > + Value type: <u32> > + Definition: duration, in milliseconds, of the ramp generator running > + one pass over the defined pattern > + > +- qcom,pattern-pause-lo-ms: > + Usage: optional > + Value type: <u32> > + Definition: duration, in milliseconds, for the ramp generator to pause > + before iterating over the pattern > + > +- qcom,pattern-pause-hi-ms: > + Usage: optional > + Value type: <u32> > + Definition: duration, in milliseconds, for the ramp generator to pause > + after iterating over the pattern > + > +- qcom,pattern-ping-pong: > + Usage: optional > + Value type: <boolean> > + Definition: denotes that the ramp generator should reverse direction > + when reaching the end of the pattern, instead of wrapping > + to the beginning > + > +- qcom,pattern-oneshot: > + Usage: optional > + Value type: <boolean> > + Definition: denotes that the ramp generator should stop after a single > + pass over the pattern > + > +- qcom,pattern-reverse: > + Usage: optional > + Value type: <boolean> > + Definition: denotes that the ramp generator should operate backwards > + over the pattern I'd not do this. While we _may_ want to specify default trigger and default blinking behaviour, we should do it in a way that is common for all the drivers. Pavel -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
Back to top | Article view | linux.kernel
csiph-web