On 5/10/22 20:31, Sven Schwermer wrote:
Hi Jacek,
On 5/8/22 21:55, Jacek Anaszewski wrote:
Hi Sven and Sven,
On 5/4/22 11:24, Sven Schwermer wrote:
Hi Sven,
I did consider placing the property into the multicolor's sub nodes.
However, multicolor LEDs are not required to have firmware sub nodes.
At least the multicolor class API does not make any assumptions about
this.
So this is something to be clarified. The whole idea relies on having
sub-nodes in the multi-led node.
As far as I understand, multi-color LEDs don't require actual OF
sub-nodes. The Turris Omnia LED driver doesn't have sub-nodes, see
Documentation/devicetree/bindings/leds/cznic,turris-omnia-leds.yaml
Ah, I forgot about that one and the related discussion.
In this case, yes, global array will do.
--
Best regards,
Jacek Anaszewski