]> www.infradead.org Git - users/jedix/linux-maple.git/commit
dt-bindings: usb: genesys,gl850g: allow downstream device subnodes
authorIcenowy Zheng <uwu@icenowy.me>
Tue, 17 Sep 2024 09:40:08 +0000 (17:40 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 4 Oct 2024 13:12:35 +0000 (15:12 +0200)
commit570542810fe539af57a5b9169d79c8b31e83d9d0
treeaeee59f629b4445a98ce5eb51cd8f719329044f1
parent86ebc1fe902fd0d2cc37b8c9537a6f7eafc53f40
dt-bindings: usb: genesys,gl850g: allow downstream device subnodes

As this binding describes USB hubs, it's natural for them to have
downstream devices.

Change "additionalProperties" to "unevaluatedProperties" to allow
properties defined in usb-device.yaml (for DT cells properties) and add
a pattern-based downstream device subnode rule to match those subnodes.

These changes allow downstream devices get defined under the hub.

Signed-off-by: Icenowy Zheng <uwu@icenowy.me>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20240917094008.283529-1-uwu@icenowy.me
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Documentation/devicetree/bindings/usb/genesys,gl850g.yaml