* [PATCH 0/3] dt-bindings: usb: vialab,vl817: reparent to usb-hub.yaml
@ 2026-11-24 8:31 Icenowy Zheng
2026-11-24 8:31 ` [PATCH 1/3] dt-bindings: usb: vialab,vl817: use unevaluatedProperties Icenowy Zheng
` (3 more replies)
0 siblings, 4 replies; 5+ messages in thread
From: Icenowy Zheng @ 2026-11-24 8:31 UTC (permalink / raw)
To: Greg Kroah-Hartman, Matthias Kaehlcke, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, Anand Moon
Cc: linux-usb, devicetree, linux-kernel, Icenowy Zheng, Han Gao,
Icenowy Zheng
Currently the VL817 schema is derived from usb-device.yaml despite it's
a USB hub (even a SS hub with a HS peer). In addition, it still sets
additionalProperties to false, which isn't the standard practice now of
derived schemas.
Both problems lead to rejection of downstream nodes, either OF graph
ports or directly attached downstream devices.
This patchset tries to fix these problem by setting
unevaluatedProperties, set allOf schema to usb-hub.yaml and remove
duplicated properties' description.
Signed-off-by: Icenowy Zheng <zhengxingda@iscas.ac.cn>
---
Icenowy Zheng (3):
dt-bindings: usb: vialab,vl817: use unevaluatedProperties
dt-bindings: usb: vialab,vl817: derive from usb-hub.yaml
dt-bindings: usb: vialab,vl817: deduplicate properties in usb-hub.yaml
Documentation/devicetree/bindings/usb/vialab,vl817.yaml | 11 ++---------
1 file changed, 2 insertions(+), 9 deletions(-)
---
base-commit: 6628e7d4c6b25c8d18f1345e3a20d21829aae7e4
change-id: 20261124-vl817-uneval-prop-9723e7bc36f1
Best regards,
--
Icenowy Zheng <zhengxingda@iscas.ac.cn>
^ permalink raw reply [flat|nested] 5+ messages in thread
* [PATCH 1/3] dt-bindings: usb: vialab,vl817: use unevaluatedProperties
2026-11-24 8:31 [PATCH 0/3] dt-bindings: usb: vialab,vl817: reparent to usb-hub.yaml Icenowy Zheng
@ 2026-11-24 8:31 ` Icenowy Zheng
2026-11-24 8:31 ` [PATCH 2/3] dt-bindings: usb: vialab,vl817: derive from usb-hub.yaml Icenowy Zheng
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: Icenowy Zheng @ 2026-11-24 8:31 UTC (permalink / raw)
To: Greg Kroah-Hartman, Matthias Kaehlcke, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, Anand Moon
Cc: linux-usb, devicetree, linux-kernel, Icenowy Zheng, Han Gao,
Icenowy Zheng
Currently the VL817 binding has additionalProperties set to false
instead of unevaluatedProperties, which disallows properties documented
in the parent schema.
Change it to unevaluatedProperties, which is the better practice for
derived schemas.
Signed-off-by: Icenowy Zheng <zhengxingda@iscas.ac.cn>
---
Documentation/devicetree/bindings/usb/vialab,vl817.yaml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Documentation/devicetree/bindings/usb/vialab,vl817.yaml b/Documentation/devicetree/bindings/usb/vialab,vl817.yaml
index c815010ba9c2e..d0484e48e319c 100644
--- a/Documentation/devicetree/bindings/usb/vialab,vl817.yaml
+++ b/Documentation/devicetree/bindings/usb/vialab,vl817.yaml
@@ -40,7 +40,7 @@ required:
- vdd-supply
- peer-hub
-additionalProperties: false
+unevaluatedProperties: false
examples:
- |
--
2.56.0
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [PATCH 2/3] dt-bindings: usb: vialab,vl817: derive from usb-hub.yaml
2026-11-24 8:31 [PATCH 0/3] dt-bindings: usb: vialab,vl817: reparent to usb-hub.yaml Icenowy Zheng
2026-11-24 8:31 ` [PATCH 1/3] dt-bindings: usb: vialab,vl817: use unevaluatedProperties Icenowy Zheng
@ 2026-11-24 8:31 ` Icenowy Zheng
2026-11-24 8:31 ` [PATCH 3/3] dt-bindings: usb: vialab,vl817: deduplicate properties in usb-hub.yaml Icenowy Zheng
2026-11-24 8:34 ` [PATCH 0/3] dt-bindings: usb: vialab,vl817: reparent to usb-hub.yaml sashiko-bot
3 siblings, 0 replies; 5+ messages in thread
From: Icenowy Zheng @ 2026-11-24 8:31 UTC (permalink / raw)
To: Greg Kroah-Hartman, Matthias Kaehlcke, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, Anand Moon
Cc: linux-usb, devicetree, linux-kernel, Icenowy Zheng, Han Gao,
Icenowy Zheng
Currently the VL817 binding is derived from usb-device.yaml instead of
usb-hub.yaml, which lacks definitions of downstream subnodes.
Switch the parent to usb-hub.yaml to allow downstream OF graph ports and
attached fixed USB devices.
Signed-off-by: Icenowy Zheng <zhengxingda@iscas.ac.cn>
---
Documentation/devicetree/bindings/usb/vialab,vl817.yaml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Documentation/devicetree/bindings/usb/vialab,vl817.yaml b/Documentation/devicetree/bindings/usb/vialab,vl817.yaml
index d0484e48e319c..1900444bec31c 100644
--- a/Documentation/devicetree/bindings/usb/vialab,vl817.yaml
+++ b/Documentation/devicetree/bindings/usb/vialab,vl817.yaml
@@ -10,7 +10,7 @@ maintainers:
- Anand Moon <linux.amoon@gmail.com>
allOf:
- - $ref: usb-device.yaml#
+ - $ref: usb-hub.yaml#
properties:
compatible:
--
2.56.0
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [PATCH 3/3] dt-bindings: usb: vialab,vl817: deduplicate properties in usb-hub.yaml
2026-11-24 8:31 [PATCH 0/3] dt-bindings: usb: vialab,vl817: reparent to usb-hub.yaml Icenowy Zheng
2026-11-24 8:31 ` [PATCH 1/3] dt-bindings: usb: vialab,vl817: use unevaluatedProperties Icenowy Zheng
2026-11-24 8:31 ` [PATCH 2/3] dt-bindings: usb: vialab,vl817: derive from usb-hub.yaml Icenowy Zheng
@ 2026-11-24 8:31 ` Icenowy Zheng
2026-11-24 8:34 ` [PATCH 0/3] dt-bindings: usb: vialab,vl817: reparent to usb-hub.yaml sashiko-bot
3 siblings, 0 replies; 5+ messages in thread
From: Icenowy Zheng @ 2026-11-24 8:31 UTC (permalink / raw)
To: Greg Kroah-Hartman, Matthias Kaehlcke, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, Anand Moon
Cc: linux-usb, devicetree, linux-kernel, Icenowy Zheng, Han Gao,
Icenowy Zheng
The reg and peer-hub properties are described in usb-hub.yaml (or its
parent, usb-device.yaml).
Remove definitions of them from the VL817 schema for deduplication.
Signed-off-by: Icenowy Zheng <zhengxingda@iscas.ac.cn>
---
Documentation/devicetree/bindings/usb/vialab,vl817.yaml | 7 -------
1 file changed, 7 deletions(-)
diff --git a/Documentation/devicetree/bindings/usb/vialab,vl817.yaml b/Documentation/devicetree/bindings/usb/vialab,vl817.yaml
index 1900444bec31c..2f57eaa67c366 100644
--- a/Documentation/devicetree/bindings/usb/vialab,vl817.yaml
+++ b/Documentation/devicetree/bindings/usb/vialab,vl817.yaml
@@ -18,8 +18,6 @@ properties:
- usb2109,2817
- usb2109,817
- reg: true
-
reset-gpios:
maxItems: 1
description:
@@ -29,11 +27,6 @@ properties:
description:
phandle to the regulator that provides power to the hub.
- peer-hub:
- $ref: /schemas/types.yaml#/definitions/phandle
- description:
- phandle to the peer hub on the controller.
-
required:
- compatible
- reg
--
2.56.0
^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [PATCH 0/3] dt-bindings: usb: vialab,vl817: reparent to usb-hub.yaml
2026-11-24 8:31 [PATCH 0/3] dt-bindings: usb: vialab,vl817: reparent to usb-hub.yaml Icenowy Zheng
` (2 preceding siblings ...)
2026-11-24 8:31 ` [PATCH 3/3] dt-bindings: usb: vialab,vl817: deduplicate properties in usb-hub.yaml Icenowy Zheng
@ 2026-11-24 8:34 ` sashiko-bot
3 siblings, 0 replies; 5+ messages in thread
From: sashiko-bot @ 2026-11-24 8:34 UTC (permalink / raw)
To: Icenowy Zheng; +Cc: linux-usb
Sashiko has reviewed this 3-patch series and found no issues.
--
Sashiko AI review · https://sashiko.dev/#/patchset/20261124-vl817-uneval-prop-v1-0-137c093fb300@iscas.ac.cn
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2026-11-24 8:34 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-24 8:31 [PATCH 0/3] dt-bindings: usb: vialab,vl817: reparent to usb-hub.yaml Icenowy Zheng
2026-11-24 8:31 ` [PATCH 1/3] dt-bindings: usb: vialab,vl817: use unevaluatedProperties Icenowy Zheng
2026-11-24 8:31 ` [PATCH 2/3] dt-bindings: usb: vialab,vl817: derive from usb-hub.yaml Icenowy Zheng
2026-11-24 8:31 ` [PATCH 3/3] dt-bindings: usb: vialab,vl817: deduplicate properties in usb-hub.yaml Icenowy Zheng
2026-11-24 8:34 ` [PATCH 0/3] dt-bindings: usb: vialab,vl817: reparent to usb-hub.yaml sashiko-bot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox