Re: [PATCH v2 1/2] [RFT] dt-bindings: leds: Add cznic,turris1x-leds.yaml binding

From: Pali Rohár
Date: Wed Jul 06 2022 - 07:19:21 EST


On Wednesday 06 July 2022 13:15:07 Marek Behún wrote:
> On Tue, 5 Jul 2022 17:59:28 +0200
> Pali Rohár <pali@xxxxxxxxxx> wrote:
>
> > +examples:
> > + - |
> > + #include <dt-bindings/leds/common.h>
> > +
> > + cpld@3,0 {
>
> The generic node name should be just "bus". That it is a CPLD
> implementation should come from compatible string.

Sorry, I do not understand why "bus". Why other memory chips are named
e.g. "nand" or "nor" and not "bus" too? By this logic should not be
_every_ node called just "bus"? Hm... and are names needed at all then?