* Re: leds-pwm driver further requirement discussion
[not found] <1597377070.2687.35.camel@mbjsdccf07>
@ 2020-08-16 20:41 ` Pavel Machek
0 siblings, 0 replies; only message in thread
From: Pavel Machek @ 2020-08-16 20:41 UTC (permalink / raw)
To: xing.zhang; +Cc: Luotao Fu, ; Jacek Anaszewski, linux-leds
Hi!
> We have used leds-pwm driver to control led in some mediatek IC, but
> we have some further requirement, and want to add some common functions
> for this driver, could you give us some suggestions?
> For dts, we want to add led-bits and trans-bits, led-bits represents
> the led bits(8->255, 10->1023) from user space, trans-bits represents
> the led hardware IC bits.
First, please make sure there is no existing functionality that can be used. If not, please
use something like "max brightness", not bits.
> For function, we want to add led event notify, one event is for led
> brightness change, the other one is for led shutdown.
> We also want to add setMaxBrightness function and setLedBrightness
> function for other module to call.
Umm. No?
Best regards,
Pavel
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2020-08-16 20:41 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <1597377070.2687.35.camel@mbjsdccf07>
2020-08-16 20:41 ` leds-pwm driver further requirement discussion Pavel Machek
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).