Thread (26 messages) 26 messages, 5 authors, 2025-03-31

Re: [PATCH v2 1/4] dt-bindings: net: Add MTIP L2 switch description

From: Krzysztof Kozlowski <krzk@kernel.org>
Date: 2025-03-30 09:47:44
Also in: imx, linux-arm-kernel, linux-devicetree, lkml

On 29/03/2025 23:10, Lukasz Majewski wrote:
quoted
quoted
+  
If this is ethernet switch, why it does not reference ethernet-switch
schema? or dsa.yaml or dsa/ethernet-ports? I am not sure which one
should go here, but surprising to see none.
It uses:
$ref:·ethernet-controller.yaml#

for "ports".

Other crucial node is "mdio", which references $ref: mdio.yaml#
These are children, I am speaking about this device node.
quoted
quoted
+properties:
+  compatible:
+    const: nxp,imx287-mtip--switch  
Just one -.
Ok.
quoted
quoted
+
+  reg:
+    maxItems: 1
+    description:
+      The physical base address and size of the MTIP L2 SW module
IO range  
Wasn't here, drop.
The 'reg' property (reg = <0x800f0000 0x20000>;) is defined in
imx28.dtsi, where the SoC generic properties (as suggested by Andrew -
like clocks, interrupts, clock-names) are moved.
Drop description, not the reg. Reg was in the previous version. You
added random changes here, not coming from the previous review.

Best regards,
Krzysztof
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help