diff mbox series

arm64: dts: imx8mm-kontron-bl-osm-s: Fix Ethernet PHY compatible

Message ID 20240223230916.1261467-1-festevam@gmail.com (mailing list archive)
State New, archived
Headers show
Series arm64: dts: imx8mm-kontron-bl-osm-s: Fix Ethernet PHY compatible | expand

Commit Message

Fabio Estevam Feb. 23, 2024, 11:09 p.m. UTC
From: Fabio Estevam <festevam@denx.de>

According to motorcomm,yt8xxx.yaml, the compatible string must be
only 'ethernet-phy-id4f51.e91b'.

Remove 'ethernet-phy-ieee802.3-c22' to fix the following dt-schema warning:

imx8mm-kontron-bl-osm-s.dtb: ethernet-phy@0: compatible: ['ethernet-phy-id4f51.e91b', 'ethernet-phy-ieee802.3-c22'] is too long
	from schema $id: http://devicetree.org/schemas/net/motorcomm,yt8xxx.yaml#

Signed-off-by: Fabio Estevam <festevam@denx.de>
---
 arch/arm64/boot/dts/freescale/imx8mm-kontron-bl-osm-s.dts | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

Comments

Shawn Guo Feb. 25, 2024, 1:36 p.m. UTC | #1
On Fri, Feb 23, 2024 at 08:09:16PM -0300, Fabio Estevam wrote:
> From: Fabio Estevam <festevam@denx.de>
> 
> According to motorcomm,yt8xxx.yaml, the compatible string must be
> only 'ethernet-phy-id4f51.e91b'.
> 
> Remove 'ethernet-phy-ieee802.3-c22' to fix the following dt-schema warning:
> 
> imx8mm-kontron-bl-osm-s.dtb: ethernet-phy@0: compatible: ['ethernet-phy-id4f51.e91b', 'ethernet-phy-ieee802.3-c22'] is too long
> 	from schema $id: http://devicetree.org/schemas/net/motorcomm,yt8xxx.yaml#
> 
> Signed-off-by: Fabio Estevam <festevam@denx.de>

Applied, thanks!
diff mbox series

Patch

diff --git a/arch/arm64/boot/dts/freescale/imx8mm-kontron-bl-osm-s.dts b/arch/arm64/boot/dts/freescale/imx8mm-kontron-bl-osm-s.dts
index efadfdff00af..33f8d7d1970e 100644
--- a/arch/arm64/boot/dts/freescale/imx8mm-kontron-bl-osm-s.dts
+++ b/arch/arm64/boot/dts/freescale/imx8mm-kontron-bl-osm-s.dts
@@ -107,8 +107,7 @@  mdio {
 		#size-cells = <0>;
 
 		ethphy: ethernet-phy@0 {
-			compatible = "ethernet-phy-id4f51.e91b",
-				     "ethernet-phy-ieee802.3-c22";
+			compatible = "ethernet-phy-id4f51.e91b";
 			reg = <0>;
 			reset-assert-us = <10000>;
 			reset-gpios = <&gpio1 3 GPIO_ACTIVE_LOW>;