* [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