Skip to content

Commit 1eac0f9

Browse files
lumagvinodkoul
authored andcommitted
dt-bindings: phy: qcom,qmp-usb: fix bindings error
Merge two allOf clauses, which sneaked in in two different patches. Documentation/devicetree/bindings/phy/qcom,sc8280xp-qmp-usb3-uni-phy.yaml:109:1: found duplicate key "allOf" with value "[]" (original value: "[]") Documentation/devicetree/bindings/phy/qcom,sc8280xp-qmp-usb3-uni-phy.yaml:109:1: [error] duplication of key "allOf" in mapping (key-duplicates) Documentation/devicetree/bindings/phy/qcom,sc8280xp-qmp-usb3-uni-phy.yaml:109:1: found duplicate key "allOf" with value "[]" (original value: "[]") Documentation/devicetree/bindings/phy/qcom,sc8280xp-qmp-usb3-uni-phy.yaml: ignoring, error parsing file Fixes: 2daece5 ("dt-bindings: phy: qcom,qmp-usb: Drop legacy bindings and move to newer one (SM6115 & QCM2290)") Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> Reviewed-by: Conor Dooley <conor.dooley@microchip.com> Reviewed-by: Bhupesh Sharma <bhupesh.sharma@linaro.org> Link: https://lore.kernel.org/r/20230521195200.11967-1-dmitry.baryshkov@linaro.org Signed-off-by: Vinod Koul <vkoul@kernel.org>
1 parent 50da449 commit 1eac0f9

1 file changed

Lines changed: 5 additions & 23 deletions

File tree

Documentation/devicetree/bindings/phy/qcom,sc8280xp-qmp-usb3-uni-phy.yaml

Lines changed: 5 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -84,29 +84,6 @@ allOf:
8484
- const: cfg_ahb
8585
- const: pipe
8686

87-
- if:
88-
properties:
89-
compatible:
90-
contains:
91-
enum:
92-
- qcom,sa8775p-qmp-usb3-uni-phy
93-
- qcom,sc8280xp-qmp-usb3-uni-phy
94-
then:
95-
properties:
96-
clocks:
97-
maxItems: 4
98-
clock-names:
99-
items:
100-
- const: aux
101-
- const: ref
102-
- const: com_aux
103-
- const: pipe
104-
required:
105-
- power-domains
106-
107-
additionalProperties: false
108-
109-
allOf:
11087
- if:
11188
properties:
11289
compatible:
@@ -130,6 +107,7 @@ allOf:
130107
compatible:
131108
contains:
132109
enum:
110+
- qcom,sa8775p-qmp-usb3-uni-phy
133111
- qcom,sc8280xp-qmp-usb3-uni-phy
134112
then:
135113
properties:
@@ -141,6 +119,10 @@ allOf:
141119
- const: ref
142120
- const: com_aux
143121
- const: pipe
122+
required:
123+
- power-domains
124+
125+
additionalProperties: false
144126

145127
examples:
146128
- |

0 commit comments

Comments
 (0)