Message ID | cover.1578134779.git.agx@sigxcpu.org |
---|---|
Headers | show |
Series | leds: lm3692x: Allow to set ovp and brigthness mode | expand |
Hi! > Overvoltage protection and brightness mode are currently hardcoded > as 29V and disabled in the driver. Make these configurable via DT. > > Besides addressing review comments v3 folds in the patches to > disable the chip and turn of the regulator on brightness 0 from > > https://lore.kernel.org/linux-leds/20191226101419.GE4033@amd/T/#t > > Besides addressing review comments v2 also allows to limit the maximum led > current. > Patches are against next-20191220. I applied everything but the "exponential" changes and the last one. I'll apply the last one if I get version that applies on top of leds tree. Best regards, Pavel
Hi, On Mon, Jan 06, 2020 at 12:47:08AM +0100, Pavel Machek wrote: > Hi! > > > Overvoltage protection and brightness mode are currently hardcoded > > as 29V and disabled in the driver. Make these configurable via DT. > > > > Besides addressing review comments v3 folds in the patches to > > disable the chip and turn of the regulator on brightness 0 from > > > > https://lore.kernel.org/linux-leds/20191226101419.GE4033@amd/T/#t > > > > Besides addressing review comments v2 also allows to limit the maximum led > > current. > > > Patches are against next-20191220. > > I applied everything but the "exponential" changes and the last > one. I'll apply the last one if I get version that applies on top of > leds tree. Thanks! Can I do anything to get the exponential part in? Is it because you want the exponential mode to move to the backlight binding? Cheers, -- Guido > > Best regards, > Pavel > > -- > (english) http://www.livejournal.com/~pavelmachek > (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
Hi! > > > Patches are against next-20191220. > > > > I applied everything but the "exponential" changes and the last > > one. I'll apply the last one if I get version that applies on top of > > leds tree. > > Thanks! Can I do anything to get the exponential part in? Is it because > you want the exponential mode to move to the backlight binding? You'd have to do some serious convincing, explaining why we absolutely need the exponential stuff. Most devices today use linear brightness, and userspace needs to know the relation, especially for RGB stuff. You can set bigger max-brightness, and then do in-driver conversion to use full dynamic brightness range...? Best regards, Pavel