Skip to contentSkip to conversation

dt-bindings: phy: g12a-usb2-phy: fix compatible string documentation

PATCH In review Heiner Kallweit 3 participants 4 messages Jan 15, 2023 – Jan 16, 2023

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 dt-bindings: phy: g12a-usb2-phy: fix compatible string documentation

The compatible strings in the driver don't have the meson prefix. Fix this in the documentation and rename the file accordingly.

Fixes da86d286cce8 ("dt-bindings: phy: meson-g12a-usb2-phy: convert to yaml")
---
 ...,meson-g12a-usb2-phy.yaml => amlogic,g12a-usb2-phy.yaml} | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
 rename Documentation/devicetree/bindings/phy/{amlogic,meson-g12a-usb2-phy.yaml => amlogic,g12a-usb2-phy.yaml} (91%)
Documentation/devicetree/bindings/phy/amlogic,g12a-usb2-phy.yaml renamed from Documentation/devicetree/bindings/phy/amlogic,meson-g12a-usb2-phy.yaml +3 -3
similarity index 91%
rename from Documentation/devicetree/bindings/phy/amlogic,meson-g12a-usb2-phy.yaml
rename to Documentation/devicetree/bindings/phy/amlogic,g12a-usb2-phy.yaml
index f3a5fbabb..19a0ddab0 100644
@@ -13,8 +13,8 @@ maintainers:
 properties:
   compatible:
     enum:
-      - amlogic,meson-g12a-usb2-phy
-      - amlogic,meson-a1-usb2-phy
+      - amlogic,g12a-usb2-phy
+      - amlogic,a1-usb2-phy
 
   reg:
     maxItems: 1
@@ -68,7 +68,7 @@ additionalProperties: false
 examples:
   - |
     phy@36000 {
-          compatible = "amlogic,meson-g12a-usb2-phy";
+          compatible = "amlogic,g12a-usb2-phy";
           reg = <0x36000 0x2000>;
           clocks = <&xtal>;
           clock-names = "xtal";
Signature · 1 line
2.39.0
#2 lore raw
Quoted 10 lines · Krzysztof Kozlowski
Quoted 7 lines · Heiner Kallweit

The compatible strings in the driver don't have the meson prefix. Fix this in the documentation and rename the file accordingly.

Fixes da86d286cce8 ("dt-bindings: phy: meson-g12a-usb2-phy: convert to yaml")

---

and un-reviewed. As robot pointed - please test the bindings before sending. :(

Best regards,
Krzysztof

Signature · 3 lines
linux-phy mailing list
[email protected]
https://lists.infradead.org/mailman/listinfo/linux-phy
maintainer
#3 lore raw
In reply to Heiner Kallweit
Quoted 11 lines · Heiner Kallweit

The compatible strings in the driver don't have the meson prefix. Fix this in the documentation and rename the file accordingly.

Fixes da86d286cce8 ("dt-bindings: phy: meson-g12a-usb2-phy: convert to yaml")
---
 ...,meson-g12a-usb2-phy.yaml => amlogic,g12a-usb2-phy.yaml} | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
 rename Documentation/devicetree/bindings/phy/{amlogic,meson-g12a-usb2-phy.yaml => amlogic,g12a-usb2-phy.yaml} (91%)

My bot found errors running 'make DT_CHECKER_FLAGS=-m dt_binding_check' on your patch (DT_CHECKER_FLAGS is new in v5.13):

yamllint warnings/errors:

dtschema/dtc warnings/errors:
./Documentation/devicetree/bindings/phy/amlogic,g12a-usb2-phy.yaml: $id: relative path/filename doesn't match actual path or filename
expected: http://devicetree.org/schemas/phy/amlogic,g12a-usb2-phy.yaml#

doc reference errors (make refcheckdocs):

See https://patchwork.ozlabs.org/project/devicetree-bindings/patch/[email protected]

The base for the series is generally the latest rc1. A different dependency should be noted in *this* patch.

If you already ran 'make dt_binding_check' and didn't see the above error(s), then make sure 'yamllint' is installed and dt-schema is up to date:

pip3 install dtschema --upgrade

Please check and re-submit after running the above command yourself. Note that DT_SCHEMA_FILES can be set to your schema file to speed up checking your schema. However, it must be unset to test all examples with your schema.

Signature · 3 lines
linux-phy mailing list
[email protected]
https://lists.infradead.org/mailman/listinfo/linux-phy