Subject: Camera LED on Librem 5 was Re: [PATCH] backlight: add led-backlight driver

From: Pavel Machek <[email-masked]>
Date: Fri, 21 Feb 2020 00:41:51 +0100

Hi!

> > This patch adds a led-backlight driver (led_bl), which is similar to
> > pwm_bl except the driver uses a LED class driver to adjust the
> > brightness in the HW. Multiple LEDs can be used for a single backlight.
> 
> Tested-by: Guido Günther <[email-masked]>

Thanks for testing!

I noticed blog post about using Librem 5 torch. Unfortunately, it used
very strange/non-standard interface, first using LED as a GPIO to
enable LED controller, then direct i2c access. That is not acceptable
interface for mainline, and it would be better not to advertise such
code, as it will likely become broken in future.

https://puri.sm/posts/easy-librem-5-app-development-flashlight/

Best regards,
									Pavel
-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
_______________________________________________
linux-arm-kernel mailing list
[email-masked]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel