Skip to contentSkip to conversation

dt-bindings: phy: brcm,brcmstb-usb-phy: Fix error in "compatible" conditional schema

PATCH Applied Rob Herring 3 participants 3 messages Jun 21, 2023 – Jun 22, 2023

Subsystems (3)
lore
Share & tools
lore

Rob Herring

author maintainer
#0 lore raw

PATCH 1/1 dt-bindings: phy: brcm,brcmstb-usb-phy: Fix error in "compatible" conditional schema

The conditional if/then schema has an error as the "enum" values have "const" in them. Drop the "const".

---
 .../devicetree/bindings/phy/brcm,brcmstb-usb-phy.yaml         | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
Documentation/devicetree/bindings/phy/brcm,brcmstb-usb-phy.yaml +2 -2
index 43a4b880534c..580fbe37b37f 100644
@@ -115,8 +115,8 @@ allOf:
         compatible:
           contains:
             enum:
-              - const: brcm,bcm4908-usb-phy
-              - const: brcm,brcmstb-usb-phy
+              - brcm,bcm4908-usb-phy
+              - brcm,brcmstb-usb-phy
     then:
       properties:
         reg:
Signature · 7 lines
2.40.1


-- 
linux-phy mailing list
[email protected]
https://lists.infradead.org/mailman/listinfo/linux-phy
Acked-by on v1 1/1
#1 lore raw
Quoted 4 lines · Rob Herring

The conditional if/then schema has an error as the "enum" values have "const" in them. Drop the "const".

Oops, it's my mistake.

Fixes 46b616c1574d ("dt-bindings: phy: brcm, brcmstb-usb-phy: add BCM4908 binding")

Thanks!

Quoted 19 lines
---
  .../devicetree/bindings/phy/brcm,brcmstb-usb-phy.yaml         | 4 ++--
  1 file changed, 2 insertions(+), 2 deletions(-)
Documentation/devicetree/bindings/phy/brcm,brcmstb-usb-phy.yaml +2 -2
index 43a4b880534c..580fbe37b37f 100644
@@ -115,8 +115,8 @@ allOf:
          compatible:
            contains:
              enum:
-              - const: brcm,bcm4908-usb-phy
-              - const: brcm,brcmstb-usb-phy
+              - brcm,bcm4908-usb-phy
+              - brcm,brcmstb-usb-phy
      then:
        properties:
          reg:
Signature · 3 lines
linux-phy mailing list
[email protected]
https://lists.infradead.org/mailman/listinfo/linux-phy
maintainer Applied
#2 lore raw
In reply to Rob Herring
Quoted 2 lines · Rob Herring

The conditional if/then schema has an error as the "enum" values have "const" in them. Drop the "const".

Applied, thanks

Signature · 6 lines
~Vinod

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