lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20260203121723.312336-1-biju.das.jz@bp.renesas.com>
Date: Tue,  3 Feb 2026 12:17:21 +0000
From: Biju <biju.das.au@...il.com>
To: Andrew Lunn <andrew+netdev@...n.ch>,
	"David S. Miller" <davem@...emloft.net>,
	Eric Dumazet <edumazet@...gle.com>,
	Jakub Kicinski <kuba@...nel.org>,
	Paolo Abeni <pabeni@...hat.com>,
	Rob Herring <robh@...nel.org>,
	Krzysztof Kozlowski <krzk+dt@...nel.org>,
	Conor Dooley <conor+dt@...nel.org>
Cc: Biju Das <biju.das.jz@...renesas.com>,
	Stefan Eichenberger <eichest@...il.com>,
	netdev@...r.kernel.org,
	devicetree@...r.kernel.org,
	linux-kernel@...r.kernel.org,
	Geert Uytterhoeven <geert+renesas@...der.be>,
	Prabhakar Mahadev Lad <prabhakar.mahadev-lad.rj@...renesas.com>,
	Biju Das <biju.das.au@...il.com>,
	linux-renesas-soc@...r.kernel.org
Subject: [PATCH net-next] dt-bindings: net: micrel: Fix dtbs compatible too long warnings

From: Biju Das <biju.das.jz@...renesas.com>

The KSZ9131 PHY is suitable for IEEE 802.3 applications.

Fix the below dtbs warning "compatible: ['ethernet-phy-id0022.1640',
'ethernet-phy-ieee802.3-c22'] is too long" on the below dts:

r8a774b1-beacon-rzg2n-kit.dtb
r8a774a1-beacon-rzg2m-kit.dtb
r8a774e1-beacon-rzg2h-kit.dtb
r9a08g046l48-smarc.dtb
r9a07g043u11-smarc.dtb
r9a07g044c2-smarc.dtb
r9a07g044l2-smarc.dtb
r9a07g044l2-smarc.dtb
r9a07g054l2-smarc.dtb
r9a07g054l2-smarc.dtb
r9a09g047e57-smarc.dtb
r9a09g047e57-smarc.dtb
r9a09g056n48-rzv2n-evk.dtb
r9a09g056n48-rzv2n-evk.dtb
r9a09g057h44-rzv2h-evk.dtb
r9a09g057h44-rzv2h-evk.dtb
r9a07g043u11-smarc-cru-csi-ov5645.dtb
r9a07g043u11-smarc-pmod.dtb
r9a07g043u11-smarc-du-adv7513.dtb
r9a09g047e57-smarc-cru-csi-ov5645.dtb
r9a07g044c2-smarc-cru-csi-ov5645.dtb
r9a09g047e57-smarc-cru-csi-ov5645.dtb
r9a07g044l2-smarc-cru-csi-ov5645.dtb
r9a07g044l2-smarc-cru-csi-ov5645.dtb
r9a07g054l2-smarc-cru-csi-ov5645.dtb
r9a07g054l2-smarc-cru-csi-ov5645.dtb
r9a09g056n48-rzv2n-evk-cn15-emmc.dtb
r9a09g056n48-rzv2n-evk-cn15-emmc.dtb
r9a09g056n48-rzv2n-evk-cn15-sd.dtb
r9a09g057h44-rzv2h-evk-cn15-sd.dtb
r9a09g056n48-rzv2n-evk-cn15-sd.dtb
r9a09g057h44-rzv2h-evk-cn15-emmc.dtb
r9a09g057h44-rzv2h-evk-cn15-sd.dtb
r9a09g057h44-rzv2h-evk-cn15-emmc.dtb

Signed-off-by: Biju Das <biju.das.jz@...renesas.com>
---
 .../bindings/net/micrel,gigabit.yaml          | 23 +++++++++++--------
 1 file changed, 14 insertions(+), 9 deletions(-)

diff --git a/Documentation/devicetree/bindings/net/micrel,gigabit.yaml b/Documentation/devicetree/bindings/net/micrel,gigabit.yaml
index 384b4ea6181e..284c3ba379f3 100644
--- a/Documentation/devicetree/bindings/net/micrel,gigabit.yaml
+++ b/Documentation/devicetree/bindings/net/micrel,gigabit.yaml
@@ -17,15 +17,20 @@ description:
 
 properties:
   compatible:
-    enum:
-      - ethernet-phy-id0022.1610  # KSZ9021
-      - ethernet-phy-id0022.1611  # KSZ9021RLRN
-      - ethernet-phy-id0022.1620  # KSZ9031
-      - ethernet-phy-id0022.1631  # KSZ9477
-      - ethernet-phy-id0022.1640  # KSZ9131
-      - ethernet-phy-id0022.1650  # LAN8841
-      - ethernet-phy-id0022.1660  # LAN8814
-      - ethernet-phy-id0022.1670  # LAN8804
+    oneOf:
+      - items:
+          - const: ethernet-phy-id0022.1640
+          - const: ethernet-phy-ieee802.3-c22
+      - items:
+          - enum:
+              - ethernet-phy-id0022.1610  # KSZ9021
+              - ethernet-phy-id0022.1611  # KSZ9021RLRN
+              - ethernet-phy-id0022.1620  # KSZ9031
+              - ethernet-phy-id0022.1631  # KSZ9477
+              - ethernet-phy-id0022.1640  # KSZ9131
+              - ethernet-phy-id0022.1650  # LAN8841
+              - ethernet-phy-id0022.1660  # LAN8814
+              - ethernet-phy-id0022.1670  # LAN8804
 
   micrel,force-master:
     type: boolean
-- 
2.43.0


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ