Re: [PATCH net-next] dt-bindings: net: dsa: microchip,ksz: Improve example to a working one

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Dec 10, 2024 at 11:01:02PM +0100, Jesse Van Gavere wrote:
> Hi Andrew
> 
> Op di 10 dec 2024 om 17:18 schreef Andrew Lunn <andrew@xxxxxxx>:
> >
> > To some extent, the example is for the properties defined in the
> > binding. For properties defined in other bindings, you should look at
> > the examples in other bindings, and then glue it all together in a
> > real .dts file.
> >
> > I don't know if Rob will accept this patch.
> >
> >         Andrew
> 
> To some extent I understand that perspective, but in this case for
> example dsa-port itself has no example, I also struggled quite a bit
> getting the example going (admittedly a bit due to my lack of

The point of the example is to show this device, not everything, so
adding there nodes which are not covered by the binding is usually not
what we expect.

For example what ethernet ports are might be pretty obvious, considering
they are already defined by child schema which is supposed to bring you
full example and full description, thus parent schema does not have to
be detailed.

Best regards,
Krzysztof





[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]


  Powered by Linux