On 09/03/2024 12:53, Krzysztof Kozlowski wrote:
+ - compatible
+ - reg
+
+patternProperties:
+ "^led@[01]$":
+ type: object
+ description: Properties for a string of connected LEDs.
Are you sure this is a string of LEDs? How does a string/tape work with
a backlight, I mean physically? How could it look like?
I just took most of the descriptions/names from lm3630a-backlight.yaml.
I understand it in this context as multiple serial connected LEDs (as
shown in the circuit diagram in the datasheet), so that each of them
gets the same current when connected to the output of the chip.
Maybe a more general question: Is there any easy accessible information
about which code is the best used as example/reference? I tried to align
my code very close to the LM3630, but you gave me a bunch of comments on
that ;-). And would you like see patches cleaning up some of the code
with bad/outdated style?
- Patrick