Skip to content

Commit

Permalink
dt-bindings: net: pse-pd: Allow -N suffix for ethernet-pse node names
Browse files Browse the repository at this point in the history
Extend the pattern matching for PSE-PD controller nodes to allow -N
suffixes. This enables the use of multiple "ethernet-pse" nodes without the
need for a "reg" property.

Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
  • Loading branch information
Oleksij Rempel authored and Jakub Kicinski committed Jun 2, 2023
1 parent 5ff9424 commit bd415f6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ maintainers:

properties:
$nodename:
pattern: "^ethernet-pse(@.*)?$"
pattern: "^ethernet-pse(@.*|-([0-9]|[1-9][0-9]+))?$"

"#pse-cells":
description:
Expand Down

0 comments on commit bd415f6

Please sign in to comment.