Skip to content

Commit

Permalink
dt-bindings: net: snps,dwmac: Fix snps,reset-delays-us dependency
Browse files Browse the repository at this point in the history
The schema had snps,reset-delay-us as dependent on snps,reset-gpio. The
actual property is called snps,reset-delays-us, so fix this to catch any
devicetree defining snsps,reset-delays-us without snps,reset-gpio.

Fixes: 7db3545 ("dt-bindings: net: stmmac: Convert the binding to a schemas")
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Andrew Halaney <ahalaney@redhat.com>
Link: https://lore.kernel.org/r/20230214171505.224602-1-ahalaney@redhat.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
  • Loading branch information
Andrew Halaney authored and Jakub Kicinski committed Feb 16, 2023
1 parent f585317 commit affb6a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Documentation/devicetree/bindings/net/snps,dwmac.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -552,7 +552,7 @@ required:

dependencies:
snps,reset-active-low: ["snps,reset-gpio"]
snps,reset-delay-us: ["snps,reset-gpio"]
snps,reset-delays-us: ["snps,reset-gpio"]

allOf:
- $ref: "ethernet-controller.yaml#"
Expand Down

0 comments on commit affb6a3

Please sign in to comment.