Thread (14 messages) 14 messages, 6 authors, 2023-02-06

Re: [PATCH v2 3/3] dt-bindings: serial: restrict possible child node names

From: Linus Walleij <hidden>
Date: 2023-01-27 13:29:32
Also in: linux-devicetree, linux-ide, linux-serial, linux-watchdog, lkml

On Fri, Jan 27, 2023 at 10:32 AM Krzysztof Kozlowski
[off-list ref] wrote:
The re-usable serial.yaml schema matches every property with ".*"
pattern, thus any other schema referencing it will not report unknown
(unevaluated) properties.  This hides several wrong properties.  It is
a limitation of dtschema, thus provide a simple workaround: expect
children to be only of few names matching upstream usage (Bluetooth,
GNSS, GPS and MCU).

Signed-off-by: Krzysztof Kozlowski <redacted>
Fair enough,
Acked-by: Linus Walleij <redacted>

However I think V.35 WAN devices (high speed serial network links)
should actually be using this? They are just some fancy serial port
after all. Cf
Documentation/devicetree/bindings/net/intel,ixp4xx-hss.yaml

No big deal I guess since they are mostly an anarchronism and not
on the table right now.

Yours,
Linus Walleij

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help