Skip to contentSkip to conversation

dt-bindings: i2c: Drop unneeded quotes

PATCH Applied Rob Herring 6 participants 6 messages Mar 22, 2023 – Mar 29, 2023

Subsystems (11)
lore
Share & tools
lore

Rob Herring

author maintainer
#0 lore raw

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

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

---
 Documentation/devicetree/bindings/i2c/amlogic,meson6-i2c.yaml | 4 ++--
 Documentation/devicetree/bindings/i2c/apple,i2c.yaml          | 4 ++--
 Documentation/devicetree/bindings/i2c/atmel,at91sam-i2c.yaml  | 2 +-
 Documentation/devicetree/bindings/i2c/cdns,i2c-r1p10.yaml     | 4 ++--
 Documentation/devicetree/bindings/i2c/i2c-mux-gpio.yaml       | 4 ++--
 Documentation/devicetree/bindings/i2c/qcom,i2c-geni-qcom.yaml | 4 ++--
 Documentation/devicetree/bindings/i2c/st,stm32-i2c.yaml       | 2 +-
 .../devicetree/bindings/i2c/xlnx,xps-iic-2.00.a.yaml          | 4 ++--
 8 files changed, 14 insertions(+), 14 deletions(-)
Documentation/devicetree/bindings/i2c/amlogic,meson6-i2c.yaml +2 -2
index 199a354ccb97..26bed558c6b8 100644
@@ -2,8 +2,8 @@
 # Copyright 2019 BayLibre, SAS
 %YAML 1.2
 ---
-$id: "http://devicetree.org/schemas/i2c/amlogic,meson6-i2c.yaml#"
-$schema: "http://devicetree.org/meta-schemas/core.yaml#"
+$id: http://devicetree.org/schemas/i2c/amlogic,meson6-i2c.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
 
 title: Amlogic Meson I2C Controller
 
Documentation/devicetree/bindings/i2c/apple,i2c.yaml +2 -2
index 4ac61fec90e2..243da7003cec 100644
@@ -1,8 +1,8 @@
 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
 %YAML 1.2
 ---
-$id: "http://devicetree.org/schemas/i2c/apple,i2c.yaml#"
-$schema: "http://devicetree.org/meta-schemas/core.yaml#"
+$id: http://devicetree.org/schemas/i2c/apple,i2c.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
 
 title: Apple/PASemi I2C controller
 
Documentation/devicetree/bindings/i2c/atmel,at91sam-i2c.yaml +1 -1
index ea2303c0e143..6adedd3ec399 100644
@@ -75,7 +75,7 @@ required:
   - clocks
 
 allOf:
-  - $ref: "i2c-controller.yaml"
+  - $ref: i2c-controller.yaml
   - if:
       properties:
         compatible:
Documentation/devicetree/bindings/i2c/cdns,i2c-r1p10.yaml +2 -2
index 2e95cda7262a..7a675aa08c44 100644
@@ -1,8 +1,8 @@
 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
 %YAML 1.2
 ---
-$id: "http://devicetree.org/schemas/i2c/cdns,i2c-r1p10.yaml#"
-$schema: "http://devicetree.org/meta-schemas/core.yaml#"
+$id: http://devicetree.org/schemas/i2c/cdns,i2c-r1p10.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
 
 title: Cadence I2C controller
 
Documentation/devicetree/bindings/i2c/i2c-mux-gpio.yaml +2 -2
index 6e0a5686af04..f34cc7ad5a00 100644
@@ -45,7 +45,7 @@ properties:
 
   i2c-parent:
     description: phandle of the I2C bus that this multiplexer's master-side port is connected to
-    $ref: "/schemas/types.yaml#/definitions/phandle"
+    $ref: /schemas/types.yaml#/definitions/phandle
 
   mux-gpios:
     description: list of GPIOs used to control the muxer
@@ -55,7 +55,7 @@ properties:
   idle-state:
     description: Value to set the muxer to when idle. When no value is given, it defaults to the
       last value used.
-    $ref: "/schemas/types.yaml#/definitions/uint32"
+    $ref: /schemas/types.yaml#/definitions/uint32
 
 allOf:
   - $ref: i2c-mux.yaml
Documentation/devicetree/bindings/i2c/qcom,i2c-geni-qcom.yaml +2 -2
index 0e88c85985b5..9f66a3bb1f80 100644
@@ -1,8 +1,8 @@
 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
 %YAML 1.2
 ---
-$id: "http://devicetree.org/schemas/i2c/qcom,i2c-geni-qcom.yaml#"
-$schema: "http://devicetree.org/meta-schemas/core.yaml#"
+$id: http://devicetree.org/schemas/i2c/qcom,i2c-geni-qcom.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
 
 title: Qualcomm Geni based QUP I2C Controller
 
Documentation/devicetree/bindings/i2c/st,stm32-i2c.yaml +1 -1
index bf396e9466aa..94b75d9f66cd 100644
@@ -90,7 +90,7 @@ properties:
   st,syscfg-fmp:
     description: Use to set Fast Mode Plus bit within SYSCFG when Fast Mode
       Plus speed is selected by slave.
-    $ref: "/schemas/types.yaml#/definitions/phandle-array"
+    $ref: /schemas/types.yaml#/definitions/phandle-array
     items:
       - items:
           - description: phandle to syscfg
Documentation/devicetree/bindings/i2c/xlnx,xps-iic-2.00.a.yaml +2 -2
index 1b598638d457..658ae92fa86d 100644
@@ -1,8 +1,8 @@
 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
 %YAML 1.2
 ---
-$id: "http://devicetree.org/schemas/i2c/xlnx,xps-iic-2.00.a.yaml#"
-$schema: "http://devicetree.org/meta-schemas/core.yaml#"
+$id: http://devicetree.org/schemas/i2c/xlnx,xps-iic-2.00.a.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
 
 title: Xilinx IIC controller
 
Signature · 1 line
2.39.2
Reviewed-by on v1 1/1
#1 lore raw
Quoted 4 lines · Rob Herring

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

Quoted 11 lines
---
 Documentation/devicetree/bindings/i2c/amlogic,meson6-i2c.yaml | 4 ++--
 Documentation/devicetree/bindings/i2c/apple,i2c.yaml          | 4 ++--
 Documentation/devicetree/bindings/i2c/atmel,at91sam-i2c.yaml  | 2 +-
 Documentation/devicetree/bindings/i2c/cdns,i2c-r1p10.yaml     | 4 ++--
 Documentation/devicetree/bindings/i2c/i2c-mux-gpio.yaml       | 4 ++--
 Documentation/devicetree/bindings/i2c/qcom,i2c-geni-qcom.yaml | 4 ++--
 Documentation/devicetree/bindings/i2c/st,stm32-i2c.yaml       | 2 +-
 .../devicetree/bindings/i2c/xlnx,xps-iic-2.00.a.yaml          | 4 ++--
 8 files changed, 14 insertions(+), 14 deletions(-)

Best regards,
Krzysztof

maintainer Reviewed-by on v1 1/1
#2 lore raw
In reply to Rob Herring
Quoted 6 lines · Rob Herring

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

---
  Documentation/devicetree/bindings/i2c/amlogic,meson6-i2c.yaml | 4 ++--
Quoted 132 lines
  Documentation/devicetree/bindings/i2c/apple,i2c.yaml          | 4 ++--
  Documentation/devicetree/bindings/i2c/atmel,at91sam-i2c.yaml  | 2 +-
  Documentation/devicetree/bindings/i2c/cdns,i2c-r1p10.yaml     | 4 ++--
  Documentation/devicetree/bindings/i2c/i2c-mux-gpio.yaml       | 4 ++--
  Documentation/devicetree/bindings/i2c/qcom,i2c-geni-qcom.yaml | 4 ++--
  Documentation/devicetree/bindings/i2c/st,stm32-i2c.yaml       | 2 +-
  .../devicetree/bindings/i2c/xlnx,xps-iic-2.00.a.yaml          | 4 ++--
  8 files changed, 14 insertions(+), 14 deletions(-)
Documentation/devicetree/bindings/i2c/amlogic,meson6-i2c.yaml +2 -2
index 199a354ccb97..26bed558c6b8 100644
@@ -2,8 +2,8 @@
  # Copyright 2019 BayLibre, SAS
  %YAML 1.2
  ---
-$id: "http://devicetree.org/schemas/i2c/amlogic,meson6-i2c.yaml#"
-$schema: "http://devicetree.org/meta-schemas/core.yaml#"
+$id: http://devicetree.org/schemas/i2c/amlogic,meson6-i2c.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
 
  title: Amlogic Meson I2C Controller
 
Documentation/devicetree/bindings/i2c/apple,i2c.yaml +2 -2
index 4ac61fec90e2..243da7003cec 100644
@@ -1,8 +1,8 @@
  # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
  %YAML 1.2
  ---
-$id: "http://devicetree.org/schemas/i2c/apple,i2c.yaml#"
-$schema: "http://devicetree.org/meta-schemas/core.yaml#"
+$id: http://devicetree.org/schemas/i2c/apple,i2c.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
 
  title: Apple/PASemi I2C controller
 
Documentation/devicetree/bindings/i2c/atmel,at91sam-i2c.yaml +1 -1
index ea2303c0e143..6adedd3ec399 100644
@@ -75,7 +75,7 @@ required:
    - clocks
 
  allOf:
-  - $ref: "i2c-controller.yaml"
+  - $ref: i2c-controller.yaml
    - if:
        properties:
          compatible:
Documentation/devicetree/bindings/i2c/cdns,i2c-r1p10.yaml +2 -2
index 2e95cda7262a..7a675aa08c44 100644
@@ -1,8 +1,8 @@
  # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
  %YAML 1.2
  ---
-$id: "http://devicetree.org/schemas/i2c/cdns,i2c-r1p10.yaml#"
-$schema: "http://devicetree.org/meta-schemas/core.yaml#"
+$id: http://devicetree.org/schemas/i2c/cdns,i2c-r1p10.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
 
  title: Cadence I2C controller
 
Documentation/devicetree/bindings/i2c/i2c-mux-gpio.yaml +2 -2
index 6e0a5686af04..f34cc7ad5a00 100644
@@ -45,7 +45,7 @@ properties:
 
    i2c-parent:
      description: phandle of the I2C bus that this multiplexer's master-side port is connected to
-    $ref: "/schemas/types.yaml#/definitions/phandle"
+    $ref: /schemas/types.yaml#/definitions/phandle
 
    mux-gpios:
      description: list of GPIOs used to control the muxer
@@ -55,7 +55,7 @@ properties:
    idle-state:
      description: Value to set the muxer to when idle. When no value is given, it defaults to the
        last value used.
-    $ref: "/schemas/types.yaml#/definitions/uint32"
+    $ref: /schemas/types.yaml#/definitions/uint32
 
  allOf:
    - $ref: i2c-mux.yaml
Documentation/devicetree/bindings/i2c/qcom,i2c-geni-qcom.yaml +2 -2
index 0e88c85985b5..9f66a3bb1f80 100644
@@ -1,8 +1,8 @@
  # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
  %YAML 1.2
  ---
-$id: "http://devicetree.org/schemas/i2c/qcom,i2c-geni-qcom.yaml#"
-$schema: "http://devicetree.org/meta-schemas/core.yaml#"
+$id: http://devicetree.org/schemas/i2c/qcom,i2c-geni-qcom.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
 
  title: Qualcomm Geni based QUP I2C Controller
 
Documentation/devicetree/bindings/i2c/st,stm32-i2c.yaml +1 -1
index bf396e9466aa..94b75d9f66cd 100644
@@ -90,7 +90,7 @@ properties:
    st,syscfg-fmp:
      description: Use to set Fast Mode Plus bit within SYSCFG when Fast Mode
        Plus speed is selected by slave.
-    $ref: "/schemas/types.yaml#/definitions/phandle-array"
+    $ref: /schemas/types.yaml#/definitions/phandle-array
      items:
        - items:
            - description: phandle to syscfg
Documentation/devicetree/bindings/i2c/xlnx,xps-iic-2.00.a.yaml +2 -2
index 1b598638d457..658ae92fa86d 100644
@@ -1,8 +1,8 @@
  # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
  %YAML 1.2
  ---
-$id: "http://devicetree.org/schemas/i2c/xlnx,xps-iic-2.00.a.yaml#"
-$schema: "http://devicetree.org/meta-schemas/core.yaml#"
+$id: http://devicetree.org/schemas/i2c/xlnx,xps-iic-2.00.a.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
 
  title: Xilinx IIC controller
 
maintainer Reviewed-by on v1 1/1
#3 lore raw
In reply to Rob Herring
Quoted 5 lines · Rob Herring

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

---

[..]

Quoted 1 line
  Documentation/devicetree/bindings/i2c/atmel,at91sam-i2c.yaml  | 2 +-

for Microchip:

Thanks Rob, best regards,
Nicolas

Signature · 1 line
Nicolas Ferre
Reviewed-by on v1 1/1
#4 lore raw
In reply to Rob Herring
Quoted 4 lines · Rob Herring

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

Quoted 8 lines
---
 Documentation/devicetree/bindings/i2c/amlogic,meson6-i2c.yaml | 4 ++--
 Documentation/devicetree/bindings/i2c/apple,i2c.yaml          | 4 ++--
 Documentation/devicetree/bindings/i2c/atmel,at91sam-i2c.yaml  | 2 +-
 Documentation/devicetree/bindings/i2c/cdns,i2c-r1p10.yaml     | 4 ++--
 Documentation/devicetree/bindings/i2c/i2c-mux-gpio.yaml       | 4 ++--
 Documentation/devicetree/bindings/i2c/qcom,i2c-geni-qcom.yaml | 4 ++--
 Documentation/devicetree/bindings/i2c/st,stm32-i2c.yaml       | 2 +-
Quoted 133 lines
 .../devicetree/bindings/i2c/xlnx,xps-iic-2.00.a.yaml          | 4 ++--
 8 files changed, 14 insertions(+), 14 deletions(-)
Documentation/devicetree/bindings/i2c/amlogic,meson6-i2c.yaml +2 -2
index 199a354ccb97..26bed558c6b8 100644
@@ -2,8 +2,8 @@
 # Copyright 2019 BayLibre, SAS
 %YAML 1.2
 ---
-$id: "http://devicetree.org/schemas/i2c/amlogic,meson6-i2c.yaml#"
-$schema: "http://devicetree.org/meta-schemas/core.yaml#"
+$id: http://devicetree.org/schemas/i2c/amlogic,meson6-i2c.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
 
 title: Amlogic Meson I2C Controller
 
Documentation/devicetree/bindings/i2c/apple,i2c.yaml +2 -2
index 4ac61fec90e2..243da7003cec 100644
@@ -1,8 +1,8 @@
 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
 %YAML 1.2
 ---
-$id: "http://devicetree.org/schemas/i2c/apple,i2c.yaml#"
-$schema: "http://devicetree.org/meta-schemas/core.yaml#"
+$id: http://devicetree.org/schemas/i2c/apple,i2c.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
 
 title: Apple/PASemi I2C controller
 
Documentation/devicetree/bindings/i2c/atmel,at91sam-i2c.yaml +1 -1
index ea2303c0e143..6adedd3ec399 100644
@@ -75,7 +75,7 @@ required:
   - clocks
 
 allOf:
-  - $ref: "i2c-controller.yaml"
+  - $ref: i2c-controller.yaml
   - if:
       properties:
         compatible:
Documentation/devicetree/bindings/i2c/cdns,i2c-r1p10.yaml +2 -2
index 2e95cda7262a..7a675aa08c44 100644
@@ -1,8 +1,8 @@
 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
 %YAML 1.2
 ---
-$id: "http://devicetree.org/schemas/i2c/cdns,i2c-r1p10.yaml#"
-$schema: "http://devicetree.org/meta-schemas/core.yaml#"
+$id: http://devicetree.org/schemas/i2c/cdns,i2c-r1p10.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
 
 title: Cadence I2C controller
 
Documentation/devicetree/bindings/i2c/i2c-mux-gpio.yaml +2 -2
index 6e0a5686af04..f34cc7ad5a00 100644
@@ -45,7 +45,7 @@ properties:
 
   i2c-parent:
     description: phandle of the I2C bus that this multiplexer's master-side port is connected to
-    $ref: "/schemas/types.yaml#/definitions/phandle"
+    $ref: /schemas/types.yaml#/definitions/phandle
 
   mux-gpios:
     description: list of GPIOs used to control the muxer
@@ -55,7 +55,7 @@ properties:
   idle-state:
     description: Value to set the muxer to when idle. When no value is given, it defaults to the
       last value used.
-    $ref: "/schemas/types.yaml#/definitions/uint32"
+    $ref: /schemas/types.yaml#/definitions/uint32
 
 allOf:
   - $ref: i2c-mux.yaml
Documentation/devicetree/bindings/i2c/qcom,i2c-geni-qcom.yaml +2 -2
index 0e88c85985b5..9f66a3bb1f80 100644
@@ -1,8 +1,8 @@
 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
 %YAML 1.2
 ---
-$id: "http://devicetree.org/schemas/i2c/qcom,i2c-geni-qcom.yaml#"
-$schema: "http://devicetree.org/meta-schemas/core.yaml#"
+$id: http://devicetree.org/schemas/i2c/qcom,i2c-geni-qcom.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
 
 title: Qualcomm Geni based QUP I2C Controller
 
Documentation/devicetree/bindings/i2c/st,stm32-i2c.yaml +1 -1
index bf396e9466aa..94b75d9f66cd 100644
@@ -90,7 +90,7 @@ properties:
   st,syscfg-fmp:
     description: Use to set Fast Mode Plus bit within SYSCFG when Fast Mode
       Plus speed is selected by slave.
-    $ref: "/schemas/types.yaml#/definitions/phandle-array"
+    $ref: /schemas/types.yaml#/definitions/phandle-array
     items:
       - items:
           - description: phandle to syscfg
Documentation/devicetree/bindings/i2c/xlnx,xps-iic-2.00.a.yaml +2 -2
index 1b598638d457..658ae92fa86d 100644
@@ -1,8 +1,8 @@
 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
 %YAML 1.2
 ---
-$id: "http://devicetree.org/schemas/i2c/xlnx,xps-iic-2.00.a.yaml#"
-$schema: "http://devicetree.org/meta-schemas/core.yaml#"
+$id: http://devicetree.org/schemas/i2c/xlnx,xps-iic-2.00.a.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
 
 title: Xilinx IIC controller
 
Signature · 6 lines
2.39.2

_______________________________________________
Linux-stm32 mailing list
[email protected]
https://st-md-mailman.stormreply.com/mailman/listinfo/linux-stm32

Regards,
Alain

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