Skip to contentSkip to conversation

arm64: dts: apm: storm: Rename menetphy@3 to ethernet-phy@3

PATCH Applied Marek Vasut 2 participants 2 messages Jun 30, 2024 – Aug 12, 2024

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 arm64: dts: apm: storm: Rename menetphy@3 to ethernet-phy@3

Make the PHY node name adhere to DT binding document. Fix the following DT check error:

"
arch/arm64/boot/dts/apm/apm-mustang.dtb: menetphy@3: $nodename:0: 'menetphy@3' does not match '^ethernet-phy(@[a-f0-9]+)?$'
from schema $id: http://devicetree.org/schemas/net/realtek,rtl82xx.yaml#
arch/arm64/boot/dts/apm/apm-mustang.dtb: menetphy@3: Unevaluated properties are not allowed ('reg' was unexpected)
from schema $id: http://devicetree.org/schemas/net/realtek,rtl82xx.yaml#
"

---
Cc: Conor Dooley <[email protected]>
Cc: Khuong Dinh <[email protected]>
Cc: Krzysztof Kozlowski <[email protected]>
Cc: Rob Herring <[email protected]>
Cc: [email protected]
---
Note: this closes only part of the report

---
 arch/arm64/boot/dts/apm/apm-storm.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm64/boot/dts/apm/apm-storm.dtsi +1 -1
index 532401bc9c660..6ad4703925dc5 100644
@@ -997,7 +997,7 @@ mdio {
 				compatible = "apm,xgene-mdio";
 				#address-cells = <1>;
 				#size-cells = <0>;
-				menetphy: menetphy@3 {
+				menetphy: ethernet-phy@3 {
 					compatible = "ethernet-phy-id001c.c915";
 					reg = <0x3>;
 				};
Signature · 1 line
2.43.0
#1 lore raw
Quoted 11 lines · Marek Vasut

Make the PHY node name adhere to DT binding document. Fix the following DT check error:

"
arch/arm64/boot/dts/apm/apm-mustang.dtb: menetphy@3: $nodename:0: 'menetphy@3' does not match '^ethernet-phy(@[a-f0-9]+)?$'
from schema $id: http://devicetree.org/schemas/net/realtek,rtl82xx.yaml#
arch/arm64/boot/dts/apm/apm-mustang.dtb: menetphy@3: Unevaluated properties are not allowed ('reg' was unexpected)
from schema $id: http://devicetree.org/schemas/net/realtek,rtl82xx.yaml#
"

[...]

No one took this patch and it waits on the list for very long.

Applied, thanks!

[1/1] arm64: dts: apm: storm: Rename menetphy@3 to ethernet-phy@3

      https://git.kernel.org/krzk/linux-dt/c/2bc1577ea2b13f668fe36fa4ff831eb2a946d75a

Best regards,

Signature · 1 line
Krzysztof Kozlowski <[email protected]>