Re: [PATCH v5 7/7] leds: Add virtual LED group driver

From: Jonathan Brophy
Date: Sat Jan 03 2026 - 03:22:18 EST



>I stopped with this, this patch is half-baked and unreviewable. Please, split
>it to a few features and add one-by-one, for example:

>- very basic sypport
>- feature A
>- ...
>- debugfs

>So I expect 3+ patches out of this one. And try to keep size of a change less
>than 1000 LoCs.

Thanks Andy

You have given me some things to fix and some great advice I'm a very junior dev and
I know nothing of the led subsystem before this project.

I think it may be best to use a function to generate a gamma table I was thinking a
hard coded table may be a better idea for performance reasons with addressable rgb
strips that I plan to implement in the future.

I planned to split the driver into several files is this what you mean?
it would logically break into files as part of the driver as follows:

core.c
arbitration.c
phys.c
vled.c
debugfs.c
virtualcolor.h

Regards
Jonathan Brophy