Re: Correct way to manage LCD backlight brightness

2024-01-04 Thread Tim Hardisty
Thanks Alan, As per usual, the obvious escaped me - a character driver makes sense of course. I will implement this, for now, as a board-specific driver and when its working, and I have time, I will look at transitioning it to be a generic NuttX driver. On 03/01/2024 20:17, Alan C. Assis wro

Re: Correct way to manage LCD backlight brightness

2024-01-03 Thread Alan C. Assis
Hi Tim, AFAIK NuttX doesn't have a standard way to do it. It is normally done at board level (do a "git grep backlight" inside boards/ to see some examples). A proper way to do that should be implementing a backlight subsystem, like a subset of Linux backlight subsystem: https://docs.kernel.org/g