From: Dmitry Baryshkov Date: Sun, 8 Jun 2025 16:07:30 +0000 (+0300) Subject: dt-bindings: usb: genesys,gl850g: use usb-hub.yaml X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=ed7513dfb3e1a653346a7f8bbee862a4cfc165c4;p=users%2Fjedix%2Flinux-maple.git dt-bindings: usb: genesys,gl850g: use usb-hub.yaml In order to reduce duplication, switch GL850G to use USB hub bindings instead of using simple usb-device.yaml Signed-off-by: Dmitry Baryshkov Reviewed-by: "Rob Herring (Arm)" Link: https://lore.kernel.org/r/20250608-genesys-ports-v1-1-09ca19f6838e@oss.qualcomm.com Signed-off-by: Greg Kroah-Hartman --- diff --git a/Documentation/devicetree/bindings/usb/genesys,gl850g.yaml b/Documentation/devicetree/bindings/usb/genesys,gl850g.yaml index 6fe2d356dcbde..7f74f181b75c5 100644 --- a/Documentation/devicetree/bindings/usb/genesys,gl850g.yaml +++ b/Documentation/devicetree/bindings/usb/genesys,gl850g.yaml @@ -26,19 +26,14 @@ properties: description: The regulator that provides 3.3V or 5.0V core power to the hub. - peer-hub: - $ref: /schemas/types.yaml#/definitions/phandle - description: - For onboard hub controllers that support USB 3.x and USB 2.0 hubs - with shared resets and power supplies, this property is used to identify - the hubs with which these are shared. + peer-hub: true required: - compatible - reg allOf: - - $ref: usb-device.yaml# + - $ref: usb-hub.yaml# - if: properties: compatible: @@ -62,13 +57,6 @@ allOf: peer-hub: true vdd-supply: true -patternProperties: - "^.*@[0-9a-f]{1,2}$": - description: The hard wired USB devices - type: object - $ref: /schemas/usb/usb-device.yaml - additionalProperties: true - unevaluatedProperties: false examples: