leds-pwm driver further requirement discussion
A message that is not in the archive (sent off-list or not yet received): 1597377070.2687.35.camel@mbjsdccf07
Hi!
Quoted 6 lines
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 ledbits(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.
Quoted 4 lines
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
Signature · 2 lines
(english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html