Skip to contentSkip to conversation

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

PATCH Applied Heiner Kallweit 4 participants 4 messages Jan 16, 2023 – Jan 18, 2023

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

PATCH v2 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")

---
v2:
- align $id with new file name

---
 ...eson-g12a-usb2-phy.yaml => amlogic,g12a-usb2-phy.yaml} | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
 rename Documentation/devicetree/bindings/phy/{amlogic,meson-g12a-usb2-phy.yaml => amlogic,g12a-usb2-phy.yaml} (85%)
Documentation/devicetree/bindings/phy/amlogic,g12a-usb2-phy.yaml renamed from Documentation/devicetree/bindings/phy/amlogic,meson-g12a-usb2-phy.yaml +4 -4
similarity index 85%
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..bb01c6b34 100644
@@ -2,7 +2,7 @@
 # Copyright 2019 BayLibre, SAS
 %YAML 1.2
 ---
-$id: "http://devicetree.org/schemas/phy/amlogic,meson-g12a-usb2-phy.yaml#"
+$id: "http://devicetree.org/schemas/phy/amlogic,g12a-usb2-phy.yaml#"
 $schema: "http://devicetree.org/meta-schemas/core.yaml#"
 
 title: Amlogic G12A USB2 PHY
@@ -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
Reviewed-by on v2 1/1
#1 lore raw
Quoted 9 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")

---
v2:
- align $id with new file name

Best regards,
Krzysztof

Signature · 3 lines
linux-phy mailing list
[email protected]
https://lists.infradead.org/mailman/listinfo/linux-phy
reviewer Reviewed-by on v2 1/1
#2 lore raw
In reply to Heiner Kallweit
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")
Signature · 3 lines
linux-phy mailing list
[email protected]
https://lists.infradead.org/mailman/listinfo/linux-phy
maintainer Applied
#3 lore raw
In reply to Heiner Kallweit
Quoted 2 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.

Applied, thanks

Signature · 1 line
~Vinod