Skip to contentSkip to conversation

dt-bindings: usb: Drop unneeded quotes

PATCH In review Rob Herring 3 participants 4 messages Mar 20, 2023 – Mar 21, 2023

Subsystems (7)
lore
Share & tools
lore

Rob Herring

author maintainer
#0 lore raw

PATCH 1/1 dt-bindings: usb: Drop unneeded quotes

Cleanup bindings dropping unneeded quotes. Once all these are fixed, checking for this can be enabled in yamllint.

---
 .../bindings/usb/amlogic,meson-g12a-usb-ctrl.yaml         | 4 ++--
 .../devicetree/bindings/usb/brcm,bcm7445-ehci.yaml        | 2 +-
 Documentation/devicetree/bindings/usb/fcs,fsa4480.yaml    | 4 ++--
 Documentation/devicetree/bindings/usb/generic-ehci.yaml   | 2 +-
 Documentation/devicetree/bindings/usb/generic-xhci.yaml   | 2 +-
 Documentation/devicetree/bindings/usb/gpio-sbu-mux.yaml   | 4 ++--
 Documentation/devicetree/bindings/usb/maxim,max33359.yaml | 4 ++--
 .../devicetree/bindings/usb/mediatek,mt6360-tcpc.yaml     | 4 ++--
 .../devicetree/bindings/usb/mediatek,mt6370-tcpc.yaml     | 4 ++--
 .../devicetree/bindings/usb/mediatek,mtk-xhci.yaml        | 2 +-
 Documentation/devicetree/bindings/usb/mediatek,mtu3.yaml  | 8 ++++----
 Documentation/devicetree/bindings/usb/mediatek,musb.yaml  | 4 ++--
 .../devicetree/bindings/usb/nvidia,tegra-xudc.yaml        | 4 ++--
 .../devicetree/bindings/usb/realtek,rts5411.yaml          | 2 +-
 .../devicetree/bindings/usb/richtek,rt1711h.yaml          | 4 ++--
 Documentation/devicetree/bindings/usb/richtek,rt1719.yaml | 4 ++--
 Documentation/devicetree/bindings/usb/st,stusb160x.yaml   | 4 ++--
 Documentation/devicetree/bindings/usb/ti,j721e-usb.yaml   | 4 ++--
 Documentation/devicetree/bindings/usb/ti,tps6598x.yaml    | 4 ++--
 Documentation/devicetree/bindings/usb/usb-xhci.yaml       | 2 +-
 20 files changed, 36 insertions(+), 36 deletions(-)
Documentation/devicetree/bindings/usb/amlogic,meson-g12a-usb-ctrl.yaml +2 -2
index f38a2be07eda..da757c1155d4 100644
@@ -2,8 +2,8 @@
 # Copyright 2019 BayLibre, SAS
 %YAML 1.2
 ---
-$id: "http://devicetree.org/schemas/usb/amlogic,meson-g12a-usb-ctrl.yaml#"
-$schema: "http://devicetree.org/meta-schemas/core.yaml#"
+$id: http://devicetree.org/schemas/usb/amlogic,meson-g12a-usb-ctrl.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
 
 title: Amlogic Meson G12A DWC3 USB SoC Controller Glue
 
Documentation/devicetree/bindings/usb/brcm,bcm7445-ehci.yaml +1 -1
index ad075407d85e..1536cbec6334 100644
@@ -7,7 +7,7 @@ $schema: http://devicetree.org/meta-schemas/core.yaml#
 title: Broadcom STB USB EHCI Controller
 
 allOf:
-  - $ref: "usb-hcd.yaml"
+  - $ref: usb-hcd.yaml
 
 maintainers:
   - Al Cooper <[email protected]>
Documentation/devicetree/bindings/usb/fcs,fsa4480.yaml +2 -2
index 51120fe90322..f6e7a5c1ff0b 100644
@@ -1,8 +1,8 @@
 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
 %YAML 1.2
 ---
-$id: "http://devicetree.org/schemas/usb/fcs,fsa4480.yaml#"
-$schema: "http://devicetree.org/meta-schemas/core.yaml#"
+$id: http://devicetree.org/schemas/usb/fcs,fsa4480.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
 
 title: ON Semiconductor Analog Audio Switch
 
Documentation/devicetree/bindings/usb/generic-ehci.yaml +1 -1
index 050cfd5acdaa..9445764bd8de 100644
@@ -10,7 +10,7 @@ maintainers:
   - Greg Kroah-Hartman <[email protected]>
 
 allOf:
-  - $ref: "usb-hcd.yaml"
+  - $ref: usb-hcd.yaml
   - if:
       properties:
         compatible:
Documentation/devicetree/bindings/usb/generic-xhci.yaml +1 -1
index db841589fc33..594ebb3ee432 100644
@@ -10,7 +10,7 @@ maintainers:
   - Mathias Nyman <[email protected]>
 
 allOf:
-  - $ref: "usb-xhci.yaml#"
+  - $ref: usb-xhci.yaml#
 
 properties:
   compatible:
Documentation/devicetree/bindings/usb/gpio-sbu-mux.yaml +2 -2
index bf4b1d016e1f..f196beb826d8 100644
@@ -1,8 +1,8 @@
 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
 %YAML 1.2
 ---
-$id: "http://devicetree.org/schemas/usb/gpio-sbu-mux.yaml#"
-$schema: "http://devicetree.org/meta-schemas/core.yaml#"
+$id: http://devicetree.org/schemas/usb/gpio-sbu-mux.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
 
 title: GPIO-based SBU mux
 
Documentation/devicetree/bindings/usb/maxim,max33359.yaml +2 -2
index 8e513a6af378..beccbd1d4d0e 100644
@@ -1,8 +1,8 @@
 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
 %YAML 1.2
 ---
-$id: "http://devicetree.org/schemas/usb/maxim,max33359.yaml#"
-$schema: "http://devicetree.org/meta-schemas/core.yaml#"
+$id: http://devicetree.org/schemas/usb/maxim,max33359.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
 
 title: Maxim TCPCI Type-C PD controller
 
Documentation/devicetree/bindings/usb/mediatek,mt6360-tcpc.yaml +2 -2
index c72257c19220..4f6018aadc8c 100644
@@ -1,8 +1,8 @@
 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
 %YAML 1.2
 ---
-$id: "http://devicetree.org/schemas/usb/mediatek,mt6360-tcpc.yaml#"
-$schema: "http://devicetree.org/meta-schemas/core.yaml#"
+$id: http://devicetree.org/schemas/usb/mediatek,mt6360-tcpc.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
 
 title: Mediatek MT6360 Type-C Port Switch and Power Delivery controller
 
Documentation/devicetree/bindings/usb/mediatek,mt6370-tcpc.yaml +2 -2
index 72f56cc88457..747d0f16d9b6 100644
@@ -1,8 +1,8 @@
 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
 %YAML 1.2
 ---
-$id: "http://devicetree.org/schemas/usb/mediatek,mt6370-tcpc.yaml#"
-$schema: "http://devicetree.org/meta-schemas/core.yaml#"
+$id: http://devicetree.org/schemas/usb/mediatek,mt6370-tcpc.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
 
 title: MediatTek MT6370 Type-C Port Switch and Power Delivery controller
 
Documentation/devicetree/bindings/usb/mediatek,mtk-xhci.yaml +1 -1
index c119caa9ad16..556bedb96165 100644
@@ -11,7 +11,7 @@ maintainers:
   - Chunfeng Yun <[email protected]>
 
 allOf:
-  - $ref: "usb-xhci.yaml"
+  - $ref: usb-xhci.yaml
 
 description: |
   There are two scenarios:
Documentation/devicetree/bindings/usb/mediatek,mtu3.yaml +4 -4
index d2655173e108..5b908c457e3d 100644
@@ -11,7 +11,7 @@ maintainers:
   - Chunfeng Yun <[email protected]>
 
 allOf:
-  - $ref: "usb-drd.yaml"
+  - $ref: usb-drd.yaml
 
 description: |
   The DRD controller has a glue layer IPPC (IP Port Control), and its host is
@@ -204,9 +204,9 @@ patternProperties:
       example if the host mode is enabled.
 
 dependencies:
-  connector: [ 'usb-role-switch' ]
-  port: [ 'usb-role-switch' ]
-  role-switch-default-mode: [ 'usb-role-switch' ]
+  connector: [ usb-role-switch ]
+  port: [ usb-role-switch ]
+  role-switch-default-mode: [ usb-role-switch ]
   wakeup-source: [ 'mediatek,syscon-wakeup' ]
 
 required:
Documentation/devicetree/bindings/usb/mediatek,musb.yaml +2 -2
index f16ab30a95d2..a39d38db7714 100644
@@ -68,8 +68,8 @@ properties:
     type: object
 
 dependencies:
-  usb-role-switch: [ 'connector' ]
-  connector: [ 'usb-role-switch' ]
+  usb-role-switch: [ connector ]
+  connector: [ usb-role-switch ]
 
 required:
   - compatible
Documentation/devicetree/bindings/usb/nvidia,tegra-xudc.yaml +2 -2
index e638f77658fc..e2270ce0c56b 100644
@@ -1,8 +1,8 @@
 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
 %YAML 1.2
 ---
-$id: "http://devicetree.org/schemas/usb/nvidia,tegra-xudc.yaml#"
-$schema: "http://devicetree.org/meta-schemas/core.yaml#"
+$id: http://devicetree.org/schemas/usb/nvidia,tegra-xudc.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
 
 title: NVIDIA Tegra XUSB device mode controller (XUDC)
 
Documentation/devicetree/bindings/usb/realtek,rts5411.yaml +1 -1
index 623d04a88a81..9309f003cd07 100644
@@ -26,7 +26,7 @@ properties:
       phandle to the regulator that provides power to the hub.
 
   peer-hub:
-    $ref: '/schemas/types.yaml#/definitions/phandle'
+    $ref: /schemas/types.yaml#/definitions/phandle
     description:
       phandle to the peer hub on the controller.
 
Documentation/devicetree/bindings/usb/richtek,rt1711h.yaml +2 -2
index 1999f614c89b..3bec824ec446 100644
@@ -1,8 +1,8 @@
 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
 %YAML 1.2
 ---
-$id: "http://devicetree.org/schemas/usb/richtek,rt1711h.yaml#"
-$schema: "http://devicetree.org/meta-schemas/core.yaml#"
+$id: http://devicetree.org/schemas/usb/richtek,rt1711h.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
 
 title: Richtek RT1711H Type-C Port Switch and Power Delivery controller
 
Documentation/devicetree/bindings/usb/richtek,rt1719.yaml +2 -2
index e3e87e4d3292..43562041b646 100644
@@ -1,8 +1,8 @@
 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
 %YAML 1.2
 ---
-$id: "http://devicetree.org/schemas/usb/richtek,rt1719.yaml#"
-$schema: "http://devicetree.org/meta-schemas/core.yaml#"
+$id: http://devicetree.org/schemas/usb/richtek,rt1719.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
 
 title: Richtek RT1719 sink-only Type-C PD controller
 
Documentation/devicetree/bindings/usb/st,stusb160x.yaml +2 -2
index ffcd9897ea38..edfebb813f77 100644
@@ -1,8 +1,8 @@
 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
 %YAML 1.2
 ---
-$id: "http://devicetree.org/schemas/usb/st,stusb160x.yaml#"
-$schema: "http://devicetree.org/meta-schemas/core.yaml#"
+$id: http://devicetree.org/schemas/usb/st,stusb160x.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
 
 title: STMicroelectronics STUSB160x Type-C controller
 
Documentation/devicetree/bindings/usb/ti,j721e-usb.yaml +2 -2
index f81ba3e90297..fd36dd02fe74 100644
@@ -1,8 +1,8 @@
 # SPDX-License-Identifier: GPL-2.0
 %YAML 1.2
 ---
-$id: "http://devicetree.org/schemas/usb/ti,j721e-usb.yaml#"
-$schema: "http://devicetree.org/meta-schemas/core.yaml#"
+$id: http://devicetree.org/schemas/usb/ti,j721e-usb.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
 
 title: TI wrapper module for the Cadence USBSS-DRD controller
 
Documentation/devicetree/bindings/usb/ti,tps6598x.yaml +2 -2
index 348a715d61f4..7d9c5e786e42 100644
@@ -1,8 +1,8 @@
 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
 %YAML 1.2
 ---
-$id: "http://devicetree.org/schemas/usb/ti,tps6598x.yaml#"
-$schema: "http://devicetree.org/meta-schemas/core.yaml#"
+$id: http://devicetree.org/schemas/usb/ti,tps6598x.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
 
 title: Texas Instruments 6598x Type-C Port Switch and Power Delivery controller
 
Documentation/devicetree/bindings/usb/usb-xhci.yaml +1 -1
index f2139a9f35fb..180a261c3e8f 100644
@@ -10,7 +10,7 @@ maintainers:
   - Mathias Nyman <[email protected]>
 
 allOf:
-  - $ref: "usb-hcd.yaml#"
+  - $ref: usb-hcd.yaml#
 
 properties:
   usb2-lpm-disable:
Signature · 1 line
2.39.2
author maintainer
#2 lore raw
Quoted 11 lines · Greg Kroah-Hartman
Quoted 4 lines · Rob Herring

Cleanup bindings dropping unneeded quotes. Once all these are fixed, checking for this can be enabled in yamllint.

Or do you want me to take this through the USB tree? if so, just let me know.

You can take it.

Rob

_______________________________________________
linux-amlogic mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-amlogic