Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

dt-bindings: phy: intel,combo-phy: restrict node name suffixes

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 <robh@kernel.org>
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Acked-by: Rob Herring <robh@kernel.org>
Reviewed-by: Tony Lindgren <tony@atomide.com>
Reviewed-by: Conor Dooley <conor.dooley@microchip.com>
Acked-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Link: https://lore.kernel.org/r/20230530144851.92059-2-krzysztof.kozlowski@linaro.org
Signed-off-by: Vinod Koul <vkoul@kernel.org>

authored by

Krzysztof Kozlowski and committed by
Vinod Koul
0eac9e97 bc958b3a

+1 -1
+1 -1
Documentation/devicetree/bindings/phy/intel,combo-phy.yaml
··· 15 15 16 16 properties: 17 17 $nodename: 18 - pattern: "combophy(@.*|-[0-9a-f])*$" 18 + pattern: "combophy(@.*|-([0-9]|[1-9][0-9]+))?$" 19 19 20 20 compatible: 21 21 items: