Thread (26 messages) 26 messages, 4 authors, 2024-03-05
STALE852d

[PATCH net-next v6 05/11] dt-bindings: net: hisi-femac: remove core specific versioning

From: Yang Xiwen via B4 Relay <devnull+forbidden405.outlook.com@kernel.org>
Date: 2024-02-28 09:02:27
Also in: b4-sent, linux-devicetree, lkml
Subsystem: networking drivers, open firmware and flattened device tree bindings, the rest · Maintainers: Andrew Lunn, "David S. Miller", Eric Dumazet, Jakub Kicinski, Paolo Abeni, Rob Herring, Krzysztof Kozlowski, Conor Dooley, Linus Torvalds

From: Yang Xiwen <redacted>

The version numbers are not documented publicly. The version also does
not change programming interface. Remove it until it's really needed.

Signed-off-by: Yang Xiwen <redacted>
---
 Documentation/devicetree/bindings/net/hisilicon,hisi-femac.yaml | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/Documentation/devicetree/bindings/net/hisilicon,hisi-femac.yaml b/Documentation/devicetree/bindings/net/hisilicon,hisi-femac.yaml
index 016e9e409a30..be8e34b48243 100644
--- a/Documentation/devicetree/bindings/net/hisilicon,hisi-femac.yaml
+++ b/Documentation/devicetree/bindings/net/hisilicon,hisi-femac.yaml
@@ -17,9 +17,7 @@ properties:
     items:
       - enum:
           - hisilicon,hi3516cv300-femac
-      - enum:
-          - hisilicon,hisi-femac-v1
-          - hisilicon,hisi-femac-v2
+      - const: hisilicon,hisi-femac
 
   reg:
     items:
@@ -69,7 +67,7 @@ unevaluatedProperties: false
 examples:
   - |
     ethernet@10090000 {
-        compatible = "hisilicon,hi3516cv300-femac", "hisilicon,hisi-femac-v2";
+        compatible = "hisilicon,hi3516cv300-femac", "hisilicon,hisi-femac";
         reg = <0x10090000 0x1000>, <0x10091300 0x200>;
         interrupts = <12>;
         clocks = <&clk_femac>;
-- 
2.43.0
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help