[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <800001ff-7fb6-46ad-b4a0-9b7b4a6ba977@quicinc.com>
Date: Fri, 10 Jan 2025 23:47:49 +0800
From: Jie Luo <quic_luoj@...cinc.com>
To: Krzysztof Kozlowski <krzk@...nel.org>
CC: 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>, Lei Wei <quic_leiwei@...cinc.com>,
Suruchi Agarwal
<quic_suruchia@...cinc.com>,
Pavithra R <quic_pavir@...cinc.com>,
"Simon
Horman" <horms@...nel.org>, Jonathan Corbet <corbet@....net>,
Kees Cook
<kees@...nel.org>,
"Gustavo A. R. Silva" <gustavoars@...nel.org>,
"Philipp
Zabel" <p.zabel@...gutronix.de>,
<linux-arm-msm@...r.kernel.org>, <netdev@...r.kernel.org>,
<devicetree@...r.kernel.org>, <linux-kernel@...r.kernel.org>,
<linux-doc@...r.kernel.org>, <linux-hardening@...r.kernel.org>,
<quic_kkumarcs@...cinc.com>, <quic_linchen@...cinc.com>,
<srinivas.kandagatla@...aro.org>, <bartosz.golaszewski@...aro.org>,
<john@...ozen.org>
Subject: Re: [PATCH net-next v2 01/14] dt-bindings: net: Add PPE for Qualcomm
IPQ9574 SoC
On 1/9/2025 5:15 PM, Krzysztof Kozlowski wrote:
> On Wed, Jan 08, 2025 at 09:47:08PM +0800, Luo Jie wrote:
>> + required:
>> + - clocks
>> + - clock-names
>> + - resets
>> + - interrupts
>> + - interrupt-names
>> +
>> + ethernet-ports:
>
> This device really looks like DSA or other ethernet switch, so I would
> really expect proper $ref in top-level.
Sure, agree that the PPE is better modeled as an Ethernet switch. I will
add and use the $ref ethernet-switch.yaml in the top-level.
>
>> + type: object
>> + additionalProperties: false
>> + properties:
>> + '#address-cells':
>> + const: 1
>> + '#size-cells':
>> + const: 0
>> +
>> + patternProperties:
>> + "^port@[1-6]$":
>> + type: object
>> + $ref: ethernet-controller.yaml#
>
> Everything here is duplicating DSA or ethernet-switch, so that's
> surprising.
I will remove the current 'ethernet-ports' node and the "$ref: ethernet-
controller.yaml#" from the port node. As the top-level $ref, will use
ethernet-switch.yaml instead.
The PPE Ethernet port node requires the additional DT properties clocks
and resets, which will be added into the switch port node. Thanks.
>
>> + unevaluatedProperties: false
>> + description:
>> + PPE port that includes the MAC used to connect the external
>> + switch or PHY via the PCS.
>
> Best regards,
> Krzysztof
>
Powered by blists - more mailing lists