lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <sugh74o4cevws4lkrsweqzejaciu2dcjt4rlzuncp4ceddwgra@lhgbx3lmkqyk>
Date: Fri, 13 Dec 2024 10:50:47 +0100
From: Krzysztof Kozlowski <krzk@...nel.org>
To: Jesse Van Gavere <jesseevg@...il.com>
Cc: Andrew Lunn <andrew@...n.ch>, devicetree@...r.kernel.org, 
	netdev@...r.kernel.org, Marek Vasut <marex@...x.de>, Conor Dooley <conor+dt@...nel.org>, 
	Krzysztof Kozlowski <krzk+dt@...nel.org>, Rob Herring <robh@...nel.org>, Paolo Abeni <pabeni@...hat.com>, 
	Jakub Kicinski <kuba@...nel.org>, Eric Dumazet <edumazet@...gle.com>, 
	"David S . Miller" <davem@...emloft.net>, Vladimir Oltean <olteanv@...il.com>, 
	UNGLinuxDriver@...rochip.com, Woojung Huh <woojung.huh@...rochip.com>, 
	Jesse Van Gavere <jesse.vangavere@...oteq.com>
Subject: Re: [PATCH net-next] dt-bindings: net: dsa: microchip,ksz: Improve
 example to a working one

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@...n.ch>:
> >
> > 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


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ