Skip to content

Commit

Permalink
dt-bindings: phy: intel,combo-phy: restrict node name suffixes
Browse files Browse the repository at this point in the history
Make the pattern matching node names a bit stricter to improve DTS
consistency.  The pattern is restricted to:
1. Only one unit address or one -N suffix,
2. -N suffixes to decimal numbers.

Suggested-by: Rob Herring <[email protected]>
Signed-off-by: Krzysztof Kozlowski <[email protected]>
Acked-by: Rob Herring <[email protected]>
Reviewed-by: Tony Lindgren <[email protected]>
Reviewed-by: Conor Dooley <[email protected]>
Acked-by: Uwe Kleine-König <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Vinod Koul <[email protected]>
  • Loading branch information
krzk authored and vinodkoul committed Jun 21, 2023
1 parent bc958b3 commit 0eac9e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Documentation/devicetree/bindings/phy/intel,combo-phy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ description: |
properties:
$nodename:
pattern: "combophy(@.*|-[0-9a-f])*$"
pattern: "combophy(@.*|-([0-9]|[1-9][0-9]+))?$"

compatible:
items:
Expand Down

0 comments on commit 0eac9e9

Please sign in to comment.